{"id":13394254,"url":"https://github.com/Algram/ytdl-webserver","last_synced_at":"2025-03-13T20:31:23.789Z","repository":{"id":8803269,"uuid":"59816540","full_name":"Algram/ytdl-webserver","owner":"Algram","description":"📻 Webserver for downloading youtube videos. Ready for docker.","archived":false,"fork":false,"pushed_at":"2023-02-22T16:30:11.000Z","size":750,"stargazers_count":1437,"open_issues_count":42,"forks_count":140,"subscribers_count":26,"default_branch":"master","last_synced_at":"2024-10-29T17:57:50.306Z","etag":null,"topics":["docker","download-youtube-videos","webserver"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Algram.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-05-27T07:59:24.000Z","updated_at":"2024-10-10T12:57:18.000Z","dependencies_parsed_at":"2024-01-14T17:04:06.703Z","dependency_job_id":"e3112aa5-1b0a-44e8-a726-5cbfd555891d","html_url":"https://github.com/Algram/ytdl-webserver","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/Algram%2Fytdl-webserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Algram%2Fytdl-webserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Algram%2Fytdl-webserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Algram%2Fytdl-webserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Algram","download_url":"https://codeload.github.com/Algram/ytdl-webserver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242988040,"owners_count":20217538,"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":["docker","download-youtube-videos","webserver"],"created_at":"2024-07-30T17:01:13.936Z","updated_at":"2025-03-13T20:31:23.763Z","avatar_url":"https://github.com/Algram.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Software","webserver","Apps","效率 \u003ca name=\"good\"\u003e\u003c/a\u003e","Misc/Other"],"sub_categories":["Miscellaneous","Download","Video Streaming"],"readme":"\u003ch1 align=\"center\"\u003e\n  📻 ytdl-webserver\n\n  \u003ca href=\"https://travis-ci.com/Algram/ytdl-webserver\"\u003e\n    \u003cimg alt=\"Builds\" src=\"https://travis-ci.com/Algram/ytdl-webserver.svg?branch=master\"\u003e\n  \u003c/a\u003e\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  Webserver for downloading youtube videos. Ready for docker.\n\u003c/p\u003e\n\n## Demo\nIf you have questions, read the [blog post](https://blog.rphl.io/selfhosted-youtube-downloader-with-docker/).\n\n![Demovideo](http://imgur.com/iEpA1oQ.gif)\n\n## Installation\n### As a server\n``` bash\nnpm install \u0026\u0026 npm start\n```\n\n### As a docker image\n#### Basic\n```\ndocker run --name ytdl -d -p 3000:3000 algram/ytdl-webserver\n```\n\n#### Advanced\nBuild the docker image, create a directory to hold and access the downloaded videos on the host, and then start a container instance of the image.  \n```\ndocker build -t \u003cyour username\u003e/ytdl-webserver .\nmkdir /tmp/videos\ndocker run --name ytdl -v /tmp/videos:/home/app/public/temp -p 3000:3000 -d \u003cyour username\u003e/ytdl-webserver\n```\nIn the example above, we are creating a directory under /tmp to hold the videos and then specifying a host mount to the container that corresponds to that new directory.  You may update this to any path on your host or use a different existing path if you would prefer. The host mount also improves performance as the downloaded files are written to the native host filesystem bypassing the CoW filesystem of the container.\n\n\n## Development\nTo start contributing you only have to run one command.\n``` bash\nnpm run dev\n```\nThis will start webpack and a dev server on `localhost:8080`\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAlgram%2Fytdl-webserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAlgram%2Fytdl-webserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAlgram%2Fytdl-webserver/lists"}