{"id":15175511,"url":"https://github.com/primaryobjects/weight-tracker","last_synced_at":"2026-02-15T21:34:52.442Z","repository":{"id":244612226,"uuid":"815752820","full_name":"primaryobjects/weight-tracker","owner":"primaryobjects","description":"Weight tracker web app using the Large Language Model (LLM) Cohere with the EntityFramework, Sqlite, and React.js.","archived":false,"fork":false,"pushed_at":"2024-06-17T20:49:45.000Z","size":603,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-23T08:59:28.861Z","etag":null,"topics":["ai","cohere","csharp","database","dotnet","linq","react","reactjs","sqlite","web"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/primaryobjects.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-06-16T03:36:36.000Z","updated_at":"2025-02-16T09:22:16.000Z","dependencies_parsed_at":"2024-06-16T04:36:03.882Z","dependency_job_id":"aa056b1d-f193-4d20-ace3-5acf3f50fb17","html_url":"https://github.com/primaryobjects/weight-tracker","commit_stats":null,"previous_names":["primaryobjects/weight-tracker"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/primaryobjects/weight-tracker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primaryobjects%2Fweight-tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primaryobjects%2Fweight-tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primaryobjects%2Fweight-tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primaryobjects%2Fweight-tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/primaryobjects","download_url":"https://codeload.github.com/primaryobjects/weight-tracker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primaryobjects%2Fweight-tracker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29490352,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T19:29:10.908Z","status":"ssl_error","status_checked_at":"2026-02-15T19:29:10.419Z","response_time":118,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["ai","cohere","csharp","database","dotnet","linq","react","reactjs","sqlite","web"],"created_at":"2024-09-27T12:39:20.347Z","updated_at":"2026-02-15T21:34:52.425Z","avatar_url":"https://github.com/primaryobjects.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Weight Tracker\n==============\n\nAn intermittent fasting weight tracking app.\n\n## About\n\nWeight Tracker is a simple web application for entering weight records, including date, weight, and notes.\n\nThe app displays a chart of the overall trend in weight change.\n\nThe app also provides an AI analysis of the weight trend using a custom prompt specific to an intermittent fasting weight loss regime.\n\n## Screenshot\n\n![Weight Tracker app](screenshot.png)\n\n## Quick Start\n\nInstall the required libraries in VSCode before running the project.\n\n1. Open a Terminal in VSCode.\n2. `dotnet add package Microsoft.EntityFrameworkCore.Design`\n3. `dotnet add package Microsoft.EntityFrameworkCore.Sqlite`\n4. `dotnet tool install --global dotnet-ef`\n5. Create a file `.env` with the contents:\n    ```\n    CohereApiKey=\u003cYOUR_API_KEY\u003e\n    OpenAIApiKey=\u003cYOUR_API_KEY\u003e\n    ````\n\n*You can register a Cohere API key [here](https://dashboard.cohere.com/api-keys).*\n\n*You can register an OpenAI API key [here](https://platform.openai.com/account/api-keys).*\n\n### Customizing the Analysis\n\nThe smart analysis of the weight trend can be customized through prompt engineering via the textbox provided. Any custom prompt entered is appended onto the standard prompt used by the program when generating an analysis.\n\nExample 1: \"Give the analysis in a fairy tale story format to make it more appealing and happy.\"\n\nExample 2: \"Consider that my height is 5'5\", female, what recommendations would you make for an ideal weight and what vegan foods can I eat to achieve this goal?\"\n\n### Deployment\n\nTo build a deployment for hosting on a web server, use the following steps.\n\n1. In Visual Studio Code, run the **Publish** build step. This performs the following steps automatically:\n    ```\n    cd ClientApp\n    npm run build\n    cd ..\n    dotnet publish -c Release -o ./publish\n    ```\n2. Copy the database files `*.sqlite` into `/publish`.\n3. Copy the `.env` file into `/publish` and add your API key for Cohere.\n4. Run the executable `/pubish/weight_tracker.exe`\n\nThe web application will begin running on port 5000. The executable is a self-contained web server, similar to a node.js application, and may be deployed to a Windows web server or Microsoft Azure.\n\n## Tech Stack\n\n- Visual Studio Code\n- C# .NET 8.0\n- MVC\n- React.js\n- EntityFramework\n- Sqlite\n- LLM Cohere and OpenAI\n\n## License\n\nMIT\n\n## Author\n\nKory Becker http://www.primaryobjects.com/kory-becker\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimaryobjects%2Fweight-tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprimaryobjects%2Fweight-tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimaryobjects%2Fweight-tracker/lists"}