{"id":42066028,"url":"https://github.com/z0rr0/ggp","last_synced_at":"2026-01-26T08:12:16.997Z","repository":{"id":326663560,"uuid":"1106454380","full_name":"z0rr0/ggp","owner":"z0rr0","description":"Golden Gym Predictor Telegram Bot","archived":false,"fork":false,"pushed_at":"2025-12-24T09:40:54.000Z","size":682,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-25T23:11:42.757Z","etag":null,"topics":["go","gym","telegram"],"latest_commit_sha":null,"homepage":"","language":"Go","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/z0rr0.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-29T09:29:39.000Z","updated_at":"2025-12-24T09:40:28.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/z0rr0/ggp","commit_stats":null,"previous_names":["z0rr0/ggp"],"tags_count":29,"template":false,"template_full_name":null,"purl":"pkg:github/z0rr0/ggp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0rr0%2Fggp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0rr0%2Fggp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0rr0%2Fggp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0rr0%2Fggp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/z0rr0","download_url":"https://codeload.github.com/z0rr0/ggp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0rr0%2Fggp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28770250,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T07:45:00.504Z","status":"ssl_error","status_checked_at":"2026-01-26T07:45:00.070Z","response_time":59,"last_error":"SSL_read: 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":["go","gym","telegram"],"created_at":"2026-01-26T08:12:16.326Z","updated_at":"2026-01-26T08:12:16.990Z","avatar_url":"https://github.com/z0rr0.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GGP - Golden Gym Predictor Telegram Bot\n\n![Go](https://github.com/z0rr0/ggp/workflows/Go/badge.svg)\n![Version](https://img.shields.io/github/tag/z0rr0/ggp.svg)\n![License](https://img.shields.io/github/license/z0rr0/ggp.svg)\n\nA Telegram bot that tracks gym occupancy, predicts future load using statistical analysis, and displays visual charts.\n\n## Features\n\n- Periodic gym load data fetching from external API\n- Load prediction using weighted statistical analysis with holiday awareness\n- Visual charts for half-day, day, and week periods\n- Holiday calendar integration\n- CSV data import support\n- Admin-only features via configuration\n\n![schema](docs/image.png)\n\n## Requirements\n\n- Go 1.25 or later\n- Telegram Bot API token (obtain from [@BotFather](https://t.me/botfather))\n- Gym load data API endpoint\n- Holiday calendar API endpoint (optional)\n\n## Installation\n\n```bash\nmake build\n```\n\nOr manually:\n\n```bash\ngo build -o ggp .\n```\n\n## Configuration\n\nCreate a configuration file based on the example [config.example.toml](config.example.toml)\n\n```bash\ncp config.example.toml config.toml\n```\n\nEdit `config.toml` with your settings.\n\n## Usage\n\n```bash\n./ggp -config config.toml\n```\n\nImport historical data from CSV:\n\n```bash\n./ggp -import data.csv -config config.toml\n```\n\n## Development\n\n```bash\nmake test       # Run tests with race detector\nmake lint       # Run all linters\n```\n\n## Docker\n\n```bash\nmake docker\ndocker-compose up -d\n```\n\n## Dependencies\n\n- [go-telegram/bot](https://github.com/go-telegram/bot) - Telegram Bot API\n- [pelletier/go-toml/v2](https://github.com/pelletier/go-toml) - TOML configuration\n- [modernc.org/sqlite](https://modernc.org/sqlite) - SQLite driver (pure Go)\n- [jmoiron/sqlx](https://github.com/jmoiron/sqlx) - Extensions to database/sql\n- [go-chart/v2](https://github.com/wcharczuk/go-chart) - Chart generation\n\n## License\n\nMIT License - see [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz0rr0%2Fggp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fz0rr0%2Fggp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz0rr0%2Fggp/lists"}