{"id":13649244,"url":"https://github.com/bitwave-tv/bitwave-media-server","last_synced_at":"2025-04-22T14:31:06.311Z","repository":{"id":37895608,"uuid":"220375284","full_name":"bitwave-tv/bitwave-media-server","owner":"bitwave-tv","description":"A dockerized container of NGINX-RTMP and Node.js with transcoding, archiving \u0026 stream authentication.","archived":false,"fork":false,"pushed_at":"2023-01-26T20:04:25.000Z","size":621,"stargazers_count":42,"open_issues_count":36,"forks_count":18,"subscribers_count":5,"default_branch":"dev","last_synced_at":"2024-11-10T00:32:55.349Z","etag":null,"topics":["bitwave","docker","livestreaming","nginx-rtmp","nodejs"],"latest_commit_sha":null,"homepage":"https://bitwave.tv","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/bitwave-tv.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":"2019-11-08T03:01:34.000Z","updated_at":"2024-02-26T05:53:59.000Z","dependencies_parsed_at":"2023-02-14T23:00:50.511Z","dependency_job_id":null,"html_url":"https://github.com/bitwave-tv/bitwave-media-server","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitwave-tv%2Fbitwave-media-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitwave-tv%2Fbitwave-media-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitwave-tv%2Fbitwave-media-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitwave-tv%2Fbitwave-media-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitwave-tv","download_url":"https://codeload.github.com/bitwave-tv/bitwave-media-server/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250258880,"owners_count":21400986,"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":["bitwave","docker","livestreaming","nginx-rtmp","nodejs"],"created_at":"2024-08-02T01:04:52.614Z","updated_at":"2025-04-22T14:31:01.293Z","avatar_url":"https://github.com/bitwave-tv.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# Bitwave Media Server\n\nAn RTMP ingestion server + API server packaged as docker containers for managing and controlling streams, restreams, and archives.\n\nThis is the backbone of livestreaming for [bitwave.tv]\n\nUtilizing tech such as NGINX, ffmpeg, node.js, and docker.\n\n## Commands\n\nUpdating Server:\n(an easier method is available via [server-scritps](/server-scripts))\n\n```bash\ndocker pull bitwavetv/bms-api-server:latest\ndocker pull bitwavetv/bms-nginx-server:latest\ndocker-compose up --build -d\n```\n\nUpdating Dev Server:\n\n```bash\ndocker pull bitwavetv/bms-api-server:dev\ndocker pull bitwavetv/bms-nginx-server:dev\ndocker-compose up --build -d\n```\n\nRebuild \u0026 View logs:\n\n```bash\ndocker-compose up --build -d \u0026\u0026 docker-compose logs --tail 25 -f\n```\n\nView Logs:\n(an easier method is available via [server-scritps](/server-scripts))\n\n```bash\ndocker-compose logs --tail 25 -f\n```\n\nBuild NGINX server:\n```bash\ncd nginx-server\ndocker build -t bitwavetv/bms-nginx-server:latest .\n- or -\ndocker-compose build\n```\n\nBuild API server:\n```bash\ncd api-server\ndocker build -t bitwavetv/bms-api-server:latest .\n- or -\ndocker-compose build\n```\n\nPush updated containers to docker:\n```bash\ndocker push bitwavetv/bms-nginx-server\ndocker push bitwavetv/bms-api-server\n```\n\nExec bash into running container:\n```bash\ndocker exec -it [containerId] bash\n```\n\nDocker-Compose start server:\n```bash\ndocker-compose up\n```\n\nDocker-Compose build \u0026 run detatched:\n```bash\ndocker-compose up --build -d\n```\n\nUpdate Restart \u0026 Show Logs:\n```bash\ndocker pull bitwavetv/bms-api-server \u0026\u0026 \\\ndocker pull bitwavetv/bms-nginx-server \u0026\u0026 \\\ndocker-compose up --build -d \u0026\u0026 \\\ndocker-compose restart \u0026\u0026 \\\ndocker-compose logs --tail 25 -f\n```\n\n\n## NPM Helper Commands\n\nThese basically do what is described above, but without requiring as much typing.\n\nTo execute the follow commands, preface them with: `npm run COMMAND`.\n\n### `docker-build:dev:api`\nBuild API Service, tag as `dev`.  \n\n### `docker-build:dev:nginx`\nBuild NGINX Service, tag as `dev`.\n\n### `docker-push:dev:api`\nPush API Server image, tagged as `dev`.\n\n### `docker-push:dev:nginx`\nPush NGINX Server image, tagged as `dev`.\n\n### `docker-build:dev`\nBuild ALL Services, tagged as `dev`.\n\n### `docker-push:dev`\nPush ALL Servicers image, tagged as `dev`.\n\n### `docker-publish:dev`\n(This is the most convient command)  \nOne shot build and push ALL services, tagged as `dev`.  \n\n\n## Server Helper Scripts\n\nsee: [server-scripts](/server-scripts)\n\nCurrently, the following commands are available:\n\n\n### [bms-update](/server-scripts/README.md#bms-update)\nUpdates and restarts ingestion server.\n\n\n### [bms-logs](/server-scripts/README.md#bms-logs)\nShow docker logs for bitwave-media-server\n\n\n---\n\n\n### Outdated\n\n(aka I no longer remember the context of these commands, and they are probably not needed)\n\nCache Builder:\n ```bash\n docker build \\\n    --target builder \\\n    -t bitwavetv/bitwave-media-server:builder .\n ```\n \n Build from cache:\n```bash\ndocker build \\\n    --cache-from bitwavetv/bitwave-media-server:builder \\\n    --cache-from bitwavetv/bitwave-media-server:latest \\\n    -t bitwavetv/bitwave-media-server:latest .\n``` \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitwave-tv%2Fbitwave-media-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitwave-tv%2Fbitwave-media-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitwave-tv%2Fbitwave-media-server/lists"}