{"id":21148145,"url":"https://github.com/mikefromru/poster-bot","last_synced_at":"2025-08-03T01:12:48.121Z","repository":{"id":209313923,"uuid":"723703232","full_name":"mikefromru/poster-bot","owner":"mikefromru","description":"This is Telegram bot that posts the news and memes in Telegram channels","archived":false,"fork":false,"pushed_at":"2023-12-04T21:08:25.000Z","size":289,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T14:12:39.375Z","etag":null,"topics":["aiogram","aiohttp","asyncpraw","beautifulsoup4","python","python3","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mikefromru.png","metadata":{"files":{"readme":"README.md","changelog":"news/news.py","contributing":null,"funding":null,"license":null,"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":"2023-11-26T14:11:29.000Z","updated_at":"2024-01-20T18:22:27.000Z","dependencies_parsed_at":"2023-12-03T00:20:50.978Z","dependency_job_id":"beb15c05-ad3f-4129-9eb5-ab9cd1c4fef1","html_url":"https://github.com/mikefromru/poster-bot","commit_stats":null,"previous_names":["mikefromru/news-shots-bot","mikefromru/poster-bot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mikefromru/poster-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikefromru%2Fposter-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikefromru%2Fposter-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikefromru%2Fposter-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikefromru%2Fposter-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikefromru","download_url":"https://codeload.github.com/mikefromru/poster-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikefromru%2Fposter-bot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263464185,"owners_count":23470473,"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":["aiogram","aiohttp","asyncpraw","beautifulsoup4","python","python3","telegram","telegram-bot"],"created_at":"2024-11-20T09:21:56.158Z","updated_at":"2025-07-04T07:05:14.988Z","avatar_url":"https://github.com/mikefromru.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Poster Bot\n## _Welcome to poster-bot_\n\nPoster Bot is about Telegram bot.\nIt is totally asynchronous. This bot posts in two channels. From Reddit it gets some Subreddits only Top posts every about 2 hours then put it on memes Telegram channel. Also this bot get some news from RSS then put the news on news Telegram channel.\n\n## Tech\n\nPoster-bot uses a number of open source projects to work properly:\n\n- Python - interpreted, object-oriented, high-level programming language!\n- Asyncio - library to write concurrent code using the async/await syntax.\n- Aiogram - modern and fully asynchronous framework for Telegram Bot.\n- Aiohttp - HTTP client/server for asyncio.\n- BeautifulSoup4 - library for pulling data out of HTML and XML files.\n- Asyncpraw - python package that allows for simple access to Reddit's API.\n\nSet the environment variables in the .env file (Required variables are given below for development)\n\n```\n# Telegram token\nBOT_TOKEN=\n\n# Channal IDS\nHUMOR_CHAT_ID=\nNEWS_CHAT_ID=\nUSER_ID=\n\n# Reddit enviroment variabels\nCLIENT_ID=\nCLIENT_SECRET=\nREDIRECT_URI=\n```\n\nMake a python file `memes/local_tools.py`\n```\nlst_subreddits = ['\u003cname-of-your-subreddit_1\u003e','\u003cname-of-your-subreddit_2\u003e']\n```\n\n## Installation\n\nPoster-bot requires [Python](https://www.python.org/) v3+ to run.\n\nInstall the dependencies and run the bot.\n\n```sh\ncd poster-bot\npip install -r requirements.txt\npython main.py\n```\n\n## Docker\n\nPoster Bot is very easy to install and deploy in a Docker container.\n\n```sh\ncd poster-bot\ndocker build -t poster .\n```\n\nThis will create the poster image and pull in the necessary dependencies.\nNow you can run the Docker image.\n```sh\ndocker run -d poster\n```\n\n## Now you can run the bot commands in the bot\nRun posting news\n```\n/post_news\n```\nRun posting memes\n```\n/post_memes\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikefromru%2Fposter-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikefromru%2Fposter-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikefromru%2Fposter-bot/lists"}