百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
Y

ytdl-webserver

> DevOps
开源

用于下载 youtube 视频的 Web 服务器。已准备好用于 Docker。

1.4K stars0 点赞2 次浏览
访问官网GitHub

工具介绍

用于下载 youtube 视频的 Web 服务器。已准备好用于 Docker。

ytdl-webserver

Webserver for downloading youtube videos. Ready for docker.

## Demo If you have questions, read the [blog post](https://blog.rphl.io/selfhosted-youtube-downloader-with-docker/). ## Installation ### As a server ``` bash npm install && npm start ``` ### As a docker image #### Basic ``` docker run --name ytdl -d -p 3000:3000 algram/ytdl-webserver ``` #### Advanced Build 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. ``` docker build -t /ytdl-webserver . mkdir /tmp/videos docker run --name ytdl -v /tmp/videos:/home/app/public/temp -p 3000:3000 -d /ytdl-webserver ``` In 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. ## Development To start contributing you only have to run one command. ``` bash npm run dev ``` This will start webpack and a dev server on `localhost:8080` ## License MIT

Issues· 42 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

JavaScriptdockerdownload-youtube-videoswebserver

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类DevOps
定价开源

> 相关工具

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理