An AI-powered developer assistant for Telegram.
Ask coding questions, generate passwords, create hashes, generate UUIDs, and chat with powerful AI modelsโall without leaving Telegram.
Supports Gemini โ๏ธ and Ollama ๐ฅ๏ธ through a clean provider abstraction layer.
โจ Features ๐ค AI-powered developer assistant ๐ง Natural language conversations ๐ Switch between Gemini and Ollama ๐ Secure password generation ๐ SHA-256 hashing ๐ UUID generation ๐ณ Docker support โ๏ธ Render deployment ๐ Structured logging ๐งฉ Modular architecture
- Python 3.13
- python-telegram-bot
- Docker
- Docker Compose
- Render
- Git & GitHub
Telegram
โ
โผ
python-telegram-bot
โ
โผ
handlers/chat.py
โ
โผ
services/ai_service.py
โโโโโโโโโโดโโโโโโโโโ
โ โ
โผ โผ
Gemini Service Ollama Service
โ โ
โผ โผ
Google Gemini Local Llama/Qwen
DevMate follows a modular architecture where Telegram handlers remain independent of the underlying AI provider. The ai_service routes requests to the configured provider, allowing seamless switching between Gemini and Ollama without changing application logic.
DevMate supports multiple AI providers through a unified service layer.
| Provider | Purpose |
|---|---|
| Gemini | Cloud AI with fast responses and strong reasoning |
| Ollama | Local AI for offline development and unlimited testing |
Switch providers by updating your environment configuration:
AI_PROVIDER=geminior
AI_PROVIDER=ollamaFor Ollama:
OLLAMA_MODEL=llama3.2:3bDevMate/
โโโ handlers/
โโโ services/
โโโ utils/
โโโ config.py
โโโ logger.py
โโโ main.py
โโโ Dockerfile
โโโ compose.yaml
โโโ requirements.txt
โโโ README.md
git clone https://github.com/dev-krish/DevMate.git
cd DevMatepython3 -m venv .venv
source .venv/bin/activatepip install -r requirements.txtcp .env.example .envAdd your Telegram Bot Token to .env:
BOT_TOKEN=your_bot_token_herepython main.pydocker compose up --buildDevMate is containerized with Docker and can be deployed on platforms such as:
- Render
- Railway
- VPS
- AWS EC2
- Oracle Cloud
- Docker Support
- Cloud Deployment
- Structured Logging
- QR Code Generator
- Base64 Encoder/Decoder
- JSON Formatter
- GitHub Integration
- AI Commands
DevMate was built to provide developers with quick utilities directly inside Telegram. Instead of opening multiple websites or command-line tools, common development tasks can be completed with simple bot commands.
Contributions, suggestions and feature requests are welcome.
This project is licensed under the MIT License.
Made with โค๏ธ by Krishnendu Dutta.