https://github.com/rekt-developer/telegram-bot
https://github.com/rekt-developer/telegram-bot
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rekt-developer/telegram-bot
- Owner: Rekt-Developer
- License: gpl-3.0
- Created: 2024-12-09T15:09:45.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-12-09T15:26:22.000Z (5 months ago)
- Last Synced: 2025-02-05T09:37:52.782Z (3 months ago)
- Language: Python
- Size: 23.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Telegram Channel Indexing Bot
## Overview
This Telegram bot is designed to automatically index channel posts from the @LikhonAPI channel and potentially submit them to Google for indexing.## Features
- Receive and process Telegram channel posts
- Optional Google Indexing integration
- Deployment-ready for Vercel## Prerequisites
- Python 3.8+
- Telegram Bot Token
- Vercel Account## Setup Instructions
### 1. Create Vercel Project
1. Fork this repository
2. Import the project to Vercel### 2. Set Environment Variables
In Vercel Project Settings, add:
- `TELEGRAM_BOT_TOKEN`: Your Telegram Bot Token
- `GOOGLE_INDEXING_CREDENTIALS`: (Optional) Google Indexing API Credentials### 3. Install Dependencies
```bash
pip install -r requirements.txt
```### 4. Telegram Bot Setup
1. Create a bot with BotFather
2. Add bot to your channel as an administrator
3. Set webhook using the provided method in `bot.py`## Deployment
- Push to main branch
- Vercel will automatically deploy## Configuration
Customize `bot.py` to add more advanced indexing or processing logic## Troubleshooting
- Ensure bot has correct channel permissions
- Check Vercel logs for deployment issues
- Verify webhook configuration## Contributing
Contributions are welcome! Please submit a pull request.## License
MIT License## Contact
- Creator: Likhon Sheikh
- Telegram: @likhonsheikh