Skip to content

strudlez/mta_kindle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MTA Kindle Countdown Timer

Uses the MTA App API and goodservice.io to display a station countdown timer and any alerts in a kindle-friendly interface.

Demo

Setup

Populating API KEY

  1. Create an API key at https://api.mta.info
  2. Create a .env file in repo root, with API_KEY="<YOUR_API_KEY>"

Building

  1. Install Rust
  2. Run cargo build --release

Usage

  1. Run ./target/release/mta
  2. Visit http://localhost:8080

Options

Right now the site only supports 1 station and up to 2 line alerts. The default is Bedford Ave (L08), watching the L and 4.

To modify, visit e.g. http://localhost:8080#A32&F. This monitors W 4th St, and the A and F.

The full station list is available from the MTA here.

Turning off Sleep on your Kindle

Visit ~ds in the browser to disable sleep. This also disables manual sleep until you restart the device.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published