You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
4 months ago | |
---|---|---|
static | 4 months ago | |
.gitignore | 5 months ago | |
config.go | 4 months ago | |
go.mod | 4 months ago | |
go.sum | 4 months ago | |
main.go | 4 months ago | |
nextrip.go | 4 months ago | |
readme.md | 4 months ago | |
sass.sh | 4 months ago | |
screenshot.png | 4 months ago | |
startKiosk.sh | 4 months ago | |
style.scss | 4 months ago |
readme.md
----------------------------------------------------
/` '\
\ __ __ /
.-----.--------.-----|__| |--.--.--.-----.
| _ | | | | _ | | |__ --|
|_____|__|__|__|__|__|__|_____|_____|_____|
====================================================
lil go webserver that shows ETAs for Metro Transit stops
usage
- download this repo.
- edit
config.go
with your desired values. - build it with
go build
. - run the
omnibus
binary. you can view the page at http://localhost:8080.
ok but why?
we're going to put this on a display in the window of layer zero so that people leaving or just passing by can see when their bus or train will be there.
what's it look like?
features
- highly configurable
- switches between light and dark theme depending on the sun's position
- statically linked binary contains everything* it needs to run, including site files
- ideal for SBCs in digital signage / kiosk mode
- a bit overengineered but still smol :3
*figuring out how to display it is up to you