{"id":32377793,"url":"https://github.com/beta/telegram-imgur-bot","last_synced_at":"2026-01-12T07:47:18.490Z","repository":{"id":57519901,"uuid":"249602358","full_name":"beta/telegram-imgur-bot","owner":"beta","description":"A Telegram bot for uploading images to Imgur.","archived":false,"fork":false,"pushed_at":"2020-03-27T08:02:34.000Z","size":269,"stargazers_count":3,"open_issues_count":1,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-23T06:05:00.123Z","etag":null,"topics":["golang","heroku","imgur","imgur-uploader","telegram-bot"],"latest_commit_sha":null,"homepage":"https://t.me/beta_imgur_bot","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/beta.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-24T03:20:19.000Z","updated_at":"2024-01-20T18:58:36.000Z","dependencies_parsed_at":"2022-09-06T05:11:34.359Z","dependency_job_id":null,"html_url":"https://github.com/beta/telegram-imgur-bot","commit_stats":null,"previous_names":["beta/imgur-bot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/beta/telegram-imgur-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beta%2Ftelegram-imgur-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beta%2Ftelegram-imgur-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beta%2Ftelegram-imgur-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beta%2Ftelegram-imgur-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beta","download_url":"https://codeload.github.com/beta/telegram-imgur-bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beta%2Ftelegram-imgur-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280879938,"owners_count":26406964,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-24T02:00:06.418Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["golang","heroku","imgur","imgur-uploader","telegram-bot"],"created_at":"2025-10-24T23:21:11.080Z","updated_at":"2025-10-24T23:21:17.241Z","avatar_url":"https://github.com/beta.png","language":"Go","readme":"# Telegram Imgur Bot\n\n[![Telegram: @beta_imgur_bot](https://img.shields.io/badge/Telegram-@beta__imgur__bot-%232CA5E0?logo=telegram \"Telegram: @beta_imgur_bot\")](https://t.me/beta_imgur_bot) [![Build status](https://img.shields.io/github/workflow/status/beta/telegram-imgur-bot/Go \"Build status\")](https://github.com/beta/telegram-imgur-bot/actions?query=workflow%3AGo)\n\nA Telegram bot which uploads images sent from you to Imgur and replies with direct links. Useful for sharing images, writing blogs, etc.\n\n## Screenshot\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"screenshot.png?raw=true\" alt=\"Screenshot\" title=\"Screenshot\" /\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003csup\u003eImage by Negative Space via \u003ca href=\"https://www.pexels.com/photo/coffee-notebook-writing-computer-34601/\"\u003ePexels\u003c/a\u003e (CC0 license)\u003c/sup\u003e\u003c/p\u003e\n\n## Prerequisites\n\n- Go \u003e= 1.11\n- PostgreSQL \u003e= 9.6, with `images` table created (see [bot/db/README.md](bot/db/README.md) for SQL)\n- A Telegram bot created from [BotFather](https://t.me/BotFather)\n- Imgur API client created following the guide at [apidocs.imgur.com](https://apidocs.imgur.com/)\n\n## Getting started\n\n```bash\n$ git clone https://github.com/beta/telegram-imgur-bot.git\n$ go get ./...\n$ DATABASE_URL=\"postgres://[USER]:[PASS]@[ADDR]:[PORT]/[DATABASE]\" TELEGRAM_BOT_TOKEN=[YOUR_BOT_TOKEN] IMGUR_CLIENT_ID=[YOUR_IMGUR_CLIENT_ID] go run cmd/bot/bot.go\n```\n\n## Deploying to Heroku\n\n[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)\n\n### Running with free dynos\n\n\u003e Heroku shuts down free dynos after there is no traffic in a period. A web server is added ([cmd/web/web.go](cmd/web/web.go)) which supports [wakemydyno.com](http://wakemydyno.com/). Register your Heroku app there if you want to prevent it from sleeping.\n\n## To-dos\n\n- [ ] ~~Support logging in to Imgur to upload with users' own accounts~~\n- [ ] ~~Support specifying which album to upload to~~\n- [x] Inline keyboard for deleting images from Imgur\n- [ ] Generate Markdown and HTML snippets for uploaded images\n\n## Credits\n\n- [Telebot](https://github.com/tucnak/telebot)\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeta%2Ftelegram-imgur-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeta%2Ftelegram-imgur-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeta%2Ftelegram-imgur-bot/lists"}