TelegramiFrame is a Telegram bot that allows users to stream websites within a Telegram Mini App. Users can send a URL to the bot, which then provides an inline button to open the website in a WebApp.
- Streams websites within a Telegram Mini App
- Provides an inline button to open the URL in a WebApp
- Displays a preview with the website's title, description, and preview image
-
Clone the repository:
git clone https://github.com/yourusername/TelegramiFrame.git cd TelegramiFrame -
Create a virtual environment and activate it:
python3 -m venv venv source venv/bin/activate -
Install the required dependencies:
pip install -r requirements.txt
-
Create a .env file in the project directory and add your Telegram bot token:
TELEGRAM_BOT_TOKEN=your-telegram-bot-token
-
Run the bot:
python main.py
-
Start a chat with your bot on Telegram and send a URL. The bot will provide an inline button to open the website in a WebApp.
Contributions are welcome! Please open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
Made with ❤️ on a chilly winter night
