Giter VIP home page Giter VIP logo

yt_music_bot's Introduction

Telegam YT Music Bot

This is simple Telegram bot that can help you save music from YouTube to Telegram. You can load single videos and also playlists.

Main commands:

  1. /track - load single track from video
  2. /playlist - load playlist (unavailable)
  3. /cut - cut single video on track by using timecodes (unavailable)

Main stack:

  1. Telegram Bot - aiogram 3 + redis
  2. Backend - FastAPI + sqlalchemy + yt_dlp + celery
  3. Relative database - PostgreSQL

To run your own instance:

Pre-requirements: git, docker, docker compose, python 3.10, poetry

Requirements:

  • Firstly you need to clone repository:
~$: git clone https://github.com/averagepythonfan/yt_music_bot.git
  • Then install poetry dev group, it install ansible on your computer:
~$: poetry install --only=dev
  • Rename "inventory-example.ini" to "inventory.ini", do it to "ansible-example.cfg" exactly the same.

  • Edit "invetory.ini" and "ansible.cfg" with your own options.

  • Then run command, that run ansible playbook script:

~$: ansible-playbook playbooks/dev.yml --tags="up"

OR

~$: ansible-playbook playbooks/prod.yml --tags="up"

yt_music_bot's People

Contributors

averagepythonfan avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

kkbmr123

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.