{"id":24972250,"url":"https://github.com/fariosofernando/docker-nginx-bun-streaming-server","last_synced_at":"2026-04-12T02:34:28.276Z","repository":{"id":257816088,"uuid":"867870553","full_name":"fariosofernando/docker-nginx-bun-streaming-server","owner":"fariosofernando","description":"Video upload and streaming server using Docker, Nginx with RTMP, and Bun as an alternative to Node.js for upload processing.","archived":false,"fork":false,"pushed_at":"2024-10-31T07:37:45.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T05:41:28.331Z","etag":null,"topics":["bun","docker","nginx","rtmp-server","server","streaming"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/fariosofernando.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":"2024-10-04T22:28:04.000Z","updated_at":"2024-10-31T07:37:49.000Z","dependencies_parsed_at":"2024-12-19T01:41:41.995Z","dependency_job_id":"2e31fe05-32e9-4555-b37f-7b20a154d7a2","html_url":"https://github.com/fariosofernando/docker-nginx-bun-streaming-server","commit_stats":null,"previous_names":["hi-im-aurelio/docker-nginx-bun-streaming-server","fariosofernando/docker-nginx-bun-streaming-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fariosofernando/docker-nginx-bun-streaming-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fariosofernando%2Fdocker-nginx-bun-streaming-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fariosofernando%2Fdocker-nginx-bun-streaming-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fariosofernando%2Fdocker-nginx-bun-streaming-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fariosofernando%2Fdocker-nginx-bun-streaming-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fariosofernando","download_url":"https://codeload.github.com/fariosofernando/docker-nginx-bun-streaming-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fariosofernando%2Fdocker-nginx-bun-streaming-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31702580,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T21:17:31.016Z","status":"online","status_checked_at":"2026-04-12T02:00:06.763Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bun","docker","nginx","rtmp-server","server","streaming"],"created_at":"2025-02-03T17:08:26.256Z","updated_at":"2026-04-12T02:34:28.246Z","avatar_url":"https://github.com/fariosofernando.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Nginx Bun Streaming Server\n\nThis project implements a video upload and streaming server using Docker, Nginx with RTMP support, and Bun for the video upload service, serving content via HTTP.\n\n## Overview\n\n-   **Nginx**: HTTP server used to distribute stored videos, configured with support for the RTMP protocol.\n-   **Bun**: Runs the video upload service, using express and express-fileupload.\n-   **Docker**: Complete isolation of the development environment, with containers for the Nginx server and the Bun service.\n\n### Project Structure\n\n```bash\n.\n├── docker-compose.yml   # Docker Compose file for orchestrating services\n├── nginx.conf           # Nginx and RTMP configurations\n├── node_upload_service\n│ ├── Dockerfile         # Dockerfile for the Bun service (upload)\n│ ├── lib/               # Source code for the upload service\n│ ├── package.json       # Dependencies for the Bun service\n│ ├── tsconfig.json      # TypeScript configurations\n├── test_web_uploader    # Example page for uploading\n│ └── index.html         # Form for uploading videos\n└── videos/              # Directory where videos are stored\n└── video.mp4            # Example video\n```\n\n## Requirements\n\n-   **Docker** e **Docker Compose** installed in the system.\n\n## How to Use\n\n### Step 1: Clone the repository\n\n```bash\ngit clone https://github.com/seu-usuario/docker-nginx-bun-streaming-server.git\ncd docker-nginx-bun-streaming-server\n```\n\n### Step 2: Upload containers with Docker\n\n```bash\ndocker-compose up --build\n```\n\nThis will create two containers:\n\n-   **nginx-rtmp**: Nginx server with RTMP support, responsible for streaming and serving videos via HTTP.\n-   **node-upload**: Bun service that handles video uploads.\n\n### Step 3: Access the upload server\n\nYou can access the upload page in your browser:\n\n```\n$HOME/clone-project-path/test_web_uploader/index.html\n```\n\n### Step 4: Access uploaded videos\n\nUploaded videos will be served via Nginx at the URL:\n\n```\nhttp://localhost:8080/videos/[video-name].mp4\n```\n\n### Exemplos\n\nUpload a video via the upload form in the `/upload` route. The video will be saved in the `/videos` directory and can be accessed via HTTP on the Nginx server.\n\n---\n\n## Technologies Used\n\n-   **Nginx**: Used for video streaming and RTMP.\n-   **Bun**: Used for managing the upload service (alternative to Node.js).\n-   **Docker**: For containerization of services.\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffariosofernando%2Fdocker-nginx-bun-streaming-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffariosofernando%2Fdocker-nginx-bun-streaming-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffariosofernando%2Fdocker-nginx-bun-streaming-server/lists"}