{"id":13823751,"url":"https://github.com/sa-akhavani/video-streamer","last_synced_at":"2025-07-08T18:31:02.899Z","repository":{"id":105019387,"uuid":"114224974","full_name":"sa-akhavani/video-streamer","owner":"sa-akhavani","description":"Node.js Video File Streamer","archived":false,"fork":false,"pushed_at":"2024-10-23T15:05:33.000Z","size":3422,"stargazers_count":9,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-23T18:57:14.488Z","etag":null,"topics":["js","node-video","nodejs","stream","streamer","streaming","video","video-streamer"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/sa-akhavani.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":"2017-12-14T08:43:31.000Z","updated_at":"2024-10-23T15:04:28.000Z","dependencies_parsed_at":"2024-10-23T16:56:16.243Z","dependency_job_id":"5fa3de24-f173-4882-b073-e7264f244ba0","html_url":"https://github.com/sa-akhavani/video-streamer","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/sa-akhavani%2Fvideo-streamer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sa-akhavani%2Fvideo-streamer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sa-akhavani%2Fvideo-streamer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sa-akhavani%2Fvideo-streamer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sa-akhavani","download_url":"https://codeload.github.com/sa-akhavani/video-streamer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225453361,"owners_count":17476711,"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":["js","node-video","nodejs","stream","streamer","streaming","video","video-streamer"],"created_at":"2024-08-04T09:00:43.029Z","updated_at":"2024-11-20T01:30:48.382Z","avatar_url":"https://github.com/sa-akhavani.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Node.js Video File Streamer\nA Node js Video Streamer Which Uses Express Web Server And Raw HTTP Methods And Headers To Serve Videos.\n\nThe `server` is responsible for streaming the video.\nIt contains two files.\n- `app.js` launches a simple http server.\n- `videoStreamer.js` is the core file that contains the API and the code that streams the video.\n\nThe `client` is just a simple html page that casts the video for testing.\n\n\n## Server:\n\n### Running the server:\n\n```bash\n# Installing dependencies\nnpm install\n\n# Running the server\nnode ./server/app.js\n```\n\n### Changing the default config:\nConfig file is located in `./server/config`\n- Adding a video file to the server:\n    - Add the file to the `./server/video/` directory, or change the config file to use another directory for your video source.\n- Change server listening port:\n    - Default port is `8583`. You can change it by editing the config file.\n\n\n## Testing the setup:\nAfter running the server, send a `Get` Request to:\n`http://localhost:\u003cconfig.PORT\u003e/:videoName`\n\nOr just open the `./client/client.html` file in your browser\n\n```bash\n# Run the server using\nnode ./server/app.js\n\n# Open browser and type this in the url:\nhttp://localhost:8583/stream/example.mp4\n\n# OR open the ./client/client.html file\n```\n\n\n\n---\nWritten By: Seyed Ali Akhvani\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsa-akhavani%2Fvideo-streamer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsa-akhavani%2Fvideo-streamer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsa-akhavani%2Fvideo-streamer/lists"}