{"id":17291002,"url":"https://github.com/markkoz/twitch-alarm","last_synced_at":"2025-03-26T18:45:44.000Z","repository":{"id":129386098,"uuid":"114885079","full_name":"MarkKoz/twitch-alarm","owner":"MarkKoz","description":"Sounds an alarm when a Twitch stream goes live.","archived":false,"fork":false,"pushed_at":"2019-05-07T08:13:18.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T00:25:00.659Z","etag":null,"topics":["alarm","python","python-3","twitch","twitch-tv"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/MarkKoz.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":"2017-12-20T12:29:38.000Z","updated_at":"2019-05-07T08:13:20.000Z","dependencies_parsed_at":"2023-04-05T11:02:30.416Z","dependency_job_id":null,"html_url":"https://github.com/MarkKoz/twitch-alarm","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarkKoz%2Ftwitch-alarm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarkKoz%2Ftwitch-alarm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarkKoz%2Ftwitch-alarm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarkKoz%2Ftwitch-alarm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MarkKoz","download_url":"https://codeload.github.com/MarkKoz/twitch-alarm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245717788,"owners_count":20661150,"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":["alarm","python","python-3","twitch","twitch-tv"],"created_at":"2024-10-15T10:39:36.266Z","updated_at":"2025-03-26T18:45:43.991Z","avatar_url":"https://github.com/MarkKoz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Twitch Alarm\nSounds an alarm when a Twitch stream goes live.\n\n### Requirements\n* [Python 3.6](https://www.python.org/downloads/) or higher\n* [requests](http://docs.python-requests.org/en/master/)\n* [pyaudio](https://people.csail.mit.edu/hubert/pyaudio/)\n* [python-dateutil](https://dateutil.readthedocs.io/en/stable/)\n\n### Configuration\nA `JSON` file named `configuration.json` in the same directory as `main.py` is\nused for configuration of the program. It has the following format:\n\n```json\n{\n    \"clientID\": \"\",\n    \"channels\": [\n        \"ChannelName1\",\n        \"ChannelName2\"\n    ],\n    \"frequency\": 60,\n    \"sound\": \"path/to/alarm/sound.wav\"\n}\n```\n\n* clientID - The Twitch application's client ID. Register the application\n[here](https://dev.twitch.tv/dashboard/apps).\n* channels - A list of the names of channels for which an alarm will sound when\nlive.\n* frequency - The interval between live checks in seconds. Note the endpoint\nfor streams has a rate limit of 30 requests per minute.\n* sound - Path to a `wav` audio file that will be used as the alarm sound.\n\n### Usage\nRun `main.py`. If a channel goes live, an alarm will sound. The alarm will stop\nafter any key + \u003ckbd\u003eEnter\u003c/kbd\u003e is pressed and the program will close; re-run\n`Main.py` to restart the program.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkkoz%2Ftwitch-alarm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkkoz%2Ftwitch-alarm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkkoz%2Ftwitch-alarm/lists"}