Skip to content

Latest commit

 

History

History
142 lines (105 loc) · 5.91 KB

EngReadme.md

File metadata and controls

142 lines (105 loc) · 5.91 KB

MikuPlay alpha 0.1.8 "The first SEARCH of the future"

Source code of the bot for quick search and download of music in TG with AI.

The API token must be stored in the .env file.

All functions in the bot are written in Russian.

Created using:

Bot API 7.10

Aiogram 3.x

Aiosqlite 0.20.0

Latest version

GPT-4o

Gemini API

Information

Functions (implemented and planned, can be updated)
  • Inline-search tracks;
  • Adding audio files (up to several dozen or 100 pieces at a time);
  • Replacing audio files and their information;
  • Edit information about the added audio file in the database (Artist, name. Doesn't change the information in the MP3 file itself.);
  • Deleting a track from the search results;
  • Adding administrators;
  • Deleting administrators;
  • Creating personal playlists;
  • AI with the Miku identity.
Required libs for operation

See in the file requirements.txt.

License

MIT License

Copyright (c) 2024 Meme Corp

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Version history

alpha 0.1.8 "The first SEARCH of the future" (15.12.2024)

The second update, which includes:

  • Improved the logic for adding tracks.
  • Changed the logic of replacing tracks.
  • Added file type checking (only mp3 is supported) when adding and replacing tracks.
  • Added logic for cropping a message with a list of received tracks to avoid problems with sending it.
  • Improved track search via inline mode.
  • Added advanced track search via the bot dialog (you can find out the track ID from the database, its name and artist without opening the database itself).
  • Pre-added store and profile menus to the main menu.
  • Improved logging.
  • Admin functions are placed in a separate menu.
  • Added the ability to get the ID of your profile, current chat, and files (photos, videos, music, voice messages, stickers, etc.) in the admin menu.
  • Changed the logic for getting answers for AI: now you don't have to specify a name when accessing it, you can reply to any bot message.
  • Changed the text of sending a user's request to the AI.
  • The AI context has been changed.
  • Changed the help menu: disclaimer and DMCA are placed in separate menus in it.
alpha 0.1.7 fix 2 "The first text of the future" (03.12.2024)

The second fix of the first update, which includes:

  • Added and removed logging in some places.
alpha 0.1.7 fix 1 "The first text of the future" (25.11.2024)

First fix of the first update, including:

  • Slightly changed the AI context and data for sending a request to the Gemini API;
  • Added a link to the project's GitHub in the menu.
alpha 0.1.7 "The first text of the future" (29.10.2024)

The first update that includes:

  • AI with Miku's identity based on the Gemini API;
  • Ability to reset the dialog history with AI;
  • Improved search with the relibrary;
  • Other edits and improvements to the user's interaction with the menu and text.
alpha 0.1.6 "The first sound of the future" (24.10.2024)

The very first publicly released version with basic functionality:

  • Inline-search tracks;
  • Adding audio files (up to several dozen or 100 pieces at a time);
  • Replacing audio files and their information;
  • Edit information about the added audio file in the database (Artist, name. Doesn't change the information in the MP3 file itself.);
  • Deleting a track from the search results;
  • Adding administrators;
  • Deleting administrators.