Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rn0x/fetchdl-telegram
FetchDL - 📥 Download from YouTube, Facebook, Twitter, Instagram, TikTok, Twitch, SoundCloud
https://github.com/rn0x/fetchdl-telegram
bot download instagram media-downloader soundcloud telegraf telegram-bot tiktok twitch youtube
Last synced: 2 months ago
JSON representation
FetchDL - 📥 Download from YouTube, Facebook, Twitter, Instagram, TikTok, Twitch, SoundCloud
- Host: GitHub
- URL: https://github.com/rn0x/fetchdl-telegram
- Owner: rn0x
- License: gpl-3.0
- Created: 2024-06-26T21:17:07.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-25T04:41:00.000Z (4 months ago)
- Last Synced: 2024-09-27T11:42:35.018Z (3 months ago)
- Topics: bot, download, instagram, media-downloader, soundcloud, telegraf, telegram-bot, tiktok, twitch, youtube
- Language: JavaScript
- Homepage: https://t.me/R8iibot
- Size: 1.94 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FetchDL-Telegram
FetchDL - 📥 Download media from YouTube, Facebook, Twitter, Instagram, TikTok, Twitch, SoundCloud
## Description
FetchDL-Telegram is a Telegram bot designed to download media content from various popular platforms such as YouTube, Facebook, Twitter, Instagram, TikTok, Twitch, and SoundCloud. It provides a convenient way for users to fetch and share media content directly through Telegram.## Requirements
To run FetchDL-Telegram, you need to have the following installed:
1. **Node.js** - JavaScript runtime environment.## Installation
To install FetchDL-Telegram, follow these steps:
1. Clone the repository from GitHub:
```bash
git clone https://github.com/rn0x/fetchdl-telegram.git
```
2. Navigate into the project directory:
```bash
cd fetchdl-telegram
```
3. Install dependencies using npm:
```bash
npm install
```## Configuration
1. Create a `.env` file in the root directory of the project.
2. Add your Telegram bot token (`TELEGRAM_TOKEN`) to the `.env` file:
```
TELEGRAM_TOKEN=your_telegram_bot_token_here
```## Running the Bot
To run FetchDL-Telegram:
```bash
npm start
```
This command starts the bot and initializes it to listen for incoming messages and commands on Telegram.
## Dependencies
FetchDL-Telegram uses the following npm packages:
```json
"dependencies": {
"better-sqlite3": "^11.0.0",
"dotenv": "^16.4.5",
"downlib": "^1.2.1",
"telegraf": "^4.16.3"
},
"devDependencies": {
"nodemon": "^3.1.4"
}
```
- **better-sqlite3**: SQLite database library for Node.js.
- **dotenv**: Module to load environment variables from a `.env` file.
- **downlib**: Library for downloading media from various platforms.
- **telegraf**: Telegram bot framework for Node.js.## Termux
```
You can run the bot on Android devices using the Termux app 📱. Follow these steps:1. Install proot-distro:
pkg install proot-distro2. Install Debian distribution:
proot-distro install debian3. List available Linux distributions:
proot-distro list4. Log in to the Debian distribution:
proot-distro login debianAfter logging into proot-distro, you can use commands as you would on a regular Linux system 🖥️.
To install FetchDL-Telegram, follow these steps:
1. Install git, Node.js, and npm:
apt update
apt install git nodejs npm2. Clone the repository from GitHub:
git clone https://github.com/rn0x/fetchdl-telegram.git3. Navigate into the project directory:
cd fetchdl-telegram4. Install dependencies using npm:
npm installThis way, you can easily run the bot on your Android device using Termux! 🚀
```## License
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.