{"id":25917130,"url":"https://github.com/trflorian/realtimedb-local-server","last_synced_at":"2026-02-23T14:03:20.766Z","repository":{"id":279368859,"uuid":"853041939","full_name":"trflorian/realtimedb-local-server","owner":"trflorian","description":"A tiny web server using Python and FastAPI to wrap part of the REST API of Firebase Realtime DB.","archived":false,"fork":false,"pushed_at":"2025-04-20T11:48:25.000Z","size":34,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-20T12:10:52.306Z","etag":null,"topics":["fastapi","firebase","python","realtime-database"],"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/trflorian.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":"2024-09-05T22:05:19.000Z","updated_at":"2025-04-20T11:48:28.000Z","dependencies_parsed_at":"2025-02-25T08:24:35.226Z","dependency_job_id":"8bd7bc51-b0cd-4f97-bbf1-7a656560f964","html_url":"https://github.com/trflorian/realtimedb-local-server","commit_stats":null,"previous_names":["trflorian/realtimedb-local-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/trflorian/realtimedb-local-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trflorian%2Frealtimedb-local-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trflorian%2Frealtimedb-local-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trflorian%2Frealtimedb-local-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trflorian%2Frealtimedb-local-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trflorian","download_url":"https://codeload.github.com/trflorian/realtimedb-local-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trflorian%2Frealtimedb-local-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29745111,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T07:44:07.782Z","status":"ssl_error","status_checked_at":"2026-02-23T07:44:07.432Z","response_time":90,"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":["fastapi","firebase","python","realtime-database"],"created_at":"2025-03-03T13:19:56.285Z","updated_at":"2026-02-23T14:03:20.753Z","avatar_url":"https://github.com/trflorian.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Realtime DB Local Server\n\n![Python](https://img.shields.io/badge/python-3.13-blue.svg)\n![GitHub License](https://img.shields.io/github/license/trflorian/ball-tracking-live-plot?style=flat)\n\nA tiny web server to manage player data and transmit real-time updates via Server-Sent Events (SSE).\nAll endpoints operate under the `/players` path.\n\nThis project is part of the multiplayer firebase project:\nhttps://github.com/trflorian/multiplayer-firebase\n\n## API Overview\n\n**Endpoints:**\n\n* **`GET /players.json`**\n    * **Purpose:** Stream real-time updates of the *entire* player list via Server-Sent Events (SSE).\n    * **Behavior:** Periodically pushes the full player dataset to connected clients.\n\n* **`PUT /players/{player_id}.json`**\n    * **Purpose:** Create a new player or update an existing player's data.\n    * **Identifies Player By:** `player_id` in the URL path.\n    * **Requires:** Player data matching the `Player` model in the request body.\n\n* **`DELETE /players/{player_id}.json`**\n    * **Purpose:** Delete a specific player.\n    * **Identifies Player By:** `player_id` in the URL path.\n\n## Quickstart\n\nRun the project locally in develop mode using uv. This will automatically create a virtual environment for you and install the required packages.\n\n```bash\nuv run fastapi dev\n```\n\nFor detailed specifications, schemas, and interactive testing, you can refer to the auto-generated documentation at the `/docs` path when you run the server locally.\n\n## Testing\n\nThe project contains some basic unit tests and a simple test for some API endpoints. \nTo run the test suite, use the following command:\n\n```bash\nuv run pytest\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrflorian%2Frealtimedb-local-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrflorian%2Frealtimedb-local-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrflorian%2Frealtimedb-local-server/lists"}