F33RNI / liberty-media-telegram-bot

YT_DLP based Telegram bot for downloading media files from popular stream platforms 🦐

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🦐 liberty-media-telegram-bot

Project logo

YT_DLP based Telegram bot for downloading media files from popular stream platforms

YouTube Bandcamp Spotify SoundCloud


πŸ˜‹ Support project

πŸ’œ Please support the project so that I can continue to develop it

  • BTC: bc1qd2j53p9nplxcx4uyrv322t3mg0t93pz6m5lnft

  • ETH: 0x284E6121362ea1C69528eDEdc309fC8b90fA5578

  • ZEC: t1Jb5tH61zcSTy2QyfsxftUEWHikdSYpPoz

  • Or by my music on πŸ”· bandcamp

  • Or message me if you would like to donate in other way πŸ’°


🐧 Running as service on linux

  1. Install Python 3.10 / 3.11 (not tested on other versions), venv and pip

  2. Clone repo

    1. git clone https://github.com/F33RNI/liberty-media-telegram-bot.git
    2. cd liberty-media-telegram-bot
  3. Create venv python -m venv venv / python3 -m venv venv / python3.10 -m venv venv / python3.11 -m venv venv

  4. Carefully change all the settings in config.json file

  5. Install systemd

    1. sudo apt-get install -y systemd
  6. Create new service file

    1. sudo nano /etc/systemd/system/liberty-media-telegram-bot.service

      [Unit]
      Description=liberty-media-telegram-bot service
      After=multi-user.target
      
      [Service]
      Type=simple
      Restart=on-failure
      RestartSec=5
      
      WorkingDirectory=YOUR DIRECTORY HERE/liberty-media-telegram-bot
      ExecStart=YOUR DIRECTORY HERE/liberty-media-telegram-bot/run.sh
      
      [Install]
      WantedBy=multi-user.target
      
  7. Reload systemctl daemon

    1. sudo systemctl daemon-reload
  8. Enable and start service

    1. sudo systemctl enable liberty-media-telegram-bot
    2. sudo systemctl start liberty-media-telegram-bot

🚧 README coming soon

About

YT_DLP based Telegram bot for downloading media files from popular stream platforms 🦐

License:GNU Affero General Public License v3.0


Languages

Language:Python 99.9%Language:Shell 0.1%