{"id":22570611,"url":"https://github.com/soltanoff/github_release_monitor_bot","last_synced_at":"2025-03-28T14:23:32.043Z","repository":{"id":177219775,"uuid":"660091807","full_name":"soltanoff/github_release_monitor_bot","owner":"soltanoff","description":"Simple release monitor for GitHub repositories based on telegram bot","archived":false,"fork":false,"pushed_at":"2025-02-22T21:13:44.000Z","size":533,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-22T22:19:36.583Z","etag":null,"topics":["aiogram-bot","release-monitoring","sqlalchemy","sqlite3","telegram-bot","telegram-bot-api"],"latest_commit_sha":null,"homepage":"","language":"Python","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/soltanoff.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":"2023-06-29T08:18:23.000Z","updated_at":"2025-02-22T21:11:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"f339068f-bf33-4776-8403-535128f4228e","html_url":"https://github.com/soltanoff/github_release_monitor_bot","commit_stats":null,"previous_names":["soltanoff/github_release_monitor_bot"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soltanoff%2Fgithub_release_monitor_bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soltanoff%2Fgithub_release_monitor_bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soltanoff%2Fgithub_release_monitor_bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soltanoff%2Fgithub_release_monitor_bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soltanoff","download_url":"https://codeload.github.com/soltanoff/github_release_monitor_bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246043007,"owners_count":20714347,"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-bot","release-monitoring","sqlalchemy","sqlite3","telegram-bot","telegram-bot-api"],"created_at":"2024-12-08T01:10:33.678Z","updated_at":"2025-03-28T14:23:32.001Z","avatar_url":"https://github.com/soltanoff.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Release Monitor bot\n\n[![\\[Telegram\\] aiogram live](https://img.shields.io/badge/telegram-aiogram-blue.svg?style=flat-square)](https://t.me/aiogram_live)\n[![Supported python versions](https://img.shields.io/pypi/pyversions/aiogram.svg?style=flat-square)](https://pypi.python.org/pypi/aiogram)\n[![Telegram Bot API](https://img.shields.io/badge/Telegram%20Bot%20API-8.0-blue.svg?style=flat-square\u0026logo=telegram)](https://core.telegram.org/bots/api)\n[![MIT License](https://img.shields.io/pypi/l/aiogram.svg?style=flat-square)](https://opensource.org/licenses/MIT)\n\nSimple release monitor for GitHub repositories based on telegram bot.\n\nYou may try it on telegram - [here](http://t.me/github_release_monitor_bot) :)\n\n## Command list\n\n- `/help` - view all commands\n- `/start` - base command for user registration\n- `/my_subscriptions` - view all subscriptions\n- `/subscribe` - \\[github repo urls] subscribe to the new GitHub repository\n- `/unsubscribe` - \\[github repo urls] unsubscribe from the GitHub repository\n- `/remove_all_subscriptions` - remove all exists subscriptions\n\n\u003cdetails\u003e\u003csummary\u003eExamples here\u003c/summary\u003e\n\u003ccode\u003e/subscribe https://github.com/sqlalchemy/sqlalchemy\u003c/code\u003e\n\nFYI: bot will send you info about updates automatically.\n\n![subscribe_example.jpg](assets%2Fsubscribe_example.jpg)\n\n![fetch_example.jpg](assets%2Ffetch_example.jpg)\n\n\u003c/details\u003e\n\n## Config and environments variable\n\nConfig based on `.env` creation or set env-variables as you like (example: [.env.default](.env.default))\n\n### `TELEGRAM_API_KEY`\n\n- Find [BotFather](https://t.me/BotFather) account\n- Create a new bot\n- Generate API token and put it to config\n\n### `SURVEY_PERIOD`\n\nThis parameter is used to set the polling frequency for all url addresses. Default 1 hour.\n\n### `FETCHING_STEP_PERIOD`\n\nThis setting is used to set a timeout between each API request to prevent the rate limit from failing. Default 1 minute.\n\n## How to run\n\n### Without Docker:\n\n- Make virtual environment\n- Install package requirements\n- Create `.env` or set env-variables as you like (example: [.env.default](.env.default))\n- Run it\n\n### With Docker\n\n- Create `.env` or set env-variables as you like (example: [.env.default](.env.default)\n  and see [docker-compose.yml](docker-compose.yml))\n- Run it!\n\n## Development tools\n\n### Bandit tool\n\n[Bandit](https://github.com/PyCQA/bandit) is a tool designed to find common security issues in Python code. To do this\nBandit processes each file, builds an AST from it, and runs appropriate plugins against the AST nodes. Once Bandit has\nfinished scanning all the files it generates a report.\n\n```shell\nbandit -c pyproject.toml -r .\n```\n\n### Safety tool\n\n[safety](https://pyup.io/safety/) is a tool designed to check installed dependencies for known security vulnerabilities.\n\n```shell\n# how to check all installed packages\nsafety check --policy-file .safety-policy.yml\n\n# how to check all dependencies\nsafety check -r requirements_dev.txt --policy-file .safety-policy.yml\n\n# json report \nmkdir -p reports/safety \u0026\u0026 safety check -r requirements_dev.txt --policy-file .safety-policy.yml --json --output reports/safety/result.json\n```\n\n### flake8\n\n[flake8](https://github.com/PyCQA/flake8) is a python tool that glues together pycodestyle, pyflakes, mccabe, and\nthird-party plugins to check the style and quality of some python code.\n\n```shell\nflake8 .\n```\n\n### pylint\n\n[pylint](https://github.com/pylint-dev/pylint) - static code analyzer for Python 2 or 3. It checks\npresence of bugs, enforces the coding standard, tries to find problems in the code and can suggest suggestions\ncode refactoring.\n\n```shell\npylint $(git ls-files '*.py')\n```\n\n## My subscriptions\n\n- https://github.com/sqlalchemy/sqlalchemy\n- https://github.com/soltanoff/github_release_monitor_bot\n- https://github.com/python/cpython\n- https://github.com/pylint-dev/pylint\n- https://github.com/PyCQA/flake8\n- https://github.com/john-hen/Flake8-pyproject\n- https://github.com/pyupio/safety\n- https://github.com/python-greenlet/greenlet\n- https://github.com/aiogram/aiogram\n- https://github.com/python-poetry/poetry\n- https://github.com/sqlalchemy/alembic\n- https://github.com/ultrajson/ultrajson\n- https://github.com/MagicStack/uvloop\n- https://github.com/encode/uvicorn\n- https://github.com/tiangolo/fastapi\n- https://github.com/aio-libs/aiohttp\n- https://github.com/django/django\n- https://github.com/encode/django-rest-framework\n- https://github.com/pyca/cryptography\n- https://github.com/pytest-dev/pytest\n- https://github.com/nedbat/coveragepy\n- https://github.com/redis/redis-py\n- https://github.com/sparckles/robyn\n- https://github.com/PyCQA/bandit\n- https://github.com/litestar-org/litestar\n- https://github.com/jd/tenacity\n- https://github.com/aminalaee/sqladmin\n- https://github.com/wagtail/wagtail\n- https://github.com/zmievsa/cadwyn\n- https://github.com/litestar-org/litestar-pg-redis-docker\n- https://github.com/bigskysoftware/htmx\n- https://github.com/Bogdanp/dramatiq\n- https://github.com/jcrist/msgspec\n- https://github.com/ijl/orjson\n- https://github.com/PrefectHQ/prefect\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoltanoff%2Fgithub_release_monitor_bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoltanoff%2Fgithub_release_monitor_bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoltanoff%2Fgithub_release_monitor_bot/lists"}