app: wire new commands and update docs

This commit is contained in:
2026-05-10 22:53:43 +03:00
parent 94d695e008
commit d2464b9b21
2 changed files with 43 additions and 70 deletions
+9 -1
View File
@@ -9,6 +9,13 @@ cp .env.example .env
# Edit .env: add BOT_TOKEN, CREATOR_ID and configure optional AI models (GEMINI_API_KEY, MISTRAL_API_KEY, OLLAMA_ADDRESS)
```
For local Ollama document RAG, install an embedding model locally and set it in `.env`:
```bash
ollama pull nomic-embed-text
OLLAMA_EMBEDDING_MODEL=nomic-embed-text
```
**With Bun (Recommended):**
```bash
bun install
@@ -42,13 +49,14 @@ docker run -d --env-file .env -v $(pwd)/data:/config/data tg-bot-bun
## Requirements
- Node.js >= 18 OR Bun >= 1.0
- Node.js >= 20 OR Bun >= 1.0
- Docker (optional)
## Features
- AI chat (Gemini, Mistral, Ollama)
- Local document RAG for Ollama without third-party providers
- Custom answers and commands
- Admin management
- User blocking (mute/unmute)