{"id":43020259,"url":"https://github.com/norihiro/obs-command-source","last_synced_at":"2026-04-05T02:06:47.965Z","repository":{"id":48467718,"uuid":"261799092","full_name":"norihiro/obs-command-source","owner":"norihiro","description":"Dummy Source in OBS-Studio to Execute Command","archived":false,"fork":false,"pushed_at":"2025-11-01T04:39:50.000Z","size":148,"stargazers_count":24,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-11-01T06:12:19.206Z","etag":null,"topics":["dummy-source","obs-studio","obs-studio-plugin"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/norihiro.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,"zenodo":null},"funding":{"custom":"https://paypal.me/nkamae","github":"norihiro","ko_fi":"nkamae"}},"created_at":"2020-05-06T15:20:14.000Z","updated_at":"2025-11-01T04:39:54.000Z","dependencies_parsed_at":"2023-01-21T13:15:11.769Z","dependency_job_id":"a9b84ce0-8d08-4f05-ba0a-9d195fd5a200","html_url":"https://github.com/norihiro/obs-command-source","commit_stats":{"total_commits":82,"total_committers":2,"mean_commits":41.0,"dds":"0.024390243902439046","last_synced_commit":"e402ce1a0b0370a7c9f6ad8f558e25ad8f4c1793"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/norihiro/obs-command-source","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/norihiro%2Fobs-command-source","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/norihiro%2Fobs-command-source/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/norihiro%2Fobs-command-source/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/norihiro%2Fobs-command-source/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/norihiro","download_url":"https://codeload.github.com/norihiro/obs-command-source/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/norihiro%2Fobs-command-source/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28931096,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T04:05:25.756Z","status":"ssl_error","status_checked_at":"2026-01-31T04:02:35.005Z","response_time":128,"last_error":"SSL_read: 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":["dummy-source","obs-studio","obs-studio-plugin"],"created_at":"2026-01-31T06:20:05.480Z","updated_at":"2026-01-31T06:20:06.176Z","avatar_url":"https://github.com/norihiro.png","language":"C","funding_links":["https://paypal.me/nkamae","https://github.com/sponsors/norihiro","https://ko-fi.com/nkamae"],"categories":[],"sub_categories":[],"readme":"Dummy Source to Execute Command\n===============================\n\nThis plugin provides a dummy source to execute arbitrary commands when a scene is switched.\n\n## Current Features\n\n* Start a command at the following events.\n  * Show (the source is shown in either preview or program)\n  * Hide (the source is hidden so that no longer shown in neither preview nor program)\n  * Activate (the source goes to the program)\n  * Deactivate (the source goes from the program)\n  * Show in preview (the source goes to the preview)\n  * Hide from preview (the source goes from the preview)\n* Optionally, kill the created process at these conditions. This feature is not available for Windows as of now.\n  * When hiding, kill the process created at shown.\n  * When deactivating, kill the process created at activated.\n  * When hiding from the preview, kill the process created at preview.\n\n## Possible Usage\n\n* Implementing custom tally lights.\n* Control PTZ cameras by switching the scene.\n  You may combine with CURL to send some commands.\n* Start and stop a daemon program required for the scene.\n* Trigger other operations through websocket at the event.\n  A helper script is available at `tools/request-websocket.py`.\n  - Start or stop your streaming and recording.\n* Not limited to the above.\n\n## Caution\n\nSince this plugin executes arbitrary commands, users need to consider security concerns.\nFor example, when combining with `obs-websocket` plugin,\na remote user could change property through the websocket interface so that the arbitrary commands can be executed.\n\n## Build\n\n### Linux\n```\ngit clone https://github.com/norihiro/obs-command-source.git\ncd obs-command-source\nmkdir build \u0026\u0026 cd build\ncmake \\\n\t-DLIBOBS_INCLUDE_DIR=\"\u003cpath to the libobs sub-folder in obs-studio's source code\u003e\" \\\n\t-DCMAKE_INSTALL_PREFIX=/usr ..\nmake -j4\nsudo make install\n```\n\n### macOS\n```\ngit clone https://github.com/norihiro/obs-command-source.git\ncd obs-command-source\nmkdir build \u0026\u0026 cd build\ncmake \\\n\t-DLIBOBS_INCLUDE_DIR=\u003cpath to the libobs sub-folder in obs-studio's source code\u003e \\\n\t-DLIBOBS_LIB=\u003cpath to libobs.0.dylib\u003e \\\n\t-DOBS_FRONTEND_LIB=\u003cpath to libobs-frontend-api.dylib\u003e \\\n\t..\nmake -j4\n# Copy obs-command-source.so to the obs-plugins folder\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnorihiro%2Fobs-command-source","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnorihiro%2Fobs-command-source","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnorihiro%2Fobs-command-source/lists"}