ckyambitny / tizen-msp-transit-tracker

Live Minneapolis MetroTransit bus data on your Gear S3 watch using Preact

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tizen-msp-transit-tracker

A Preact app running as a Tizen Web Application to track MetroTransit bus geo-location data and schedule for whatever stops you want on your Gear S3 watch. (Currently stops are hardcoded to ones I use with plans to add ability to customize this in the future)

Some project technical goals:

Personal Goals:

  • Stop missing the bus and know when to run to possibly catch the bus

Action Shot

action shot

Doin stuff

  • make sure you have TizenStudio installed (or at least the CLI stuff) with some important stuff in your .(bash|zsh)rc
export PATH="$HOME/tizen-studio/tools:$PATH"
export PATH="$HOME/tizen-studio/tools/ide/bin:$PATH"
export PATH="$HOME/tizen-studio/tools/emulator/bin:$PATH"
# install dependencies
npm install

# serve with hot reload at localhost:8080
# (looks like a pretend watch minus the Tizen APIs but hey you can debug and live reload!)
npm run dev

# build for production with minification
npm run build

# run the tizen emulator (currently hardcoded to my emulator)
npm run emulator

# deploy to a s3 tizen wearable (currently hardcoded to my watches IP on my home network)
npm run s3

About

Live Minneapolis MetroTransit bus data on your Gear S3 watch using Preact

License:MIT License


Languages

Language:JavaScript 71.2%Language:CSS 21.0%Language:Shell 7.8%