Skip to content

Simple Python Telegram bot sending music direct from NetEase Music API. Equipped with cache system.

License

Notifications You must be signed in to change notification settings

manho30/netease-musicbot

Repository files navigation

MusicBot 🎵

MusicBot is a Telegram bot that allows you to search for and send music from Netease Cloud Music directly in your chats. 🎶

🚀 Setup

  1. Clone this repository to your local machine.
  2. Install the required dependencies by running pip install -r requirements.txt.
  3. Obtain a Telegram Bot API token from BotFather and update the config.py file with your token.
  4. Install FFmpeg on your system to handle audio conversions.
  5. MusicBot relies on the NeteaseCloudMusicApias its backend. Follow the setup instructions in the API's repository.

🏃 How to Run

Start the bot by running python bot.py in your terminal. 🔎 Usage

  1. Send a private message
  2. Use the /start command to receive instructions.
  3. Simply send the name of a music to search for it.
  4. Click on the music buttons to send them to the chat.

🎉 Enjoy the Music

MusicBot brings you a seamless music-sharing experience powered by Netease Cloud Music. Share your favorite tunes with friends on Telegram and let the melodies fill the air! 🎧🤖🎶

🌟 Contribution

Contributions to MusicBot are welcome! Feel free to create a GitHub issue or submit a pull request to improve the bot.

📜 License

This project is licensed under the MIT License. You are free to use, modify, and distribute the code.

🚀 Powered by Technology

  1. MusicBot utilizes the NeteaseCloudMusicApi as its backend to fetch music data.
  • You can configure the backend URL in the MusicBot code to use your own instance of the NeteaseCloudMusicApi backend.
  • Edit the backend URL in the code if you are using your own instance.
  • If you prefer, you can use the provided URL in the code as the default backend.
  • Follow the instructions in the NeteaseCloudMusicApi repository to set up and configure your own backend.
  1. MusicBot includes features such as caching and a music queue system for a seamless music listening experience.
  2. Enjoy real-time updates on music download progress with the download progress bar. Start using MusicBot today and enjoy a seamless music-sharing experience on Telegram! 🎵🤖🎉

About

Simple Python Telegram bot sending music direct from NetEase Music API. Equipped with cache system.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages