Skip to content

API for downloading videos and media from popular platforms like Douyin, Instagram, Facebook, Pinterest, Reddit, Threads, Twitter, TikTok, YouTube, etc..

Notifications You must be signed in to change notification settings

milancodess/universalDownloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

universalDownloader

GitHub stars GitHub forks

A universal media downloader API built with Node.js and Express.
Download media from LinkedIn,Threads, Reddit, Facebook, Instagram, TikTok, YouTube, Pinterest, Twitter, Douyin and more — all in one easy-to-use API.


Star History

Star History Chart


Features

  • Download media from popular platforms:
    • Douyin
    • Facebook & Instagram ( meta )
    • LinkedIn
    • Pinterest
    • Reddit
    • Threads
    • TikTok
    • Twitter ( X )
    • YouTube
  • Easy REST API endpoints
  • Built with JavaScript
  • Swagger API documentation included
  • Modular architecture: services, controllers, routes

Installation

git clone https://github.com/milancodess/universalDownloader.git
cd universalDownloader
npm install

Usage

  1. Start the server:
npm start
  1. Access API at: http://localhost:3000/

  2. Example API request to download Instagram media:

GET http://localhost:3000/api/meta/download?url=https://www.instagram.com/p/DLHQfPiyucu/

Response:

{
  "success": true,
  "data": {
    // media download info here
  }
}

API Endpoints

Endpoint Description Method
/api/douyin/download Download Facebook/Instagram media GET
/api/linkedin/download Download Facebook/Instagram media GET
/api/meta/download Download Facebook/Instagram media GET
/api/pinterest/download Download Pinterest media GET
/api/reddit/download Download Reddit media GET
/api/threads/download Download Threads media GET
/api/tiktok/download Download TikTok media GET
/api/twitter/download Download TikTok media GET
/api/youtube/download Download YouTube media GET

See the full interactive API docs with Swagger at /api-docs.


Project Structure

.
├── controllers/       # API route handlers
├── routes/            # Express route definitions
├── services/          # Business logic & downloader functions
├── server.js          # Express app entry point
└── package.json

Contributing

Feel free to open issues or submit pull requests! If you want to add support for other platforms or improve error handling, you're welcome!


Author

Milan Bhandari — GitHub