{"id":20180540,"url":"https://github.com/vallen217/macro_counter","last_synced_at":"2026-03-09T12:32:31.509Z","repository":{"id":219492994,"uuid":"696578697","full_name":"Vallen217/macro_counter","owner":"Vallen217","description":"A terminal program to track, record, and view macronutritional data.","archived":false,"fork":false,"pushed_at":"2025-02-27T17:37:27.000Z","size":7323,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T01:03:30.182Z","etag":null,"topics":["gnu","gnu-linux","health","linux","macronutrients","rust","terminal-app","tui","unix"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Vallen217.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-26T03:07:12.000Z","updated_at":"2025-02-27T17:37:31.000Z","dependencies_parsed_at":"2024-06-24T04:26:00.224Z","dependency_job_id":"153c1f86-c2c7-4c45-8dcb-f1f64cb24664","html_url":"https://github.com/Vallen217/macro_counter","commit_stats":null,"previous_names":["vallen217/macro_counter"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vallen217%2Fmacro_counter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vallen217%2Fmacro_counter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vallen217%2Fmacro_counter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vallen217%2Fmacro_counter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vallen217","download_url":"https://codeload.github.com/Vallen217/macro_counter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241616682,"owners_count":19991542,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gnu","gnu-linux","health","linux","macronutrients","rust","terminal-app","tui","unix"],"created_at":"2024-11-14T02:31:31.291Z","updated_at":"2026-03-09T12:32:31.442Z","avatar_url":"https://github.com/Vallen217.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Macronutritional Counter\n\n\u003c!--toc:start--\u003e\n\nA simple terminal program to track, record, and view macronutritional vectors.\ni.e. calories, fat, carbohydrates, and protein.\n\n- [Usage](#usage)\n- [Operations](#operations)\n- [Prerequisites](#prerequisites)\n- [Installation](#installation)\n\u003c!--toc:end--\u003e\n\n## Usage\n\n![menu](https://github.com/Vallen217/macro_counter/assets/94763660/f1c6e518-c2f3-4f16-b72b-c892b7787a66)\n\n\nmacro_counter creates directries \u0026 file based on the current date (e.g. `2023/09/27.txt`)\nin the directory `$HOME/Documents/Health/Macronutritional_Intake`.\nWhich are used as the basis to track \u0026 record macro data.\n\n## Operations\n\n### (mf) - Modify file\n\n![mf](https://github.com/Vallen217/macro_counter/assets/94763660/514c9d74-7ca5-4670-9b1f-7a6b230da084)\n\n\n### (dr) - Display the most recent, non-current file\n\n![dr](https://github.com/Vallen217/macro_counter/assets/94763660/5bec74e0-2a75-4cbe-b8ca-9d0feb8725a2)\n\n\n### (dpf) - Display previous files\n\n![dpf](https://github.com/Vallen217/macro_counter/assets/94763660/486fcdc1-88c8-4fcc-bf6a-c1ee3e862f04)\n\n\n### (dpm) - Display previous month's aggregated data\n\n![dpm](https://github.com/Vallen217/macro_counter/assets/94763660/f45365c7-e211-49cf-819f-8857103c2618)\n\n\n### (dp#) - Display aggregated data from the previous # files\n\n![dp#](https://github.com/Vallen217/macro_counter/assets/94763660/0e7226e6-8131-4399-b18c-e5a4a86ed74e)\n\n\n### (df) - Display the current file\n\n![df](https://github.com/Vallen217/macro_counter/assets/94763660/b450a65f-69a5-4dc3-b53d-90322af948f6)\n\n    \n### (dm) - Display the current month's aggregated data\n\n![dm](https://github.com/Vallen217/macro_counter/assets/94763660/d8625776-9970-47f8-8ef7-15e47a486827)\n\n\n## (pd) - Predefined meals\n\n![pd_menu](https://github.com/Vallen217/macro_counter/assets/94763660/93ff6d51-168c-4ac1-9cdc-f7f991d0e4d2)\n\n\n### (cf) - create a new predefined meal file \u0026 (mf) - Modify predefined meal files\n\n![pd_cf_mf](https://github.com/Vallen217/macro_counter/assets/94763660/69ee1999-fd77-4b64-846c-d2fef959c63f)\n\n\n### (rf) - Remove the latest predefined file\n\n![pd_rf](https://github.com/Vallen217/macro_counter/assets/94763660/3bdb99cd-7b85-4ee0-8051-769d850300db)\n\n\n### (m#) - Append predefined meal m# to the current file\n\n![m#](https://github.com/Vallen217/macro_counter/assets/94763660/e62a32b6-14cf-4fc8-a2d6-87a4ed0254d0)\n\n\n## Prerequisites\n\nThe latest stable [Rust](https://ww.rust-lang.org) compiler.\n\n## Installation\n\nDownload the repository with either of the below:\n\n1. `cargo install --git https://github.com/Vallen217/macro_counter`\n\n2. `git clone https://github.com/Vallen217/macro_counter` \\\n   #Note: In this case you'll need to run a simple setup script to run `mctr.sh`\n   without typing out the absolute path every iteration: \\\n   `bash \u003cpath_to_clone\u003e/scripts/mctr_setup.sh `\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvallen217%2Fmacro_counter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvallen217%2Fmacro_counter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvallen217%2Fmacro_counter/lists"}