{"id":13580743,"url":"https://github.com/lopopolo/punchtop","last_synced_at":"2025-04-06T02:32:34.849Z","repository":{"id":81000905,"uuid":"161295164","full_name":"lopopolo/punchtop","owner":"lopopolo","description":"A power hour written in rust with Chromecast support","archived":true,"fork":false,"pushed_at":"2020-09-08T16:10:53.000Z","size":2908,"stargazers_count":27,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-05T19:44:28.379Z","etag":null,"topics":["audio","cast","chromecast","game","rust"],"latest_commit_sha":null,"homepage":"https://hyperbo.la/w/reflections-on-learning-rust/","language":"Rust","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/lopopolo.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":"2018-12-11T07:33:57.000Z","updated_at":"2023-10-15T05:34:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"fb14c3e0-291e-4eed-a08e-7e3331983581","html_url":"https://github.com/lopopolo/punchtop","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lopopolo%2Fpunchtop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lopopolo%2Fpunchtop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lopopolo%2Fpunchtop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lopopolo%2Fpunchtop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lopopolo","download_url":"https://codeload.github.com/lopopolo/punchtop/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247426422,"owners_count":20937124,"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":["audio","cast","chromecast","game","rust"],"created_at":"2024-08-01T15:01:54.722Z","updated_at":"2025-04-06T02:32:34.844Z","avatar_url":"https://github.com/lopopolo.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# punchtop\n\npunchtop is an audio game that runs a power hour using music on the local file\nsystem and streams to a Chromecast device.\n\n## Game\n\nA [power hour](https://en.wikipedia.org/wiki/Power_hour) is a (drinking) game.\nDuring each 60-second round, a song is played. A change in music marks each new\nround.\n\n## Usage\n\nTo run punchtop, you must build it from source. Punchtop depends on:\n\n- nightly rust, which you can install using [rustup](https://rustup.rs/)\n- node\n- yarn\n\nAfter you have installed the build dependencies, you can launch punchtop with\ndebug logging via cargo:\n\n```sh\nRUST_BACKTRACE=1 PUNCHTOP_LOG=cast-client=debug,punchtop=debug,rocket=info cargo run\n```\n\nor in a release build:\n\n```sh\ncargo build --release\nPUNCHTOP_LOG=info caffeinate -s ./target/release/punchtop-webview\n```\n\n## Limitations / Known Bugs\n\n- Media directory may only be selected by modifying the\n  [source](punchtop-webview/src/main.rs#L42-L48).\n- Chromecast device may only be selected by modifying the\n  [source](punchtop-webview/src/main.rs#L25).\n- App does not prevent system sleep via idle timeout.\n- [macOS] App does not shut down cleanly on quit.\n- [macOS] App does not shut down cleanly on SIGINT.\n- [macOS] App does not exit on game completion until webview has user activity.\n\n## Screenshots\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"Punchtop player and playback controls\" height=600\" src=\"doc/player.png\" /\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flopopolo%2Fpunchtop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flopopolo%2Fpunchtop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flopopolo%2Fpunchtop/lists"}