Skip to content

πŸ“₯ Bot for downloading any media from Instagram, Twitter and videos from TikTok and Youtube

License

Notifications You must be signed in to change notification settings

chupapee/social-media-downloader-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

72 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation


Typescript usage stat NodeJS Telegram

Twitter TikTok YouTube Intagram

Screenshots

Twitter YouTube
TikTok Instagram

πŸ›  Capabilities and Tech Stack πŸ› 

Features Available commands Technology stack
πŸ“Ή Video downloading from TikTok & YouTube ▢️ `/start` to start using the bot βš™οΈ Telegraf 4
πŸ“Έ Downloading photos, videos, reels,
and stories from Instagram in any quantity
πŸ’¬ `/feedback` to send feedback to me 🟩 NodeJS
πŸ“ Downloading tweets with
all the nested media from Twitter
🌎 `/en` to change the language to English πŸ“˜ Typescript
🌐 English and Russian localizations 🌏 `/ru` to change the language to Russian πŸ› οΈ Web scraping tools

Installation

Install all dependencies:

yarn install

Don't forget to create .env (from .env.example).


Run

Development mode

Just run the following command:

yarn dev

Production mode

There are two options to run the application in production:


Building with Docker

  1. Switch to the main branch:
git checkout main
  1. Build the application image:
docker build -t <your-repo>/social-media-downloader .
  1. Run the image:
docker run -d --name bot --restart unless-stopped <your-repo>/social-media-downloader

Building with Pm2

  1. Switch to the latest branch:
git checkout latest
  1. If you are running the process on Ubuntu v22.04 (like me), you will need to install additional dependencies to ensure the bot functions correctly:
# Install Google Chrome Stable and fonts
# Note: this installs the necessary libs to make the browser work with Puppeteer.
apt-get update && apt-get install gnupg wget -y && \
  wget --quiet --output-document=- https://dl-ssl.google.com/linux/linux_signing_key.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/google-archive.gpg && \
  sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' && \
  apt-get update && \
  apt-get install google-chrome-stable -y --no-install-recommends && \
  rm -rf /var/lib/apt/lists/*
  1. Start the bot with the following command:
yarn process:start