{"id":24108163,"url":"https://github.com/matthewaraujo/bottle_watter","last_synced_at":"2025-10-06T03:46:46.669Z","repository":{"id":271814944,"uuid":"914652245","full_name":"MatthewAraujo/bottle_watter","owner":"MatthewAraujo","description":"Water Bottle Progress Tracker is a simple Go app to help you track your daily water intake","archived":false,"fork":false,"pushed_at":"2025-01-18T18:27:19.000Z","size":5392,"stargazers_count":13,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T16:01:37.544Z","etag":null,"topics":["go","golang","terminal"],"latest_commit_sha":null,"homepage":"","language":"Go","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/MatthewAraujo.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":"2025-01-10T03:00:52.000Z","updated_at":"2025-01-18T18:27:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"aa702c2f-d583-43ff-8cd5-2b4297cb78e4","html_url":"https://github.com/MatthewAraujo/bottle_watter","commit_stats":{"total_commits":15,"total_committers":1,"mean_commits":15.0,"dds":0.0,"last_synced_commit":"2c1276346b703ef062e1c480fb3a665abe21ca8c"},"previous_names":["matthewaraujo/bottle_watter"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/MatthewAraujo/bottle_watter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatthewAraujo%2Fbottle_watter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatthewAraujo%2Fbottle_watter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatthewAraujo%2Fbottle_watter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatthewAraujo%2Fbottle_watter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MatthewAraujo","download_url":"https://codeload.github.com/MatthewAraujo/bottle_watter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatthewAraujo%2Fbottle_watter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278556187,"owners_count":26006079,"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-10-06T02:00:05.630Z","response_time":65,"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":["go","golang","terminal"],"created_at":"2025-01-10T23:26:03.152Z","updated_at":"2025-10-06T03:46:46.654Z","avatar_url":"https://github.com/MatthewAraujo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Water Bottle Progress Tracker\n\nThis Go-based application helps you track your daily water intake goal by showing your progress and allowing you to set and update your goal. It saves your progress locally and resets every day.\n\nhttps://github.com/user-attachments/assets/4c91d26c-ccb6-4059-af0f-b104e6cb161a\n\n## Installation\n\nTo install the `bottle_watter` with GO application, follow these steps:\n\n1. Ensure you have [Go installed](https://golang.org/doc/install).\n2. Run the following command to install the package:\n   ```bash\n   go install github.com/MatthewAraujo/bottle_watter@latest\n   ```\nThis installs a go binary that will automatically bind to your $GOPATH\n\n\u003e if you’re using Zsh, you’ll need to add it manually to `~/.zshrc`.\n```bash\nGOPATH=$HOME/go  PATH=$PATH:/usr/local/go/bin:$GOPATH/bin\n```\n\ndon't forget to update\n\n```bash\nsource ~/.zshrc\n```\n\nThe command `bottle_watter` will now be available globally from the terminal.\n\n## Usage\n\nThe application supports a few basic commands to help you track your water intake progress.\n\n### Available Commands\n\n- `--help`: Display this help message with instructions on usage.\n- `set_goal \u003cquantity\u003e`: Set a goal for your daily water intake in the number of bottles.\n- `drink`: Increment your progress by one bottle.\n\n### Examples\n\n1. **Set your goal**:\n   To set a goal of drinking 5 bottles of water per day:\n\n   ```bash\n   bottle_watter set_goal 5\n   ```\n\n2. **Track your progress**:\n   Increment your progress by one bottle:\n\n   ```bash\n   bottle_watter drink\n   ```\n\n3. **Get help**:\n   Display a help message with available commands:\n   ```bash\n   bottle_watter --help\n   ```\n\n### Output\n\nThe program will display a visual representation of your bottle progress, like so:\n\n```bash\nBottle Progress: [████░░░░░]\nYou have drunk 3/5 bottles (60.00% of your goal).\n```\n\n### Notes\n\n- The goal and progress are saved locally in the file `.bottle_watter_progress.json` in your home directory.\n- The progress is reset at the start of each day.\n- If you don’t set a goal, the program will prompt you to set one.\n\n### Disclaimer\n- If this is not working you have to set the GO PATH in you bash ou zshrc\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthewaraujo%2Fbottle_watter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatthewaraujo%2Fbottle_watter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthewaraujo%2Fbottle_watter/lists"}