{"id":17350516,"url":"https://github.com/pilosus/dienstplan","last_synced_at":"2025-04-14T20:31:17.414Z","repository":{"id":38413771,"uuid":"420209158","full_name":"pilosus/dienstplan","owner":"pilosus","description":"Slack bot app for duty rotations","archived":false,"fork":false,"pushed_at":"2024-09-25T19:16:47.000Z","size":856,"stargazers_count":21,"open_issues_count":4,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-28T09:01:54.737Z","etag":null,"topics":["bot","rotation","slack","slack-api","slack-bot","slackbot"],"latest_commit_sha":null,"homepage":"https://dienstplan-slack.pilosus.org","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pilosus.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","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},"funding":{"github":"pilosus"}},"created_at":"2021-10-22T18:50:14.000Z","updated_at":"2024-09-25T19:16:29.000Z","dependencies_parsed_at":"2022-08-24T09:50:38.838Z","dependency_job_id":"322f5d7c-6cb8-4560-bef0-801ada21e0c9","html_url":"https://github.com/pilosus/dienstplan","commit_stats":{"total_commits":110,"total_committers":4,"mean_commits":27.5,"dds":0.0636363636363636,"last_synced_commit":"a9f4795930bbe824e0aefde7f0740c4b9f637a07"},"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilosus%2Fdienstplan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilosus%2Fdienstplan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilosus%2Fdienstplan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilosus%2Fdienstplan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pilosus","download_url":"https://codeload.github.com/pilosus/dienstplan/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248955512,"owners_count":21189141,"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":["bot","rotation","slack","slack-api","slack-bot","slackbot"],"created_at":"2024-10-15T17:07:14.427Z","updated_at":"2025-04-14T20:31:16.861Z","avatar_url":"https://github.com/pilosus.png","language":"Clojure","funding_links":["https://github.com/sponsors/pilosus"],"categories":[],"sub_categories":[],"readme":"# dienstplan: slack duty rotations made easy\n\n[![codecov](https://codecov.io/gh/pilosus/dienstplan/branch/main/graph/badge.svg?token=2ouqzEwhLc)](https://codecov.io/gh/pilosus/dienstplan)\n[![Docker version](https://img.shields.io/docker/v/pilosus/dienstplan?logo=docker\u0026label=Docker)](https://hub.docker.com/r/pilosus/dienstplan/tags)\n\nSlack bot for duty rotations.\n\n## Why\n\n- Dead simple: a few commands to manage on-call duty rotations in your team's Slack channels\n- Follows the rule \"Do One Thing and Do It Well\"\n- Plays nicely with Slack [reminders](https://slack.com/resources/using-slack/how-to-use-reminders-in-slack) and [workflows](https://slack.com/features/workflow-automation)\n- Supports [crontab](https://man7.org/linux/man-pages/man5/crontab.5.html) for scheduling\n\n## Quick example\n\n[![screencast](https://blog.pilosus.org/images/dienstplan.gif \"Watch the screencast on YouTube\")](https://youtu.be/pZWJYpsT1_w)\n\nLet's create a rotation using `dienstplan`. Just pass in a `create`\ncommand followed by a rotation name, a list of the channel users in a\nrotation, and a rotation description:\n\n```\n@dienstplan create my-rota @user1 @user2 @user3\nOn-call engineer's duties:\n- Process support team questions queue\n- Resolve service alerts\n- Check service health metrics\n- Casual code refactoring-\n Follow the boy scout rule: always leave the campground cleaner than you found it\n```\n\nOnce the rota is set up, the first user in the list becomes a current\non-call person. Check it with a `who` command:\n\n```\n@dienstplan who my-rota\n```\n\nTo change the current on-call person to the next one use `rotate`\ncommand:\n\n```\n@dienstplan rotate my-rota\n```\n\nThe bot iterates over the users in the list order:\n\n```\n@user1 -\u003e @user2 -\u003e  @user3 -\u003e @user1 -\u003e @user2 ...\n```\n\nNow that you know the basics, let's automate rotation and current duty\nnotifications with Slack's built-in `/remind` command. First, set up a\nreminder to rotate users weekly:\n\n```\n/remind #my-channel to \"@dienstplan rotate my-rota\" every Monday at 9AM UTC\n```\n\nSecond, remind duties to a current on-call person:\n\n```\n/remind #my-channel to \"@dienstplan who my-rota\" every Monday, Tuesday, Wednesday, Thursday, Friday at 10AM UTC\n```\n\nIf you prefer [crontab](https://en.wikipedia.org/wiki/Cron) format for\nschedule description, use `schedule` command instead of `/remind`:\n\n```\n@dienstplan schedule create \"rotate my-rota\" 0 9 * * Mon\n@dienstplan schedule create \"who my-rota\" 0 10 * * Mon-Fri\n```\n\n## Help\n\nSee [documentation](https://dienstplan-slack.pilosus.org/) for more details on\ninstallation and usage.\n\n## Contributing\n\nSee\n[Contributing](https://github.com/pilosus/dienstplan/tree/main/CONTRIBUTING.md)\nguide.\n\n## License\n\nSee [LICENSE](https://github.com/pilosus/dienstplan/tree/main/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpilosus%2Fdienstplan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpilosus%2Fdienstplan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpilosus%2Fdienstplan/lists"}