ytdlder is a lightweight, open-source YouTube video downloader designed to simplify downloading videos in high quality without ads or unnecessary bloat. Built with modern web technologies, it ensures fast, reliable downloads with support for multiple formats and resolutions.
- High-Quality Downloads: Supports 1080p, 4K, and other resolutions with audio
- Multiple Formats: Download videos as MP4 or extract audio-only MP3
- No Ads or Tracking: Completely ad-free and privacy-focused
- Simple Interface: Minimalist UI for quick and easy use
- Self-Hostable: Deploy locally or on your own server for full control
- Frontend: Next.js, TypeScript, Tailwind CSS
- Backend: Node.js, @distube/ytdl-core, ffmpeg
- Deployment: Docker, Nginx
- Node.js (v18+)
- Docker (optional, for containerized deployment)
-
Clone the repository:
git clone https://github.com/Cedrugs/ytdlder.git cd ytdlder -
Install dependencies:
npm install
-
Configure environment variables:
- Copy
.env.exampleto.envand fill in required values
- Copy
-
Run the development server:
npm run dev
-
For production deployment (Docker):
- Build the image
docker build -t ytdlder .- Run the image
# Docker compose services: ytdlder: image: ytdlder container_name: proj-ytdlder restart: unless-stopped environment: - SITE_URL=https://yoursite.com ports: - 3301:3000 - 3302:3001# Docker run docker run -d \ --name proj-ytdlder \ --restart unless-stopped \ --network proxy \ -e SITE_URL=https://yoursite.com \ -p 3301:3000 \ -p 3302:3001 \ ytdlder
- Open the app in your browser
- Paste a YouTube URL into the input field
- Select your preferred format and resolution
- Click Download and wait for the file to process
Contributions are welcome! Please follow these steps:
- Fork the repository
- Create a new branch (
git checkout -b feature/your-feature) - Commit your changes (
git commit -m "Add your feature") - Push to the branch (
git push origin feature/your-feature) - Open a Pull Request
This project is licensed under the MIT License. See LICENSE for details.
For questions or feedback, reach out at:
- Email: ceds.sam@gmail.com
- GitHub Issues: https://github.com/Cedrugs/ytdlder/issues