{"id":21965686,"url":"https://github.com/styts/nextbus","last_synced_at":"2025-06-26T05:03:47.317Z","repository":{"id":147302295,"uuid":"74464317","full_name":"styts/nextbus","owner":"styts","description":"When does the next bus leave from/to Seestadt Vienna? SPA with ClojureScript/Reagent. https://seestadt.cc/bus/","archived":false,"fork":false,"pushed_at":"2017-02-16T13:01:39.000Z","size":224,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-26T05:03:46.016Z","etag":null,"topics":["austria","seestadt-vienna","transport","vienna"],"latest_commit_sha":null,"homepage":"","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/styts.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-22T11:06:47.000Z","updated_at":"2023-07-02T20:03:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"63a4e625-d8eb-4906-a79b-2fba2450d03e","html_url":"https://github.com/styts/nextbus","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/styts/nextbus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/styts%2Fnextbus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/styts%2Fnextbus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/styts%2Fnextbus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/styts%2Fnextbus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/styts","download_url":"https://codeload.github.com/styts/nextbus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/styts%2Fnextbus/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262003966,"owners_count":23243350,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["austria","seestadt-vienna","transport","vienna"],"created_at":"2024-11-29T12:50:08.060Z","updated_at":"2025-06-26T05:03:47.290Z","avatar_url":"https://github.com/styts.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Seestadt Vienna public transport departures\n\n![Screenshot](public/screenshot.png?raw=true)\n\nI made this to solve the need to know when exactly the next bus departs from\nSeestadt, as well as to practice making a SPA with ClojureScript and Reagent.\n\nThe only server-side component is a cronjob that runs once per minute querying\nthe WienerLininen API and writes the result to `data.json` in the public\nfolder.\n\n## Installation\n\nIf you don't have Leiningen installed, just use your system's package manager\nto install it, e.g. on OSX:\n\n    brew install leiningen\n\nRun the dev server\n\n    lein figwheel\n\nServe statics:\n\n    cd public \u0026\u0026 python -m SimpleHTTPServer\n\nNow you can open [http://localhost:8000/](http://localhost:8000/) in your browser.\n\nIf you want to edit styles, watch the sass stylesheets:\n\n    fswatch -o sass/ | xargs -n1 -I{} sassc sass/app.scss public/css/site.css\n\nYou should now be able to edit the files and see the changes reloaded in the\nbrowser on-the-fly.\n\n## Cronjob\n\nEdit the crontab:\n\n    crontab -e\n\nAnd add a minutely cronjob:\n\n    * * * * * /path/to/nextbus/scripts/cron.sh\n\nYou need to edit `cron.sh` to supply a WienerLininen API key that can be\nrequested through [this form](https://www.wien.gv.at/formularserver2/user/formular.aspx?pid=3b49a23de1ff43efbc45ae85faee31db\u0026pn=B0718725a79fb40f4bb4b7e0d2d49f1d1).\nThey have responded with the key on the next workday in my case.\n\n## RBLs (line/direction IDs)\n\n    JKG\n    3360\n    3362 -\u003e Asp *\n\n    HAP (to See)\n    3359\n    3363\n\n    ASP (both)\n    8682 84a\n    4251 u2\n\n    SEE (both)\n    4277 u2\n    3365 84a\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstyts%2Fnextbus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstyts%2Fnextbus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstyts%2Fnextbus/lists"}