Skip to content

feat: Slack question gateway — push-based CLI↔Slack bridge#35

Open
A-Souhei wants to merge 1 commit intomainfrom
feature/slack-question-gateway
Open

feat: Slack question gateway — push-based CLI↔Slack bridge#35
A-Souhei wants to merge 1 commit intomainfrom
feature/slack-question-gateway

Conversation

@A-Souhei
Copy link
Owner

Summary

  • Adds slack-app-data-capture/ — a lightweight Python FastAPI gateway that bridges opencode's interactive question system with Slack
  • CLI pushes questions via POST /questions, polls GET /questions/{id} for answers — gateway never calls back to the CLI
  • Mandatory API_KEY bearer auth with HMAC constant-time comparison and per-IP rate limiting
  • Alpine-based Docker image (~<100MB), SQLite storage, Slack Socket Mode (no inbound ports needed for Slack)
  • Adds Mintlify docs page at packages/docs/integrations/slack-gateway.mdx

Architecture

Local CLI  →  POST /questions  →  Gateway (remote domain)  →  Slack
Local CLI  ←  GET /questions/{id} (poll)  ←  Gateway (Socket Mode reply)

Files changed

  • slack-app-data-capture/ — full gateway service (main.py, Dockerfile, docker-compose.yml, requirements, .env.example, README)
  • packages/docs/integrations/slack-gateway.mdx — new Mintlify docs page
  • packages/docs/docs.json — nav updated to include new page

Push-based FastAPI gateway (slack-app-data-capture) that bridges
opencode CLI interactive questions to Slack. CLI pushes questions
via POST /questions, polls GET /questions/{id} for answers.
Includes Docker setup, mandatory API_KEY auth, SQLite storage,
and Mintlify docs page.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant