{"id":16574924,"url":"https://github.com/filippodaniotti/antennatrelegram","last_synced_at":"2025-07-26T12:42:12.499Z","repository":{"id":155740157,"uuid":"330805044","full_name":"filippodaniotti/AntennaTrelegram","owner":"filippodaniotti","description":"Telegram bot - Retrieve, process and post one pic daily","archived":false,"fork":false,"pushed_at":"2021-03-16T09:49:42.000Z","size":296,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-16T05:12:48.276Z","etag":null,"topics":["heroku","imgur-api","opencv-python","python","python-telegram-bot","telegram","telegram-bot","veneto"],"latest_commit_sha":null,"homepage":"https://t.me/antennatrel_bot","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/filippodaniotti.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-18T22:48:04.000Z","updated_at":"2024-08-12T20:09:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"d2bdddbe-a4d5-4056-ad3b-f97837a790cf","html_url":"https://github.com/filippodaniotti/AntennaTrelegram","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filippodaniotti%2FAntennaTrelegram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filippodaniotti%2FAntennaTrelegram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filippodaniotti%2FAntennaTrelegram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filippodaniotti%2FAntennaTrelegram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/filippodaniotti","download_url":"https://codeload.github.com/filippodaniotti/AntennaTrelegram/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242067715,"owners_count":20066751,"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","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":["heroku","imgur-api","opencv-python","python","python-telegram-bot","telegram","telegram-bot","veneto"],"created_at":"2024-10-11T21:46:04.083Z","updated_at":"2025-03-05T17:16:18.269Z","avatar_url":"https://github.com/filippodaniotti.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Antenna Trelegram\r\nAntenna Trelegram is a [Telegram bot](https://core.telegram.org/bots/api) that sends one picture to a mailing list of Telegram chats.\r\n\r\n## How it works\r\nEach day at 8:30 am a job is triggered and the bot randomly retrieves an image from a private album on [Imgur](https://imgur.com/). This image is then processed by summing to it an overlay with a dinamically generated number, which is the number of days between the current date and 22/10/2017.\r\n\r\n## How to build\r\nIf you want to test it locally you have to make sure you have an account on [Imgur](https://imgur.com/) with an album of any kind; you also have to register and authorize the application for your account, since Imgur uses OAuth2 (more info [here](https://apidocs.imgur.com/)).\r\n\r\nYou will also need [Python](https://www.python.org/) installed (of course); then, follow these steps:\r\n* get the API key for your bot from the [BotFather](https://t.me/BotFather)\r\n* setup a local environment with all the required variables (check the [sample provided](./.env.sample))\r\n* create the Python Virtualenv with `py -m venv env` or any name you like\r\n* install the dependencies with `pip install -r requirements.txt` (if it doesn't work try with `pip3 install -r requirements.txt`)\r\n* run with `python bot.py`\r\n\r\n\r\n## Disclaimer\r\n\u003e This bot does make use of irony and was developed primarely for lighthearted humor in a private chat. No personal injury was inteded or even taken into account during development.\r\n\r\n## Tech Stack\r\n* [Python Telegram Bot](https://python-telegram-bot.org/) as wrapper for the Telegram API\r\n* [OpenCV Python](https://pypi.org/project/opencv-python/) for the image processing\r\n* [Imgur](https://imgur.com/) and the [Imgur API](https://apidocs.imgur.com/) as cloud storage for the images\r\n* [Heroku](https://www.heroku.com) as deployment and hosting platform \r\n* [Heroku Redis](https://www.heroku.com/redis) as database for the mailing list","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilippodaniotti%2Fantennatrelegram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffilippodaniotti%2Fantennatrelegram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilippodaniotti%2Fantennatrelegram/lists"}