Ketard AI Bot is a Telegram bot designed for interacting with users through a variety of commands. It leverages advanced APIs to provide features such as system status checks, text generation, and more. The bot can be integrated with different services to enhance functionality.
- Summarize YouTube videos. just send /sum command with vail YouTube URL and hope it doesn't burn
- System Information: Commands to check CPU usage, RAM usage, and system temperature.
- Text Generation: Utilizes the Ollama API for generating responses based on user input.
- Debug and Status Modes: Includes configurations for debug mode and system status reporting.
- Command Handling: Custom commands for different functionalities, including help and start commands.
- Python3
- GNU+Linux
- Ollama
- Start Command:
/startto get an introduction and available commands. - Help Command:
/helpprovides information on how to use the bot and its commands. - Status Command:
/statusto get the current system status including CPU usage, RAM usage, and more. - Custom Commands:
{DataConfig.GEN_COMMANDS}for generating responses based on specified commands.
- Clone the repository:
git clone --depth=1 --single-branch https://github.com/ket0x4/ketard-ai && cd ketard-ai
- Create a virtual environment:
python -m venv .venv
- Activate the virtual environment:
source venv/bin/activate - Install the dependencies:
pip install -r requirements.txt
- Configure the bot by editing the
config.jsonfile with the appropriate values forBOT_NAME,API_ID,API_HASH,BOT_TOKEN, ... - Run the bot:
python ketard.py
Ensure that your config.json is correctly set up with the necessary API credentials and configurations for bot behavior.
- Add
/sumcommand - Async
/sumcommand - Support other youtube url's
- Add speech-to-text support
- Check api response before sending
- Fix async
/statuscommand - Add blacklist support
- log prompts and responses to db
- split long messages
- delete status message after sending prompt response
- Add reply support
- Refactor code
- remove repeated code
- Add
TRlang support to/sum command - Better
/helpmessage - Add
/start command
This project is licensed under the MIT License.