{"id":13567779,"url":"https://github.com/olzzon/ninja-player","last_synced_at":"2026-01-18T23:09:54.275Z","repository":{"id":96757032,"uuid":"527871048","full_name":"olzzon/ninja-player","owner":"olzzon","description":"Video ingest to WebRTC","archived":false,"fork":false,"pushed_at":"2024-11-01T10:53:45.000Z","size":715,"stargazers_count":14,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-04T02:35:23.614Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/olzzon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":"FUNDING.yml","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},"funding":{"github":"olzzon"}},"created_at":"2022-08-23T07:00:36.000Z","updated_at":"2024-11-01T10:53:48.000Z","dependencies_parsed_at":"2024-01-21T21:12:46.293Z","dependency_job_id":"8c5d437d-7d1a-47ec-81cf-65a62b31dfe2","html_url":"https://github.com/olzzon/ninja-player","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/olzzon/ninja-player","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olzzon%2Fninja-player","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olzzon%2Fninja-player/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olzzon%2Fninja-player/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olzzon%2Fninja-player/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/olzzon","download_url":"https://codeload.github.com/olzzon/ninja-player/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olzzon%2Fninja-player/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28553079,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T20:59:07.572Z","status":"ssl_error","status_checked_at":"2026-01-18T20:59:02.799Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2024-08-01T13:02:42.885Z","updated_at":"2026-01-18T23:09:54.254Z","avatar_url":"https://github.com/olzzon.png","language":"TypeScript","funding_links":["https://github.com/sponsors/olzzon"],"categories":["TypeScript"],"sub_categories":[],"readme":"## Looking for sponsors for this project\n\n# Ninja Player\nA tool for ingesting video into VDO.Ninja\n\nAfter trying out different methods for ingesting video into WebRTC, i came to the conclusion that Browser engines are the most updated in functionality and speed, so i decided to create a tool that would allow me to ingest video into WebRTC using the Electron Browser engine.\n\n## Features\n* Ingests video from a live source\n* REST API for getting links to the videostreams\n\n\n## Screen layout:\n\u003cimg src='./docs/settingspage.png' width='600px' /\u003e\n\n\n## Configuration\n- Auto Start: Start the player automatically when the page loads, when restarting the app will autostart and not show the settings menu, go to the menubar and select \"disable auto start\" if you need to change the settings.\n- Ingest Web Page: The URL of the WebRTC server\n- Guest Web Page: Optional, if there's different link for ingest/director and guests/viewers\n- Director Web Page: Optional, if there's different link for ingest/director and guests/viewers.\n- Room and Password: If you wish static room and password, you can set it here. Otherwise, it will be generated randomly.\n- Video Source: 1 is the default camera, if you wish another source, you can write a part of the devicename here. For example, if you have a Logitech C920, you can write \"Logitech\" here.\n- Audio Source: Same as video source, but for audio.\n- Max Frame Rate: The maximum framerate to use for the video. If you have a beandwith issues you can for clients not to use higher framerates\n- Refresh Hash Interval: How often you wish to restart the client. (Used for regenerating random hash-codes, e.g. you only wish that links works for 7 days)\n\n\n## REST API\n### Get url links:\nGET http://127.0.0.1:3900/linkurl returns:\n{\n    viewer: (linkto viewer)\n    guest: (linkto guest)\n    director: (linkto director)\n}\n\n### Restart Ninja Player:\nPOST http://localhost:3900/engine?action=restart\n\n### Quit Ninja Player:\nPOST http://localhost:3900/engine?action=quit\n\n\n## LINK WEBPAGE\n\nThere's a build in webserver that serves a webpage with links to the videostreams. You can access it by going to http://localhost:3900\n\n\u003cimg src='./docs/getlinkpage.png' width='600px' /\u003e\n\n\n### Mac OS X - setup:\n\n## Cron job that runs forcequit.sh at 4am\n```\nexport EDITOR=nano\nsudo crontab -e\n```\nAdd this line:\n```\n0 4 * * * /bin/bash /path/to/file/forcequit.sh \u003e/tmp/stdout.log 2\u003e/tmp/stderr.log\n```\n(There's an example /docs/example scripts/forcequit.sh file in the repo)\n\nTo prevent apps from reopening after reboot, run this command:\n```\ndefaults write -g ApplePersistence -bool no\n```\n\n\n## Auto start of Ninja Player at boot - delayed 30 sec (For webCam to load first)\nUse the example in /docs/example scripts/delay-start.ninja.scpt\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folzzon%2Fninja-player","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folzzon%2Fninja-player","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folzzon%2Fninja-player/lists"}