Maglev
Back
Maglev is a complete rewrite of the OneBusAway REST API server, built in Go. It serves as a modern replacement for transit data APIs, providing access to GTFS static and real-time information with high performance and scalability.
Features
- REST API Endpoints - Comprehensive API for transit data queries
- GTFS Static Feed Support - Configurable data sources for schedule information
- GTFS Real-time Integration - Trip updates, vehicle positions, and service alerts
- SQLite Backend - Lightweight database for data persistence
- API Key Authentication - Built-in authentication and rate limiting
- Flexible Configuration - Command-line flags for simple deployments or JSON files for complex environments
- Live Reloading - Development capability via Air for iterative development
- Type-Safe Database Access - SQL query generation using sqlc
Get Started
View the source code and documentation on GitHub: github.com/OneBusAway/maglev
Apache 2.0
View Source