An open API service indexing awesome lists of open source software.

https://github.com/kylejb/nyc-mta-cli

View live arrival times at any MTA subway station from your terminal.
https://github.com/kylejb/nyc-mta-cli

command-line-app mta nyc-subway-data ruby

Last synced: 12 months ago
JSON representation

View live arrival times at any MTA subway station from your terminal.

Awesome Lists containing this project

README

          

# The Commuter

The Commuter is a CLI tool for viewing live arrival times at any NYC MTA subway station.

## Demo

![The Commuter Demo](../assets/demo.gif)

## Installation

### Prerequisites

- Ruby >= 3.3.0
- Command line interface

### Setup

1. `git clone` or manually download the repository.
2. `bundle install` to install dependencies.
3. `rake db:migrate` to initialize a local copy of my database model on your computer.
4. `rake db:seed` to populate your database with NYC MTA subway station information.

> [!IMPORTANT]
> `rake` commands must be executed from the root directory of the project.

### Quickstart

`ruby bin/run.rb` to run the application.