{"id":24908554,"url":"https://github.com/vpolikarpov/food-tracker","last_synced_at":"2026-04-17T11:33:41.466Z","repository":{"id":274664710,"uuid":"920650382","full_name":"vpolikarpov/food-tracker","owner":"vpolikarpov","description":"Simple web application to track the food intake","archived":false,"fork":false,"pushed_at":"2025-05-10T10:44:03.000Z","size":177,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-10T11:18:49.611Z","etag":null,"topics":["bootstrap5","flask","python","sqlalchemy"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/vpolikarpov.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}},"created_at":"2025-01-22T14:35:13.000Z","updated_at":"2025-05-10T10:36:11.000Z","dependencies_parsed_at":"2025-03-28T00:37:15.083Z","dependency_job_id":null,"html_url":"https://github.com/vpolikarpov/food-tracker","commit_stats":null,"previous_names":["vpolikarpov/food-tracker"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/vpolikarpov/food-tracker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vpolikarpov%2Ffood-tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vpolikarpov%2Ffood-tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vpolikarpov%2Ffood-tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vpolikarpov%2Ffood-tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vpolikarpov","download_url":"https://codeload.github.com/vpolikarpov/food-tracker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vpolikarpov%2Ffood-tracker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31927971,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T10:35:34.458Z","status":"ssl_error","status_checked_at":"2026-04-17T10:35:09.472Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["bootstrap5","flask","python","sqlalchemy"],"created_at":"2025-02-02T02:20:29.084Z","updated_at":"2026-04-17T11:33:41.441Z","avatar_url":"https://github.com/vpolikarpov.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Food Tracker\n\n![License](https://img.shields.io/badge/license-MIT-blue)\n\n## Overview\n\nFood Tracker is a simple web application designed to help users track the food they eat and monitor their daily nutritional intake. It doesn't limit users to a specific list of foods and allows them to input anything they eat. For extra convenience, users can manage their own food database for easy access to their favorite foods. The application allows editing records at any time, so users can easily plan their meals in advance or make records after the fact. It also allows users to configure templates for typical daily meals, such as breakfast, lunch, and dinner.\n\n## Features\n\n- Track the food you eat\n- Monitor your daily nutritional intake\n- Manage your own food database\n- Track stock and expiration dates of food items (optional)\n- Add short notes to each food item in the database (optional)\n- Configure templates for each daily meal\n\n## Why another food tracker?\n\nThere are many food tracking applications available, but most of them are either too complex or too limited. This application is designed to be simple and easy to use, without requiring users to input detailed information about each food item. It also allows adding any volatile food items without the need to predefine them, while still providing the ability to manage a personal food database for easy access to favorite foods.\n\n## What it does not\n\nIt does not provide any nutritional advice or recommendations. It is up to the user to interpret the data and make informed decisions about their diet.\n\nIt does not provide any meal suggestions or recipes. It is designed for users who already know what they are eating and want to track their intake.\n\nIt does not provide a way to store food item details such as protein, fat, fiber, etc. It is designed to be simple and easy to use, without requiring users to input detailed information about each food item. The application only allows inputting the name, quantity and energy value of the food in kcal and none of these are mandatory.\n\nIt does not provide any user authentication or authorization. It is designed for personal use and does not support multiple users.\n\n## Technologies\n\n- Python\n- Flask\n- SQLAlchemy\n- Bootstrap\n\n## Installation\n\n1. Clone the repository:\n\n   ```sh\n   git clone https://github.com/vpolikarpov/food-tracker.git\n   cd food-tracker\n   ```\n\n1. Create a virtual environment, activate it, and install the dependencies:\n\n   ```sh\n   python3 -m venv venv\n   source venv/bin/activate\n   pip install -r requirements.txt\n   ```\n\n1. Adjust initial data in the `data/` directory if needed.\n   Use `food_categories.csv` to define food categories and\n   `meal_templates.csv` to define what kind of meals you want to track during the day.\n\n1. Set up the environment variables. Make a copy of the `.env.example` file and name it `.env`:\n\n   ```sh\n   cp .env.example .env\n   ```\n\n   Generate a secret key and set the `SECRET_KEY` variable in the `.env` file. You can generate a secret key using the following command:\n\n   ```sh\n   python -c 'import secrets; print(secrets.token_hex())'\n   ```\n\n  Adjust other variables in the `.env` file if needed.\n\n1. Initialize the database:\n\n   ```sh\n   flask --app webapp init-db\n   ```\n\n## Usage\n\n1. Run the application:\n\n   ```sh\n   flask run\n   ```\n\n1. Open your web browser and go to `http://127.0.0.1:5000`.\n\n## Contributing\n\nContributions are welcome! Please open an issue or submit a pull request.\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvpolikarpov%2Ffood-tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvpolikarpov%2Ffood-tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvpolikarpov%2Ffood-tracker/lists"}