{"id":18006647,"url":"https://github.com/jamesridgway/devdeck-slack","last_synced_at":"2025-03-26T12:30:53.570Z","repository":{"id":48075004,"uuid":"323967819","full_name":"jamesridgway/devdeck-slack","owner":"jamesridgway","description":"Slack deck and controls for DevDeck","archived":false,"fork":false,"pushed_at":"2021-11-08T10:28:38.000Z","size":6757,"stargazers_count":21,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-08-14T22:20:51.202Z","etag":null,"topics":["devdeck"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jamesridgway.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/funding.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null},"funding":{"github":"jamesridgway"}},"created_at":"2020-12-23T17:51:40.000Z","updated_at":"2023-11-25T15:38:32.000Z","dependencies_parsed_at":"2022-08-12T18:01:09.943Z","dependency_job_id":null,"html_url":"https://github.com/jamesridgway/devdeck-slack","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesridgway%2Fdevdeck-slack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesridgway%2Fdevdeck-slack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesridgway%2Fdevdeck-slack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesridgway%2Fdevdeck-slack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamesridgway","download_url":"https://codeload.github.com/jamesridgway/devdeck-slack/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222144811,"owners_count":16938458,"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":["devdeck"],"created_at":"2024-10-30T01:09:11.735Z","updated_at":"2024-10-30T01:09:12.274Z","avatar_url":"https://github.com/jamesridgway.png","language":"Python","funding_links":["https://github.com/sponsors/jamesridgway"],"categories":[],"sub_categories":[],"readme":"# DevDeck - Slack\n![CI](https://github.com/jamesridgway/devdeck-slack/workflows/CI/badge.svg?branch=main)\n\nSlack deck and controls for  [DevDeck](https://github.com/jamesridgway/devdeck).\n\nIn this example, you can manage your presence, status and do-not-disturb settings from your StreamDeck:\n\n![Stream Deck - Slack Integration using DevDeck](https://www.jamesridgway.co.uk/content/images/2020/12/streamdeck-slack.jpg)\n\n\n## Installing\nSimplify install *DevDeck - Slack* into the same python environment that you have installed DevDeck.\n\n    pip install devdeck-slack\n\nYou can then update your DevDeck configuration to use decks and controls from this package.\n\n## Configuration\n\nExample configuration:\n\n    decks:\n      - serial_number: \"ABC123\"\n        name: 'devdeck.decks.single_page_deck_controller.SinglePageDeckController'\n        settings:\n          controls:\n            - name: 'devdeck_slack.slack_deck.SlackDeck'\n              key: 0\n              settings:\n                api_key: 'YOUR_API_KEY_GOES_HERE'\n                actions:\n                  - action: online\n                    key: 0\n                  - action: away\n                    key: 1\n                  - action: status\n                    key: 2\n                    text: At my desk\n                    emoji: ':desktop_computer:'\n                    clear_dnd: true\n                  - action: status\n                    key: 5\n                    text: In a meeting\n                    emoji: ':calendar:'\n                  - action: status\n                    key: 6\n                    text: Lunch\n                    emoji: ':sandwich:'\n                  - action: status\n                    key: 7\n                    text: Off sick\n                    emoji: ':face_with_thermometer:'\n                    until: tomorrow at 8am\n                  - action: status\n                    key: 8\n                    text: On holiday\n                    emoji: ':palm_tree:'\n                  - action: dnd\n                    key: 10\n                    duration: 15\n                  - action: dnd\n                    key: 11\n                    duration: 30\n                  - action: dnd\n                    key: 12\n                    duration: 45\n                  - action: dnd\n                    key: 13\n                    duration: 60\n                  - action: dnd\n                    key: 14\n                    duration: 120\n\n\n## Registering your app and creating permissions\nThis plugin requires a Slack API key to function.\n\nHead over to https://api.slack.com/apps to create your app.\n\nOnce you have created your app you will be able to access your OAuth Access Token under **OAuth \u0026 Permissions** - this\nis your `api_key` value.\n\n### Scopes\nUnder **User Token Scopes** you need want to enable the following scopes:\n\n* `dnd:read`\n* `dnd:write`\n* `users.profile:write`\n* `users:write`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesridgway%2Fdevdeck-slack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamesridgway%2Fdevdeck-slack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesridgway%2Fdevdeck-slack/lists"}