{"id":38916643,"url":"https://github.com/cobanov/notification-relay","last_synced_at":"2026-01-17T15:27:53.937Z","repository":{"id":328329385,"uuid":"1115124890","full_name":"cobanov/notification-relay","owner":"cobanov","description":"FastAPI server to receive and store notifications from mobile devices.","archived":false,"fork":false,"pushed_at":"2026-01-02T09:02:39.000Z","size":95,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-05T01:22:32.611Z","etag":null,"topics":["fastapi","notifications","postgresql"],"latest_commit_sha":null,"homepage":"","language":"Python","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/cobanov.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-12T11:28:06.000Z","updated_at":"2026-01-02T09:02:42.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/cobanov/notification-relay","commit_stats":null,"previous_names":["cobanov/notification-relay"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cobanov/notification-relay","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cobanov%2Fnotification-relay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cobanov%2Fnotification-relay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cobanov%2Fnotification-relay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cobanov%2Fnotification-relay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cobanov","download_url":"https://codeload.github.com/cobanov/notification-relay/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cobanov%2Fnotification-relay/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28511480,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"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","notifications","postgresql"],"created_at":"2026-01-17T15:27:53.514Z","updated_at":"2026-01-17T15:27:53.926Z","avatar_url":"https://github.com/cobanov.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Notification Relay\n\nFastAPI server to receive and store notifications from mobile devices.\n\n## Quick Start\n\n```bash\ndocker-compose up -d\n```\n\n**Access:**\n- API: `http://localhost:4141`\n- Database: `localhost:4142`\n\n## Configuration\n\nCreate `.env`:\n\n```env\n# Database\nPOSTGRES_USER=postgres\nPOSTGRES_PASSWORD=your_password\nPOSTGRES_DB=notifications\n\n# API\nAPI_KEY=your-secret-key\n\n# Optional\nDEBUG=false\nLOG_LEVEL=INFO\n```\n\n## API Usage\n\n**Create Notification**\n\n```bash\ncurl -X POST http://localhost:4141/notifications \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: your-secret-key\" \\\n  -d '{\n    \"app_name\": \"WhatsApp\",\n    \"title\": \"New Message\",\n    \"text\": \"Hello!\"\n  }'\n```\n\n**Health Check**\n\n```bash\ncurl http://localhost:4141/health\n```\n\n## Development\n\n```bash\n# Install\nuv sync\n\n# Run\nuv run uvicorn app.main:app --reload --port 8000\n\n# View logs\ndocker-compose logs -f api\n```\n\n## Features\n\n- Async PostgreSQL with SQLAlchemy\n- API key authentication\n- Automatic JSON sanitization for mobile apps\n- Structured logging\n- Health checks\n- Docker optimized with uv\n\n## Stack\n\nFastAPI · PostgreSQL · SQLAlchemy · Docker · uv\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcobanov%2Fnotification-relay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcobanov%2Fnotification-relay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcobanov%2Fnotification-relay/lists"}