AkiBot

The Ultimate Telegram AI Assistant

Features

🤖

Text Interaction

Engage in conversational text-based chats with context-aware responses

👁️

Image Understanding

Process and analyze images for vision-based queries

📄

Document Analysis

Read and understand text-based documents

🎵

Audio Processing

Handle audio messages and files with metadata support

📸

Instagram Download

Download photos and videos from Instagram links

🎬

YouTube to MP3

Convert YouTube videos to MP3 audio files with metadata

Commands

/start

Starts the bot and provides a welcome message

/help

Displays a list of available commands

/clear

Clears the chat history for the current user

/insta <url>

Downloads Instagram media as compressed media

/instaFile <url>

Downloads Instagram media as uncompressed files

/ytb2mp3 <url>

Downloads YouTube video audio as MP3

/web2md <url>

Converts webpage to markdown

/ytb2transcript

Extracts YouTube video transcript

/jailbreak

Injects jailbreak prompt into current chat

/think <query>

Provides detailed AI reasoning

Setup

1. Initial Setup

python -m venv venv
source venv/bin/activate
pip install -r requirements.txt

2. Install Dependencies

apt update
apt install python3.11 ffmpeg

3. Environment Variables

export TELEGRAM_TOKEN_KEY="your-telegram-token"
export GEMINI_API_KEY="your-gemini-api-key"

4. First Time Run

./run.sh

This will start the bot and configuration editor at http://127.0.0.1:8080

5. Regular Run

python main.py