Giter Site home page Giter Site logo

tgnowplaying's Introduction

TGNowPlaying

This repository contains a Python bot built using the Pyrogram library. The bot updates your Telegram channel's profile picture and name to display the music you are currently listening to from various music providers such as Spotify and Apple Music. The bot schedules updates every 5 minutes to ensure your channel is always showing the latest track. Features

Requirements

  • Python 3.7+
  • Telgram User API

Preview

preview terminal

Deployment

  1. Clone the repository:

    user@host:~$ git clone https://github.com/mazdakdev/TGNowPlaying --depth=1
  2. Configure the Environment Variables:

    user@host:~$ mv .env.sample .env && vim .env
  3. Install Poetry using the official Docs.

  4. Install the requirements and activate the virtual env's shell.

    user@host:~$ poetry install && poetry shell
  5. Run the Project

    user@host:~$ bash start.sh

Deployment with Docker

TODO:

How to get Telegram User API

TODO:

Contributions

Contributions are welcome! Please open an issue or submit a pull request.

Happy Listening! ๐ŸŽถ

TODO

  • Docs
  • better ascii art and colorama
  • Apple Music
  • Vscode presence (like Discord)

tgnowplaying's People

Contributors

mazdakdev avatar

Watchers

Kostas Georgiou avatar  avatar

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.