{"id":25692564,"url":"https://github.com/pyvec/jechova","last_synced_at":"2025-04-24T05:15:48.025Z","repository":{"id":37932906,"uuid":"284313120","full_name":"pyvec/jechova","owner":"pyvec","description":"Máte téma? A mohla bych ho vidět?","archived":false,"fork":false,"pushed_at":"2024-06-04T06:30:42.000Z","size":165,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-24T05:15:30.991Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/pyvec.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}},"created_at":"2020-08-01T18:06:23.000Z","updated_at":"2022-01-18T15:29:43.000Z","dependencies_parsed_at":"2023-10-03T14:51:26.423Z","dependency_job_id":"454f2130-b035-4310-a488-ddae466772c7","html_url":"https://github.com/pyvec/jechova","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/pyvec%2Fjechova","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyvec%2Fjechova/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyvec%2Fjechova/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyvec%2Fjechova/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyvec","download_url":"https://codeload.github.com/pyvec/jechova/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250566511,"owners_count":21451234,"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":[],"created_at":"2025-02-24T23:09:27.168Z","updated_at":"2025-04-24T05:15:48.008Z","avatar_url":"https://github.com/pyvec.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jechová\n\nChecks whether the next meetup is announced on [pyvo.cz](https://pyvo.cz/). If not, sends a message to the specified Slack channel to remind about the situation and provide a link to documentation on how anyone can fix it.\n\n![screenshot](screenshot.png)\n\n## Usage\n\n1. [Create a Slack app](https://api.slack.com/apps?new_app=1).\n1. Add scopes allowing the app to write to Slack channels (`chat:write`, `chat:write.public`).\n1. Create a bot user for the app so it can act independently.\n1. Install the app for your workspace.\n1. Find the bot token (starts with `xoxb-`) and set it as an environment variable before running the script:\n\n```bash\n$ export SLACK_API_TOKEN=...\n$ python jechova.py '#pyvo-praha' praha-pyvo\n```\n\nFirst argument is a channel name where the message should go. Beware, if you specify it as `#pyvo-praha`, standard shell interprets the `#` as a start of a comment and will ignore the rest of the line. You must pass it either as `pyvo-praha` or as `'#pyvo-praha'` (both works).\n\nSecond argument is the meetup slug used in the meetup URL. For example, if the meetup URL is `https://pyvo.cz/praha-pyvo/`, the slug would be `praha-pyvo`.\n\nWhen debugging, force sending of the message by adding `-f`. (And use `#automatizace` or other less populated channel.)\n\n## Deployment\n\nThe script is deployed as a [daily GitHub Action](https://github.com/pyvec/jechova/actions). `SLACK_API_TOKEN` needs to be [set as a secret](https://github.com/pyvec/jechova/settings/secrets). If you want Jechová to handle meetup in your town as well, just [add a new workflow](https://github.com/pyvec/jechova/tree/master/.github/workflows).\n\n## Dependencies and CI\n\n[@dependabot](https://dependabot.com/) is set up to automatically upgrade dependencies on the repo. It won't automerge PRs if there are no checks though, so there's also a [default build as a GitHub Action](https://github.com/pyvec/jechova/blob/master/.github/workflows/build.yml), currently only consisting of a linter check.\n\nThere are no tests. If the code breaks, we'll know when it crashes during the daily cron build.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyvec%2Fjechova","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyvec%2Fjechova","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyvec%2Fjechova/lists"}