- Clone the repo
npm i
- Create a
.env
file at the root like:
ENV_ONE_STATUS_URL=http://duckduckgo.com
ENV_TWO_STATUS_URL=http://eff.org
ENV_ONE_NAME=DDG
ENV_TWO_NAME=EFF
TRIMET_APP_ID=(Trimet API Key)
TRIMET_STOP_IDS=8382,7646,10768
OWM_API_KEY=(OpenWeatherMap API key)
OWM_LOCATION=Portland
OWM_UNITS=imperial
EXPRESS_PORT=3456
npm start
Access http://host:3456/outages/EnvironmentName
for JSON and http://host:3456/outages/EnvironmentName/table
for delicious HTML.
You will need to run this in a WSL (Windows Subsystem For Linux) shell or similar, since blessed does not work well in Windows-based shells.
- Refactoring
- Serve views over Telnet
- Hacker News Widget