{"id":28297105,"url":"https://github.com/pimuzzo/git-siren","last_synced_at":"2025-10-08T21:54:58.202Z","repository":{"id":50213401,"uuid":"89378717","full_name":"pimuzzo/git-siren","owner":"pimuzzo","description":"The aim of this project is to turn on a REAL beacon light when a new urgent issue is created!","archived":false,"fork":false,"pushed_at":"2022-12-08T01:26:27.000Z","size":31,"stargazers_count":20,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-13T10:48:14.959Z","etag":null,"topics":["beacon-light","git-siren","issues","raspberry-pi","tickets"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pimuzzo.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}},"created_at":"2017-04-25T15:46:37.000Z","updated_at":"2022-11-08T16:04:00.000Z","dependencies_parsed_at":"2023-01-24T03:00:22.154Z","dependency_job_id":null,"html_url":"https://github.com/pimuzzo/git-siren","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pimuzzo/git-siren","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimuzzo%2Fgit-siren","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimuzzo%2Fgit-siren/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimuzzo%2Fgit-siren/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimuzzo%2Fgit-siren/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pimuzzo","download_url":"https://codeload.github.com/pimuzzo/git-siren/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimuzzo%2Fgit-siren/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000689,"owners_count":26082837,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"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":["beacon-light","git-siren","issues","raspberry-pi","tickets"],"created_at":"2025-05-23T00:15:39.796Z","updated_at":"2025-10-08T21:54:58.187Z","avatar_url":"https://github.com/pimuzzo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Git Siren\nThe aim of this project is to turn on a REAL beacon light when a new urgent issue is created on github!\n\n## What do you need:\n- Raspberry Pi\n- Micro USB cable\n- Power converter DC 12V to DC 5V (e.g. http://www.dx.com/p/390976) (~ 3.50€)\n- Power adapter DC 12V (e.g. http://www.dx.com/p/411920) (~ 3.50€)\n- Relay module (e.g. http://www.dx.com/p/121354) (~ 2.00€)\n- Emergency siren light 12V (e.g. http://www.ebay.it/itm/161668609157) (~ 10.00€)\n\n## Schema:\n![Schema](http://i.imgur.com/riv5JDl.png)\n\nWiring Raspberry Pi to relay depends by your Raspberry Pi GPIO schema and your relay schema, you can find them online.\nYou need 3 wires: GND, 5V and signal.\nIn my script signal is on pin 17.\n\n## Configuration:\nYou need to take inspiration from `config_example.py` and create your own `config.py` file.\n\n## Usage:\nWith `python siren.py [port]` you will manage the beacon light (default port is 8080).\n\nWith `python github_adapter.py` you will check for new issues and a POST request will be sent when a new issue will be found.\n\nYou can also use only `python siren.py [port]` and make a POST:\n\n`http POST http://localhost:8080/light actor=my_test duration=3`\n\nI manage it with [supervisord](http://supervisord.org/) on Raspbian.\n\n## Still to do:\n- Ansible script to install and configure supervisor\n- recognise urgent from PR rather than from issue\n- split the project in 2 parts\n\nAny help (PR) is really appreciated\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpimuzzo%2Fgit-siren","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpimuzzo%2Fgit-siren","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpimuzzo%2Fgit-siren/lists"}