{"id":48800324,"url":"https://github.com/simovilab/databus","last_synced_at":"2026-04-14T01:32:44.211Z","repository":{"id":213174588,"uuid":"728916007","full_name":"simovilab/databus","owner":"simovilab","description":"Core GTFS server implementing Schedule and Realtime specifications for comprehensive transit data management with RESTful APIs","archived":false,"fork":false,"pushed_at":"2026-04-08T18:48:21.000Z","size":5506,"stargazers_count":99,"open_issues_count":18,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-08T20:21:54.217Z","etag":null,"topics":["api","celery","django","gtfs"],"latest_commit_sha":null,"homepage":"http://databus.bucr.digital/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simovilab.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":"AGENTS.md","dco":null,"cla":null}},"created_at":"2023-12-08T01:25:31.000Z","updated_at":"2026-04-08T18:28:24.000Z","dependencies_parsed_at":"2026-03-21T11:02:07.620Z","dependency_job_id":null,"html_url":"https://github.com/simovilab/databus","commit_stats":null,"previous_names":["fabianabarca/gtfs-realtime","fabianabarca/realtime","simovilab/databus"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/simovilab/databus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simovilab%2Fdatabus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simovilab%2Fdatabus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simovilab%2Fdatabus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simovilab%2Fdatabus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simovilab","download_url":"https://codeload.github.com/simovilab/databus/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simovilab%2Fdatabus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31778580,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T00:11:49.126Z","status":"ssl_error","status_checked_at":"2026-04-14T00:10:29.837Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["api","celery","django","gtfs"],"created_at":"2026-04-14T01:32:43.584Z","updated_at":"2026-04-14T01:32:44.193Z","avatar_url":"https://github.com/simovilab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg width=\"250\" alt=\"databus\" src=\"https://github.com/user-attachments/assets/b2ad45ac-83e5-44cf-a93e-898868763530\" /\u003e\n\n# Databús\n\n![Static Badge](https://img.shields.io/badge/web_framework-Django-white?logo=django)\n![Static Badge](https://img.shields.io/badge/package_manager-uv-white?logo=uv)\n\nCore backend server implementing GTFS Schedule and GTFS Realtime specifications for comprehensive transit data management. Provides RESTful API endpoints for static schedule data (routes, stops, trips) and real-time vehicle information (positions, alerts, service updates) with PostgreSQL/PostGIS storage and real-time data validation.\n\n## ✨ Features\n\n- 🚌 **GTFS Schedule \u0026 Realtime Support** - Full implementation of GTFS specifications\n- 🌐 **RESTful API** - Comprehensive endpoints for transit data access\n- 📊 **Real-time Data Processing** - Live vehicle positions, alerts, and service updates\n- 🗺️ **Geospatial Support** - PostgreSQL/PostGIS for location-based queries\n- 🔄 **Background Processing** - Celery integration for data validation and updates\n- 🏢 **Multi-tenant Architecture** - Support for multiple transit agencies\n\n## 🚀 Getting Started\n\n### Prerequisites\n\n- Python 3.11+\n- Redis server\n- PostgreSQL 12+ with PostGIS extension\n- Git\n\n### Installation\n\n1. **Clone the repository**\n\n   ```bash\n   git clone https://github.com/simovilab/databus.git\n   cd databus\n   ```\n\n2. **Set up virtual environment** (recommended)\n\n   ```bash\n   python -m venv venv\n   source venv/bin/activate  # On Windows: venv\\Scripts\\activate\n   ```\n\n3. **Install dependencies**\n\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n4. **Configure environment**\n\n   ```bash\n   cp .env.example .env  # Create and edit your environment variables\n   ```\n\n5. **Set up database**\n   ```bash\n   python manage.py migrate\n   python manage.py createsuperuser  # Optional: create admin user\n   ```\n\n### Running the Application\n\n1. **Start Redis server** (in separate terminal)\n\n   ```bash\n   redis-server\n   ```\n\n2. **Start Celery worker** (in separate terminal)\n\n   ```bash\n   celery -A realtime worker -l info\n   ```\n\n3. **Start Django development server**\n   ```bash\n   python manage.py runserver\n   ```\n\nThe application will be available at `http://localhost:8000`\n\n## 🚀 Usage\n\n| Endpoint            | Description                                    |\n| ------------------- | ---------------------------------------------- |\n| `/api/`             | REST API root - browse all available endpoints |\n| `/api/docs/`        | Interactive API documentation (ReDoc)          |\n| `/api/docs/schema/` | OpenAPI schema                                 |\n| `/admin/`           | Django admin interface                         |\n| `/feed/`            | GTFS feed endpoints                            |\n\n## 📚 Documentation\n\n- **[HOWTO.md](HOWTO.md)** - Complete guide for setting up a development environment with Docker\n- **[docs/development.md](docs/development.md)** - Functional development notes and data specifications (Spanish)\n- **[docs/deployment.md](docs/deployment.md)** - Production deployment with Celery and systemd\n- **[docs/api.md](docs/api.md)** - API specification and data formats\n- **[docs/obe.md](docs/obe.md)** - On-board equipment specifications\n- **[WARP.md](WARP.md)** - Development guidance for Warp terminal users\n\nFor the full documentation site, run `mkdocs serve` and visit http://localhost:8000\n\n## 🛣️ Roadmap\n\nWhere is this going? Check SIMOVI's [roadmap](https://github.com/simovilab/context/blob/main/roadmap.md).\n\n## 🤝 Contributing\n\nHelp is welcome! See the [guidelines](https://github.com/simovilab/.github/blob/main/CONTRIBUTING.md).\n\n## 📞 Contact\n\n- Email: simovi@ucr.ac.cr\n- Website: [simovi.org](https://simovi.org)\n\n## 📄 License\n\nApache 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimovilab%2Fdatabus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimovilab%2Fdatabus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimovilab%2Fdatabus/lists"}