{"id":26129048,"url":"https://github.com/code-jl/supplement-tracker","last_synced_at":"2025-08-01T17:10:50.956Z","repository":{"id":279889611,"uuid":"940320052","full_name":"Code-JL/Supplement-Tracker","owner":"Code-JL","description":"A Python application to track your supplements, their quantities, and calculate cost effectiveness.","archived":false,"fork":false,"pushed_at":"2025-03-01T18:10:42.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-10T19:45:03.968Z","etag":null,"topics":["cost-calculation","dark-mode","dark-theme","file-associations","inventory-management","management-system","pyinstaller","supplement","supplements","tkinter","ttk"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Code-JL.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2025-02-28T01:15:31.000Z","updated_at":"2025-03-01T18:10:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"8ba4ef95-ff87-4a8d-9434-a65b2e3e9511","html_url":"https://github.com/Code-JL/Supplement-Tracker","commit_stats":null,"previous_names":["code-jl/supplement-tracker"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Code-JL/Supplement-Tracker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-JL%2FSupplement-Tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-JL%2FSupplement-Tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-JL%2FSupplement-Tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-JL%2FSupplement-Tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Code-JL","download_url":"https://codeload.github.com/Code-JL/Supplement-Tracker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-JL%2FSupplement-Tracker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268265848,"owners_count":24222526,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cost-calculation","dark-mode","dark-theme","file-associations","inventory-management","management-system","pyinstaller","supplement","supplements","tkinter","ttk"],"created_at":"2025-03-10T19:37:14.385Z","updated_at":"2025-08-01T17:10:50.948Z","avatar_url":"https://github.com/Code-JL.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Supplement Tracker\n\nA Python application to track your supplements, their quantities, and calculate cost effectiveness.\n\n## Features\n\n- Add, edit, and remove supplements\n- Track supplement quantities and daily usage\n- Calculate days remaining for each supplement\n- Search through supplements by name or tags\n- Cost calculator to compare different supplement options\n- Automatic tracking of remaining doses based on daily usage\n- Toggle auto-decrement feature for each supplement\n- Right-click context menu for quick actions\n- Keyboard shortcuts for common operations\n- Visual feedback for supplements with auto-decrement disabled\n- Helpful tooltips for better user experience\n- Save and load data with custom .sup file format\n- Automatic count updates based on time passed since last save and whenever the supplement list is refreshed\n- Windows file association for .sup files\n- Drag and drop support for .sup files\n- Available as both Python script and standalone executable\n\n## Installation\n\n### Option 1: Running from Python (Development)\n\n1. Make sure you have Python 3.x installed\n2. Install the required dependencies:\n```bash\npip install -r requirements.txt\n```\n\n### Option 2: Using the Executable (Recommended for most users)\n\n1. Download the latest SupplementTracker.exe from the releases\n2. Run the executable once with --register to set up file associations:\n```bash\nSupplementTracker.exe --register\n```\n\n### Building the Executable Yourself\n\n1. Install Python 3.x and the requirements:\n```bash\npip install -r requirements.txt\n```\n\n2. Run the build script:\n```bash\npython build.py\n```\n\n3. Find the executable in the 'dist' directory\n4. Run the executable with --register to set up file associations:\n```bash\nSupplementTracker.exe --register\n```\n\n## Usage\n\n### Starting the Program\n\nYou can start the program in several ways:\n1. If using Python: `python main.py`\n   If using executable: Run `SupplementTracker.exe`\n2. Open with a specific file: \n   - Python: `python main.py myfile.sup`\n   - Executable: `SupplementTracker.exe myfile.sup`\n3. Double-click any .sup file (after registering file association)\n4. Drag and drop a .sup file onto the program\n\n### Adding a Supplement\n\n1. Click \"Add Supplement\"\n2. Fill in the required information:\n   - Name: Supplement name\n   - Current Count: Current number of doses\n   - Initial Count: Number of doses when bought\n   - Cost: Price of the supplement\n   - Tags: Comma-separated tags (e.g., \"vitamin, mineral\")\n   - Link: URL to the product (optional)\n   - Daily Dose: Number of doses taken per day\n   - Auto-decrement: Toggle whether the supplement count should automatically decrease daily (checked by default)\n\n### Editing a Supplement\n\nYou can edit a supplement in multiple ways:\n1. Right-click on a supplement and select \"Edit\" from the context menu\n2. Select a supplement and press Enter\n3. Double-click on a supplement\n\nThe edit dialog allows you to modify all supplement properties, including the auto-decrement setting.\n\n### Using Keyboard Shortcuts\n\nThe application supports several keyboard shortcuts for common actions:\n- **Ctrl+S**: Save the current file\n- **Enter**: Edit the selected supplement\n- **Delete**: Remove the selected supplement\n- **Ctrl+A**: Select all supplements\n- **Escape**: Clear selection\n\n### Using the Cost Calculator\n\n1. Click \"Cost Calculator\"\n2. Add options using the \"Add Option\" button\n3. For each option, enter:\n   - Dose Count: Number of doses in the package\n   - Price: Total price of the package\n   - Daily Dose: Number of doses taken per day\n4. Click \"Calculate\" to see cost comparison\n5. Use the \"Remove\" button to remove unwanted options (minimum 2 required)\n\n### Managing Files\n\n- Use \"Save As...\" to save your data to a new .sup file\n- Use \"Load File\" to open an existing .sup file\n- The program automatically tracks the save date and updates counts based on time passed whenever a file is loaded or the supplement list is refreshed\n- When closing, you'll be prompted to save any unsaved changes\n- Press Ctrl+S to quickly save your current file\n\n### Searching\n\nUse the search box to filter supplements by name or tags.\n\n### Visual Indicators\n\nSupplements with auto-decrement disabled are visually distinguished in the list, making it easy to identify which supplements are not automatically decreasing their count.\n\n## Data Storage\n\nThe application saves all supplement data to .sup files (JSON format). These files include:\n- Supplement details (name, count, cost, etc.)\n- Save date for automatic count updates\n- Tags and links\n- Daily dosage information\n- Auto-decrement settings for each supplement\n\nThe program automatically updates supplement counts based on the time passed since the last save when loading a file, but only for supplements that have auto-decrement enabled.\n\n## Backward Compatibility\n\nThe application maintains backward compatibility with older .sup files that don't include the auto-decrement property. When loading such files, all supplements will have auto-decrement enabled by default. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-jl%2Fsupplement-tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode-jl%2Fsupplement-tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-jl%2Fsupplement-tracker/lists"}