Kitan
π Kitan: A Telegram bot guardian ensuring friendly interactions by authenticating users as real humans with cutting-edge verification methods.
Install / Use
/learn @TelechaBot/KitanREADME

π Kitan
Kitan is a Telegram bot that helps keep your group safe by verifying that users are real people. It's open-source and built with Python and Vue.
π Why Kitan?
Many traditional verification methods like captchas and questions can be bypassed with human help. Plus, not all spammers are botsβsome are real people.
Kitan uses modern methods to verify users, ensuring they're genuine. It combines biometric authentication and puzzles to verify users and employs AI to monitor user behavior for risks.
π‘οΈ How It Works
- Biometric Live Authentication: Confirms the user is a real, living person.
- Puzzle Verification: Ensures users solve a puzzle to prove they're human.
- Cloudflare Turnstile: Blocks users who exhibit risky behavior. If the biometric API is unavailable, fallback methods like Cloudflare's protection and puzzle verification are used.
- OCR Trash Message Detection: Identifies and intercepts spam messages using OCR.
π Getting Started
- Add Kitan to your Telegram group.
- Make Kitan an administrator with the right permissions.
- Kitan will automatically screen new members.
This keeps your group safe by ensuring only approved users can join.
π£οΈ Roadmap
- [x] Basic verification
- [x] Risk control and ban monitoring
- [x] Group consensus features
π¦ Deploying Kitan
To deploy Kitan yourself, you'll need a server, Redis (optional), MongoDB, a domain, and a Telegram bot.
Docker
git clone https://github.com/TelechaBot/Kitan
cd Kitan
chmod +x docker-build.sh
nano docker-build.sh
# Change the environment variables
./docker-build.sh
check docker-build.sh for more information.
Clone the Repository
git clone https://github.com/TelechaBot/Kitan
cd Kitan
Frontend Setup
See /frontend/README.MD.
cd frontend
npm install
env VITE_BACKEND_URL="https://api.example.com"
# env VITE_CLOUDFLARE_SITE_KEY="optional"
npm run build
# Deploy to your server
Backend Setup
See /backend/README.MD.
cd backend
cp .env.example .env
nano .env
pip install pdm
pdm install
pdm run python main.py
# Press Ctrl + C to exit
pm2 start pm2.json

This image is decorative and not part of the project.
