{"id":19544821,"url":"https://github.com/drewalth/rube-go-berg","last_synced_at":"2026-05-15T04:32:50.027Z","repository":{"id":156929539,"uuid":"442926558","full_name":"drewalth/rube-go-berg","owner":"drewalth","description":null,"archived":false,"fork":false,"pushed_at":"2021-12-30T02:18:48.000Z","size":6079,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-26T05:42:20.387Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drewalth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2021-12-30T00:41:06.000Z","updated_at":"2021-12-30T02:18:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"6f610be6-db8e-4e5b-95d0-97bf1504271f","html_url":"https://github.com/drewalth/rube-go-berg","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/drewalth/rube-go-berg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewalth%2Frube-go-berg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewalth%2Frube-go-berg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewalth%2Frube-go-berg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewalth%2Frube-go-berg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drewalth","download_url":"https://codeload.github.com/drewalth/rube-go-berg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewalth%2Frube-go-berg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33053765,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-15T02:00:06.351Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-11T03:32:13.647Z","updated_at":"2026-05-15T04:32:49.990Z","avatar_url":"https://github.com/drewalth.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rube-go-berg\n\nA small [Rube Goldberg machine](https://en.wikipedia.org/wiki/Rube_Goldberg_machine) to get acquainted with Go, experiment with GitHub Webhooks and play with a neglected Raspberry Pi. The idea is to show some sort of indicator, in addition to the small red 'x' in the Github UI, when an app's build fails.\n\nI'm using a raspberry pi and an awful-sounding buzzer.\n\n![Image](./public/pi.png)\n\n## Requirements\n\n- Raspberry Pi\n- Some sort of Buzzer or LED module for Pi\n- GPIO breadboard, circuit, or some other means of connecting module\n- Golang\n- Text Editor\n- Some sort of CI pipeline/workflow. I'm using Travis CI.\n\n## Getting Started\n\n- Clone the project\n- Install dependencies\n\n```bash\ngo get ./...\n```\n\n- Update variables.\n\n```go\n// L46-47\nusername := \"drewalth\"             // change to whatever GitHub username\nbuildErrorTitle := \"Build Errored\" // change to what your CI titles failed builds\n```\n\n- Build circuit with module of choice, and update GPIO Pin if needed.\n\n```go\n// L31\npin := rpio.Pin(17)\n```\n\n- Upload project files to Pi\n- Install Go on Pi\n\n```bash\nsudo apt-get install golang\n```\n\n- Install dependencies\n\n```bash\ngo get ./...\n```\n\n- Run\n\n```go\ngo run main.go\n```\n\n- Setup [GitHub Webhook](https://docs.github.com/en/developers/webhooks-and-events/webhooks/about-webhooks)\n  - Select `check_run`\n  - Point to `\u003cmy_ip_address\u003e:5000/check-run`\n  - Note. Chances are you will need to do some port forwarding on your router to reach the Pi.\n\n## Notes\n\n- You could do all the cloning/editing directly on the Pi if you want to. Just need to install Git and do editing with vim or nano.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrewalth%2Frube-go-berg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrewalth%2Frube-go-berg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrewalth%2Frube-go-berg/lists"}