https://github.com/eginez/gosoundtransit
desktop notifications for gosoundstransit
https://github.com/eginez/gosoundtransit
go onebusaway seattle soundtransit
Last synced: 3 months ago
JSON representation
desktop notifications for gosoundstransit
- Host: GitHub
- URL: https://github.com/eginez/gosoundtransit
- Owner: eginez
- Created: 2017-06-30T15:09:55.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-14T02:52:43.000Z (almost 8 years ago)
- Last Synced: 2025-01-23T06:45:47.139Z (5 months ago)
- Topics: go, onebusaway, seattle, soundtransit
- Language: Go
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GoSoundTransit
A simple go program that looks that monitors buses at stops. It uses notifications when it finds buses that match the criteria. It monitors for 1 hour starting at a given time of the day.## How to install it
```bash
go build && mv gosoundtransit GoSoundTransit.app/Contents/MacOS/
```## How to run it
```bash
make install-launchdfile
```
## Example of a configuration file
```json
{
"pudgetSoundApiKey":"",
"stopsToMonitor":[
{
"stopId":"1_682",
"name": "4th and University",
"routes":["1_100190", "1_100270"]
},
{
"stopId":"1_1190",
"name": "6th and Pike",
"routes":["1_100190", "1_100270"]
}],
"frequencyToMonitor": 5,
"monitorDuration": 60,
"startMonitoringHour": 21,
"startMonitoringMinute": 0
}
```