{"id":23139058,"url":"https://github.com/circuit/live-cam-bot","last_synced_at":"2025-08-17T11:33:27.391Z","repository":{"id":25999140,"uuid":"107064981","full_name":"circuit/live-cam-bot","owner":"circuit","description":"Electron bot sending a live video stream on a conversation","archived":false,"fork":false,"pushed_at":"2022-11-10T17:22:15.000Z","size":81,"stargazers_count":9,"open_issues_count":6,"forks_count":2,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-04-11T15:42:29.634Z","etag":null,"topics":["api","camera","circuit","collaboration","getusermedia","mediastream","sdk","video","webrtc"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/circuit.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-10-16T01:44:27.000Z","updated_at":"2023-03-13T12:11:37.000Z","dependencies_parsed_at":"2023-01-14T03:50:24.540Z","dependency_job_id":null,"html_url":"https://github.com/circuit/live-cam-bot","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/circuit%2Flive-cam-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/circuit%2Flive-cam-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/circuit%2Flive-cam-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/circuit%2Flive-cam-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/circuit","download_url":"https://codeload.github.com/circuit/live-cam-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230121628,"owners_count":18176477,"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":["api","camera","circuit","collaboration","getusermedia","mediastream","sdk","video","webrtc"],"created_at":"2024-12-17T13:13:11.966Z","updated_at":"2024-12-17T13:13:12.732Z","avatar_url":"https://github.com/circuit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# live-cam-bot\n\n[Electron](https://electron.atom.io/)-based Bot utilizing the [setScreenshareStream](https://circuitsandbox.net/sdk/classes/Client.html#method_setScreenshareStream) API to send a video stream captured from a local camera.\n\nThis example would be suited to run on a Raspberry PI with a local camera and wifi. The PI could then be used for surveillance, local surf conditions or anything else you'd like to share.\n\n\u003e Electron is based on node.js and Chromium and is therefore able to utilize the Circuit JS WebRTC APIs unlike a regular node.js app.\n\n## Details\n* Group conversation to stream video on is predefined and its ID set in config.json \n* Bot will start (or join) conference on given conversation and share the video stream of the local camera. If non default camera is to be used, [setMediaDevices](https://circuitsandbox.net/sdk/classes/Client.html#method_setMediaDevices) can be used to choose a video input device.\n* Bot will ensure the conference is always running\n\n## Getting Started\n\n* [Register an account](https://circuit.github.io/) on circuitsandbox.net (if you didn't yet)\n* [Register a bot](http://circuit.github.io/oauth) on the sandbox (OAuth 2.0 Client Credentials)\n\n### Run the app\n\n\u003e This example uses async/await, so node.js version 7.6+ is required\n\n```bash\n    git clone https://github.com/circuit/live-cam-bot.git\n    cd live-cam-bot\n    cp config.json.template config.json\n    // Edit config.json with your credentials and the conversation ID to stream on\n    npm install\n    npm start // or npm run dev\n```\n\n\u003e When running using \"npm start\" no window is opened. Run using \"npm run dev\" if you want to debug the app.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcircuit%2Flive-cam-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcircuit%2Flive-cam-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcircuit%2Flive-cam-bot/lists"}