https://github.com/estrellaxd/downloadagent
A telegram bot to help you send any link or file to download to your local storage.
https://github.com/estrellaxd/downloadagent
Last synced: 5 months ago
JSON representation
A telegram bot to help you send any link or file to download to your local storage.
- Host: GitHub
- URL: https://github.com/estrellaxd/downloadagent
- Owner: EstrellaXD
- License: mit
- Created: 2023-11-28T04:10:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-06T16:34:23.000Z (10 months ago)
- Last Synced: 2024-12-06T07:02:39.179Z (5 months ago)
- Language: Python
- Size: 57.6 KB
- Stars: 51
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DownloadAgent
DownloadAgent is a telegram bot to help you to download any links or files to your local storage in anywhere.
You can deploy it as a docker container or run it directly on your computer.
## Now support
- [x] Download telegra.ph photos
- [x] Download magnet links via [qbittorrent](https://www.qbittorrent.org/)
- [x] Download torrent links
- [x] Download youtube videos
- [x] Download x(formally twitter) videos... in working
## Usage
You must have a telegram bot. If you don't have one, you can create one by talking to [@BotFather](https://t.me/BotFather).
### Deploy as a docker container
```bash
docker run -d \
--name DownloadAgent \
-e BOT_TOKEN= \
-e USER_ID= \
-e PROXY= \
-v :/downloads \
ghcr.io/estrellaxd/downloadagent
```### Run directly on your computer
You must write a `.env` file in the root of the project.
```bash
git clone https://github.com/EstrellaXD/DownloadAgent.gitcd DownloadAgent
pip install -r requirements.txt
python main.py
```## Environment variables
| Name | Description | Default | required |
|-------------|---------------------------|---------|----------|
| BOT_TOKEN | Your telegram bot token | None | True |
| USER_ID | Your telegram user id | None | True |
| PROXY | Your proxy | None | False |
| QB_HOST | Your qbittorrent host | None | False |
| QB_USERNAME | Your qbittorrent username | None | False |
| QB_PASSWORD | Your qbittorrent password | None | False |