{"id":48620889,"url":"https://github.com/catenarytransit/enroute","last_synced_at":"2026-04-09T03:35:55.029Z","repository":{"id":329803457,"uuid":"1120696864","full_name":"catenarytransit/enroute","owner":"catenarytransit","description":null,"archived":false,"fork":false,"pushed_at":"2026-01-17T03:25:19.000Z","size":63335,"stargazers_count":0,"open_issues_count":2,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-17T15:20:04.398Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/catenarytransit.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},"funding":{"open_collective":"catenarymaps"}},"created_at":"2025-12-21T18:54:45.000Z","updated_at":"2026-01-17T03:25:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"d2323665-88fc-4a10-be3b-a52ab736c0d5","html_url":"https://github.com/catenarytransit/enroute","commit_stats":null,"previous_names":["catenarytransit/enroute"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/catenarytransit/enroute","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catenarytransit%2Fenroute","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catenarytransit%2Fenroute/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catenarytransit%2Fenroute/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catenarytransit%2Fenroute/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/catenarytransit","download_url":"https://codeload.github.com/catenarytransit/enroute/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catenarytransit%2Fenroute/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31584808,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"online","status_checked_at":"2026-04-09T02:00:06.848Z","response_time":112,"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":[],"created_at":"2026-04-09T03:35:54.965Z","updated_at":"2026-04-09T03:35:55.019Z","avatar_url":"https://github.com/catenarytransit.png","language":"TypeScript","funding_links":["https://opencollective.com/catenarymaps"],"categories":[],"sub_categories":[],"readme":"# Catenary Enroute\n\n**Catenary Enroute** is a flexible, high-performance transit signage and onboard information system. Designed to adapt to various transit environments, it provides real-time arrivals, journey progress, and accessibility features with a customizable and modern aesthetic. Built to be extended and tailored to meet the unique needs of riders and transit agencies.\n\n## ✨ Key Features\n\n- 🚆 **Enroute View**: Real-time onboard display showing journey progress, next stops, and a dynamic vertical timeline.\n- 🚉 **Station View**: Customizable landing page for specific stops, highlighting upcoming arrivals and line-specific branding.\n- 📍 **Nearby Departures**: Intelligent discovery of transit options based on current location or manual overrides.\n- 🎨 **Dynamic Design System**: Fully themeable with primary/secondary colours, supporting both landscape and portrait orientations.\n- 🔊 **Integrated Enunciator**: Professional audio announcements and visual captions for enhanced accessibility.\n- ⚙️ **Advanced Configuration**: On-the-fly customisation of location, routes, and time formats through an intuitive modal.\n- 🔧 **Extensibility**: Modular architecture to support custom integrations, agency-specific branding, and unique rider needs.\n\n## 🚀 Getting Started\n\n### Prerequisites\n\n- [Node.js](https://nodejs.org/) (v18+)\n- [pnpm](https://pnpm.io/)\n\n### Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/catenarymaps/enroute-screen.git\n   cd enroute-screen\n   ```\n\n2. Install dependencies:\n   ```bash\n   pnpm install\n   pnpm approve-builds # approve esbuild and sharp\n   ```\n\n3. Start the development server:\n   ```bash\n   pnpm dev\n   ```\n\n4. Open [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\n5. Press `c` to open the configuration modal.\n\n## 🛠️ Tech Stack\n\n- **Framework**: [Astro](https://astro.build/)\n- **Styling**: [Tailwind CSS](https://tailwindcss.com/)\n- **Data Engine**: Customizable and extensible to integrate with various APIs.\n  - **Stop Departures**: `https://birchdeparturesfromstop.catenarymaps.org/departures_at_stop`\n    - Parameters: `stop_id`, `chateau_id`, `greater_than_time`, `less_than_time`, `include_shapes`\n  - **Trip Information**: `https://birch.catenarymaps.org/get_trip_information`\n    - Parameters: `chateau`, `trip_id`\n\n## 📁 Project Structure\n\n- `src/pages/index.astro`: The home view showing nearby departures.\n- `src/pages/station.astro`: Detailed view for a single transit stop.\n- `src/pages/enroute.astro`: The primary onboard \"next stop\" information screen.\n- `src/components/display`: Contains React components for various display modes, such as onboard displays, station information, and nearby departures. Includes templates for creating new display components.\n- `src/components/pane`: Contains modular UI elements (panes) like alerts, weather, and train departures. Each pane is dynamically loaded and configurable.\n- `src/components/PaneEditorModal.tsx`: The global preferences and system personalization dashboard.\n- `src/utils/DynamicLoader.ts`: Dynamically loads panes and displays at runtime, supports metadata-driven configuration, and optimizes performance with caching.\n- `src/utils/EnrouteManager.ts`: Core logic for managing enroute displays and data synchronization.\n\n## 📐 Architecture\n\nThe application uses an intelligent multi-mode architecture driven by URL query parameters:\n\n- `/?mode=default`: Nearby discovery mode.\n- `/?mode=station\u0026chateau=...\u0026stop=...`: Station platform mode.\n- `/?mode=enroute\u0026chateau=...\u0026trip=...`: Onboard information mode.\n\nIt relies on `localStorage` for persistent preferences like 24-hour time and custom themes, ensuring a consistent experience across sessions.\n\n---\n\nMade with ❤️ by [Catenary Maps](https://catenarymaps.org).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatenarytransit%2Fenroute","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcatenarytransit%2Fenroute","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatenarytransit%2Fenroute/lists"}