TG-IHOST is a simple image host bot designed for Telegram. This bot facilitates image uploads to Telegram and provides a corresponding link to the uploaded image.
- Upload images from local
- Upload images from URL
- Fork this repository
- Create a bot using @BotFather
- Replace
TG_BOT_TOKEN
in the environment file with your bot token - Add your bot to the desired group and replace
BOT_NAME
in the environment file with your bot's username - Deploy the bot
- Connect your GitHub account to Cloudflare Pages
- Create a new project and select your repository
- Deploy the project
- Ensure proper setup of environment variables before deployment.
- Make sure to grant the necessary permissions and access to the bot.
Feel free to modify the bot or add additional features as needed.