image-upload-tg
It's a simple image hosting script in Golang. It's have http server and image can be uploaded from here, also images store temporary in this server. Also images upload to Telegram Cloud Storage by bot. In this way, unused photos deleting from our server after some time. When we want to reach some deleted image from our http server, the bot downloading the image from Telegram and redirect us to the image. Also photos sent to the telegram bot upload to server and reply with url.
- No database
- Smart storage with Telegram Cloud Storage
Screenshots
Config
Create .env file and edit (Sample)
Run
> go run main.go