{"id":21250914,"url":"https://github.com/natlee/streaming-player","last_synced_at":"2026-02-26T12:01:21.556Z","repository":{"id":155250645,"uuid":"591891271","full_name":"NatLee/streaming-player","owner":"NatLee","description":"A self-hosted nightbot-like video player which can be used on streaming or others.","archived":false,"fork":false,"pushed_at":"2024-07-27T19:43:15.000Z","size":2874,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-11T05:14:35.027Z","etag":null,"topics":["django-application","nightbot","player","playlist-manager","python","video-player","webapp"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NatLee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-01-22T08:35:38.000Z","updated_at":"2024-07-27T19:43:18.000Z","dependencies_parsed_at":"2024-07-27T20:54:04.252Z","dependency_job_id":null,"html_url":"https://github.com/NatLee/streaming-player","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NatLee/streaming-player","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NatLee%2Fstreaming-player","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NatLee%2Fstreaming-player/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NatLee%2Fstreaming-player/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NatLee%2Fstreaming-player/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NatLee","download_url":"https://codeload.github.com/NatLee/streaming-player/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NatLee%2Fstreaming-player/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29858461,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T08:51:08.701Z","status":"ssl_error","status_checked_at":"2026-02-26T08:50:19.607Z","response_time":89,"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":["django-application","nightbot","player","playlist-manager","python","video-player","webapp"],"created_at":"2024-11-21T03:39:34.748Z","updated_at":"2026-02-26T12:01:21.540Z","avatar_url":"https://github.com/NatLee.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Streaming Player\r\n\r\n\u003e Notice that here use package [yt_dlp](https://github.com/yt-dlp/yt-dlp) to get link of video on Youtube.\r\n\r\n![demo](https://github.com/user-attachments/assets/b79bb027-efbd-45ed-bd2a-9f073efb55d9)\r\n\r\n\r\nThis is an online player can be used on streaming.\r\n\r\n### Playlist\r\n\r\n![playlist](https://user-images.githubusercontent.com/10178964/213933850-a9dfa041-7d69-4600-8e18-b8b71f026157.png)\r\n\r\n### History\r\n\r\n![playlist-history](https://user-images.githubusercontent.com/10178964/213933824-d1545650-901a-4934-a0ea-3cde8ae7b311.png)\r\n\r\n### APIs\r\n\r\n![apis](https://user-images.githubusercontent.com/10178964/214282464-f4de87b8-ae31-4ed5-9050-b10cb8afa090.png)\r\n\r\n## Requirements\r\n\r\n```bash\r\npip install -r requirements.txt\r\n```\r\n\r\n## Usage\r\n\r\n### Quick Start\r\n\r\n1. Run the service.\r\n\r\n   ```bat\r\n   docker-compose up\r\n   ```\r\n\r\n2. Go to http://localhost:7878/player/ and create the first user.\r\n\r\n   \u003e Port is specified in `docker-compose.yml` file. Default is `7878`.\r\n\r\n3. (Optional) Check Admin page.\r\n\r\n   Go here http://localhost:7878/api/__hidden_admin .\r\n      \r\n   And you'll see the page below.\r\n   ![](https://user-images.githubusercontent.com/10178964/218362625-839d20df-8350-4082-a25f-501cad8824d8.png)\r\n\r\n4. (Optional) Check Swagger.\r\n\r\n   Go here http://localhost:7878/api/__hidden_swagger/ .\r\n\r\n5. (Optional) Check player in frontend.\r\n\r\n   See http://localhost:7878/player/\r\n\r\n\r\n## Interaction APIs\r\n\r\nYou can use the following APIs in streaming chat box to interact with your audience.\r\n\r\n- /player/nightbot/current\r\n   Get current playing video.\r\n\r\n- /player/nightbot/current/poll\r\n   Poll to stop current playing video.\r\n\r\n- /player/nightbot/order\r\n   Order to play a video.\r\n\r\n- /player/nightbot/order/{user}/count\r\n   Get the number of videos that user has ordered.\r\n\r\n- /player/nightbot/{song_pk_in_queue}/delete\r\n   Delete a video with song's ID in queue.\r\n\r\n- /player/nightbot/{song_pk_in_queue}/insert\r\n   Insert a video with song's ID in queue.\r\n\r\nIn Nightbot, you can add custom command with URL in [command page](https://nightbot.tv/commands/custom).\r\n\r\nSpecify command `!sr` and give the message below.\r\n\r\n```bash\r\n$(urlfetch https://\u003cYOUR_DOMAIN\u003e/player/nightbot/order?user=$(user)\u0026url=$(querystring))\r\n```\r\n\r\n## Link\r\n\r\n- [Admin](http://localhost:7878/api/__hidden_admin)\r\n\r\n- [Redoc](http://localhost:7878/api/__hidden_redoc)\r\n\r\n- [Swagger](http://localhost:7878/api/__hidden_swagger)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatlee%2Fstreaming-player","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnatlee%2Fstreaming-player","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatlee%2Fstreaming-player/lists"}