A native Lua plugin for KOreader that displays real-time MTA bus arrivals and local weather. Optimized for Kindle e-ink displays.
- Real-time SIRI API: Live bus arrival data with "stops away" tracking.
- Dynamic Weather: Displays outside temperature (°C) in the top-right corner using Open-Meteo.
- Orientation Independent: Works in Portrait and Landscape (uses KOreader's system rotation).
- Auto-Refresh: Updates every 60 seconds.
- Clean UI: Minimalist design focused on readability.
- Customizable: Change stops and API key in
settings/mtastop.lua. - Native KOreader Plugin: No external dependencies. Supports KOreader's built-in rotation and dark mode.
- Secure: API key stored in a separate settings file.
- Copy the
mtastop.kopluginfolder tokoreader/plugins/. - Restart KOreader.
- Access via Tools > MTA Bus Stops.
The API key is required for bus arrivals.
- Run the plugin once to generate the settings file.
- Open
koreader/settings/mtastop.luaon your Kindle. - Edit the file:
return {
["api_key"] = "YOUR_MTA_API_KEY_HERE",
["latitude"] = 40.7128, -- Optional: for weather
["longitude"] = -74.0060, -- Optional: for weather
}Default stops are in main.lua.
- Center Tap: Close/Exit.
- Rotation: Use the system menu in KOreader to change orientation.
- Based on the Digital Clock Plugin.
- Logic ported from the bustime-display Python app.
