{"id":14979067,"url":"https://github.com/dialoguemd-archives/fastapi-slack","last_synced_at":"2025-09-09T13:44:52.892Z","repository":{"id":38961869,"uuid":"324233815","full_name":"dialoguemd-archives/fastapi-slack","owner":"dialoguemd-archives","description":"Slack extension for FastAPI.","archived":false,"fork":false,"pushed_at":"2023-07-25T17:36:32.000Z","size":112,"stargazers_count":10,"open_issues_count":5,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-11T16:41:39.786Z","etag":null,"topics":["fastapi","slack","slackbot","slash-commands"],"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/dialoguemd-archives.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":"2020-12-24T20:46:44.000Z","updated_at":"2023-10-22T23:38:35.000Z","dependencies_parsed_at":"2024-09-19T01:07:15.651Z","dependency_job_id":"d034bd45-0bd1-4c70-af29-e1592c3e17b0","html_url":"https://github.com/dialoguemd-archives/fastapi-slack","commit_stats":{"total_commits":17,"total_committers":2,"mean_commits":8.5,"dds":0.2941176470588235,"last_synced_commit":"ebd19597082782c8838f8fd49055a3ed2e027811"},"previous_names":["dialoguemd/fastapi-slack"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/dialoguemd-archives/fastapi-slack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dialoguemd-archives%2Ffastapi-slack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dialoguemd-archives%2Ffastapi-slack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dialoguemd-archives%2Ffastapi-slack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dialoguemd-archives%2Ffastapi-slack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dialoguemd-archives","download_url":"https://codeload.github.com/dialoguemd-archives/fastapi-slack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dialoguemd-archives%2Ffastapi-slack/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259486264,"owners_count":22865452,"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":["fastapi","slack","slackbot","slash-commands"],"created_at":"2024-09-24T13:59:10.430Z","updated_at":"2025-06-14T22:09:42.967Z","avatar_url":"https://github.com/dialoguemd-archives.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fastapi-slack\n\n[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-brightgreen.svg)](https://conventionalcommits.org)\n[![CircleCI](https://circleci.com/gh/dialoguemd/fastapi-slack.svg?style=svg\u0026circle-token=d5088d3188d29980a98d21136927b0693ea7d90e)](https://circleci.com/gh/dialoguemd/fastapi-slack)\n[![codecov](https://codecov.io/gh/dialoguemd/fastapi-slack/branch/master/graph/badge.svg?token=CVU9WOYOEG)](https://codecov.io/gh/dialoguemd/fastapi-slack)\n\nSlack extension for FastAPI.\n\n## Configuration - Environment Variables\n\n### `slack_access_token`\n\nBot User OAuth Access Token as defined in OAuth \u0026 Permissions menu of the slack app.\n\n### `slack_signing_secret`\n\nApp signing secret as shown in Basic Information menu of the slack app in the App\nCredentials section.\n\n## Setup\n\n* Include fastapi-slack router:\n\n```python\nimport fastapi_slack\nfrom fastapi import FastAPI\n\n\napp = FastAPI()\napp.include_router(fastapi_slack.router)\n```\n\n## [Slash Commands]\n\nDepending on `fastapi_slack.SlashCommand` validates Slack request signature and extracts\nthe info needed to process it:\n\n```python\nfrom fastapi import Depends, FastAPI\nfrom fastapi_slack import SlashCommand, router\n\napp = FastAPI()\napp.include_router(router)\n\n\n@app.post(\"/slash-commands\")\ndef process_command(slash_command: SlashCommand = Depends()):\n    pass\n```\n\n\n[Slash Commands]: https://api.slack.com/interactivity/slash-commands\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdialoguemd-archives%2Ffastapi-slack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdialoguemd-archives%2Ffastapi-slack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdialoguemd-archives%2Ffastapi-slack/lists"}