A real-time comment system designed to bring interactive discussions to Bale messenger posts. سیستم کامنتگذاری لحظهای برای اضافه کردن قابلیت دیدگاه به پستهای بله
- ⚡ Real-time messaging (WebSocket) چت لحظهای با وبسوکت
- 💬 Comment system for posts سیستم کامنت برای پستها
- 🔁 Reply to messages پاسخ به پیامها
- ❤️ Reactions امکان ریاکشن
- ⌨️ Typing indicator نمایش در حال تایپ
- 🌐 Web-based UI (Tailwind) رابط کاربری تحت وب
- User sends a post in Bale کاربر پست را در بله ارسال میکند
- Bot edits the post and adds a "View Comments" button ربات پست را ادیت کرده و دکمه «دیدگاه» اضافه میکند
- User clicks and opens web app کاربر وارد وباپ میشود
- Real-time discussion starts گفتگو به صورت لحظهای شروع میشود
.
├── api/ # API routes
├── core/ # Config & settings
├── db/ # MongoDB connection & collections
├── models/ # Data models
├── schemas/ # Pydantic schemas
├── websocket/ # WebSocket logic
├── templates/ # HTML صفحات
├── storage/ # فایلهای آپلودی
├── utils/ # ابزارهای کمکی
├── bot.py # ربات بله
├── main.py # ورودی FastAPI
- FastAPI
- WebSockets
- MongoDB
- Tailwind CSS
- Bale Bot API
git clone https://github.com/your-username/bale-realtime-comment-system.git
cd bale-realtime-comment-system
pip install -r requirements.txt
uvicorn main:app --reloadCreate .env file:
MONGO_URL=
DATABASE_NAME=comments
TOKEN=
JWT_SECRET=f6b402c8d71406aaf0c17548cfd2560458d4e7d8f3a7ded38543ca4ce7aa68f6
WEBAPP_URL=https://google.com
- Authentication system سیستم احراز هویت
- Admin panel پنل مدیریت
- Anti-spam system جلوگیری از اسپم
- Multi-platform support پشتیبانی از پلتفرمهای دیگر
Bale messenger does not support comments on posts. This project solves that limitation using a real-time web-based system.
بله به صورت پیشفرض سیستم دیدگاه ندارد این پروژه برای حل این مشکل ساخته شده است
Pull requests are welcome
If you like this project, give it a star ⭐ اگر پروژه را دوست داشتید ستاره بدهید ⭐