{"id":18494875,"url":"https://github.com/johnelliott/wb-web","last_synced_at":"2026-04-12T07:38:36.210Z","repository":{"id":73854707,"uuid":"52737733","full_name":"johnelliott/wb-web","owner":"johnelliott","description":"Moved —\u003e https://github.com/johnelliott/waybot","archived":false,"fork":false,"pushed_at":"2016-07-11T17:04:19.000Z","size":14540,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-31T03:27:35.357Z","etag":null,"topics":["arduino","browser","data","iot","raspberry-pi","web"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johnelliott.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-02-28T18:58:30.000Z","updated_at":"2017-04-08T23:16:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"82595137-5243-4440-840a-a59137c80815","html_url":"https://github.com/johnelliott/wb-web","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/johnelliott/wb-web","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnelliott%2Fwb-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnelliott%2Fwb-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnelliott%2Fwb-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnelliott%2Fwb-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnelliott","download_url":"https://codeload.github.com/johnelliott/wb-web/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnelliott%2Fwb-web/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31707953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T06:22:27.080Z","status":"ssl_error","status_checked_at":"2026-04-12T06:21:52.710Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["arduino","browser","data","iot","raspberry-pi","web"],"created_at":"2024-11-06T13:22:34.192Z","updated_at":"2026-04-12T07:38:36.189Z","avatar_url":"https://github.com/johnelliott.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Waybot Web 📈](https://waybot.primitivemachine.com)\n\nA web app to monitor sensor data form [Waybot traffic counter](https://github.com/johnelliott/wb-counter). See it live [here](https://waybot.primitivemachine.com).\n\n### About\nThis app tries to load fast by using small assets, compression and some initial markup and CSS before the react app starts. A service worker caches assets on supported clients.\n\n### System Diagram\n![diagram of waybot system](https://github.com/johnelliott/wb-web/blob/master/2016-system.jpeg \"Waybot system 2016\")\n\n### Origins\nThis app started as a way to experiment with node, websockets and chart libraries running  and ran locally with the counter connecting directly to the server process. Later I re-did most of the code to use PouchDB, redux and react on the client and deployed it to a cloud server. This required a serial-http bridge—[wb-upload](https://github.com/johnelliott/wb-upload)—to bring the data to the server.\n\n## Development\n- CouchDB is required for local development.\n- I used Let's Encrypt for TLS certificates. For local development on mac, add the certificates to the mac keychain app to satisfy the browser security settings—the green lock in the URL bar.\n\nCheck out [faker.sh](https://github.com/johnelliott/wb-web/blob/master/faker.sh) to see what the app might see from a traffic counter. This shows the data the app processes.\n\n## Deployment\nDeploy to a snowflake server with [Waybot deploy](https://github.com/johnelliott/wb-deploy).\n\nimagemagick/graphicsmagick for creating assets -\u003e [image-resizer.sh](https://github.com/johnelliott/wb-web/blob/master/image-resizer.sh)\ngzip for the compression npm scripts\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnelliott%2Fwb-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnelliott%2Fwb-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnelliott%2Fwb-web/lists"}