Telegram Auto-Responder is a web application that allows users to set up automatic responses for their Telegram messages. Users can log in via Telegram OAuth, configure their auto-responder message, and toggle its activation status.
- Telegram OAuth authentication
- Customizable auto-responder message
- Toggle to activate/deactivate the auto-responder
- Dashboard to manage settings
- Telegram bot to handle incoming messages
- Frontend: Next.js, React, Tailwind CSS
- Backend: Next.js API routes, Supabase
- Authentication: Clerk (Telegram OAuth)
- Database: Supabase (PostgreSQL)
- Telegram Bot: Pyrogram (Python)
- Testing: Jest (TypeScript), pytest (Python)
- Node.js (v14 or later)
- Python 3.9 or later
- Supabase account
- Clerk account
- Telegram Bot API credentials
-
Clone the repository:
git clone https://github.com/yourusername/telegram-auto-responder.git cd telegram-auto-responder -
Install dependencies:
npm install cd bot && pip install -r requirements.txt -
Set up environment variables: Copy
.env.exampleto.env.localand fill in the required values. -
Run the development server:
npm run dev -
Start the Telegram bot:
cd bot && python main.py
-
Run TypeScript tests:
npm test -
Run Python tests:
cd bot && pytest
- Frontend and Next.js API routes: Deploy to Vercel
- Telegram Bot: Deploy to Heroku or similar service
Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.
This project is licensed under the MIT License - see the LICENSE.md file for details.