Unlimited image hosting using Telegram as your CDN backend. No AWS bills. No bandwidth limits. Just pure Go magic.
POST your image via file or URL. We stream it to your private Telegram channel via Bot API.
Telegram returns a permanent File ID. We keep it in SQLite. Your image is now in Telegram's cloud (2GB per channel).
Request /img/{id} → We fetch from Telegram's CDN and
proxy it to your users. Hotlink-friendly.
Upload an image and see the magic happen instantly
Drop image here or click to browse
Supports JPG, PNG, GIF, WebP (max 20MB)
curl -X POST -F "file=@photo.jpg" \ https://tgcloud.alwaysdata.net/post-from-file
curl -X POST \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com/img.png"}' \
https://tgcloud.alwaysdata.net/post-from-url
{
"status": 200,
"message": "Image uploaded successfully. Keep this ID safe.",
"id": "AgACAgQAAxkDAAMraZyUGni2...",
}
| Feature | TgCloud | AWS S3 Free | Imgur API |
|---|---|---|---|
| Cost | $0 Forever | $0 (12mo) | Rate Limited |
| Storage Cap | Unlimited* | 5GB | Unlimited |
| Hotlinking | ✅ Yes | ✅ Yes | ❌ No |
| Privacy | Self-hosted | AWS sees all | Public by default |
One click to your own unlimited image host
git clone https://github.com/AdrienMttn/TgCloud.git cd TgCloud echo "BOT_TOKEN=your_token" > .env echo "CHAT_ID=your_chat_id" >> .env go mod tidy && go run main.go