{"id":19454571,"url":"https://github.com/jibby-games/flappy-backend","last_synced_at":"2026-03-08T05:32:02.635Z","repository":{"id":155563332,"uuid":"602647549","full_name":"Jibby-Games/Flappy-Backend","owner":"Jibby-Games","description":"The backend microservices for the open source game Flappy Race","archived":false,"fork":false,"pushed_at":"2025-01-21T22:28:49.000Z","size":36,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-25T05:36:29.066Z","etag":null,"topics":["backend","docker","docker-compose","game","game-development","server","servers","service","services"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/Jibby-Games.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":"2023-02-16T16:47:09.000Z","updated_at":"2025-01-21T22:28:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"bf3fc90b-d862-4940-8838-dcb9362b0bdb","html_url":"https://github.com/Jibby-Games/Flappy-Backend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Jibby-Games/Flappy-Backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jibby-Games%2FFlappy-Backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jibby-Games%2FFlappy-Backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jibby-Games%2FFlappy-Backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jibby-Games%2FFlappy-Backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jibby-Games","download_url":"https://codeload.github.com/Jibby-Games/Flappy-Backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jibby-Games%2FFlappy-Backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30246724,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T00:58:18.660Z","status":"online","status_checked_at":"2026-03-08T02:00:06.215Z","response_time":56,"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":["backend","docker","docker-compose","game","game-development","server","servers","service","services"],"created_at":"2024-11-10T17:10:16.124Z","updated_at":"2026-03-08T05:32:02.626Z","avatar_url":"https://github.com/Jibby-Games.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flappy Backend\nThis repo contains all of the backend server code for the Flappy Race game which includes\nthe main server list (under `./list`) and the server game manager (under `./manager`) as submodules.\n\nThese services can all be run using docker compose for convenience:\n- Server list (to show games on the server browser)\n- Server game manager (to host official game servers)\n- Nginx with certbot (reverse proxy to route connections to services and keeps HTTPS certificates updated automatically)\n- Prometheus + Grafana (display server load and game metrics)\n    - Access the dashboard at `/grafana/` on your server e.g. https://localhost/grafana/\n- Dozzle (docker container log viewer)\n    - View logs at `/dozzle/` on your server e.g. https://localhost/dozzle/\n\n## First Time Setup\n\n1. Copy the `.env.example` file to `.env`:\n   ```bash\n   cp .env.example .env\n   ```\n\n2. Edit `.env` and configure the required values:\n   - `HOST_DOMAIN` - Your website domain\n   - `CERTBOT_EMAIL` - Your email for HTTPS certificate registration\n   - `DOZZLE_ADMIN_PASSWORD` - Password for the Dozzle log viewer\n   - `GRAFANA_ADMIN_PASSWORD` - Password for the Grafana dashboard\n\n   ***Do not commit the .env file!***\n\n3. Run the setup script to initialize the environment:\n   ```bash\n   ./setup.sh\n   ```\n\nThe setup script will validate your configuration and automatically generate the Dozzle credentials file.\n## Development\nEnsure all submodules are cloned and updates using `git pull --recurse-submodules`.\nUse `docker compose up` to build and run the services using the local code in the submodule repos.\n\nTo get HTTPS to work correctly locally add jibby.localhost to your hosts file to point at 127.0.0.1 and add the local CA\nfrom the proxy service container's files (the file to add is `/etc/local_ca/caCert.pem`).\n## Production\nUse the `./start-prod.sh` and `./stop-prod.sh` scripts to start and stop the services on production servers\nwhich includes some extras such as auto restarting containers and pulling docker images from DockerHub with Watchtower to keep them updated.\n\nYou can use `./reload-nginx.sh` to update the nginx config without any downtime.\n\n## Migration\nFiles and directories to copy across:\n- `.env` - All user configuration\n- `proxy/user_conf.d/` - Custom NGINX settings\n\nDocker volumes to copy across:\n- `grafana-data` - Dashboards and configuration\n- `prometheus-data` - (Optional) historical data\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjibby-games%2Fflappy-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjibby-games%2Fflappy-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjibby-games%2Fflappy-backend/lists"}