Docsy turns Slack threads into GitHub pull requests against your documentation repository.
Deploy Docsy yourself or check the documentation for getting started with the hosted version.
- Start the Slack bot:
just slack- Start ngrok in a separate terminal:
just ngrokTo create a new database migration from the project root:
poetry shell
alembic --config=docsy/alembic.ini revision --autogenerate -m "your migration message"The application requires a persistent volume mapped to /app/data/ within the container.
docker build -t getdocsy/slack-bot .docker run -v=/Users/xilef/Documents/docsy/data/:/app/data \
--env-file=secrets.docsy-dev.docker.env \
-p 3000:3000 \
felixzieger/docsyCreate a secrets.docsy-dev.docker.env file with the following environment variables:
LOG_LEVEL=DEBUG
OPENAI_API_KEY=sk-...
SLACK_SIGNING_SECRET=...
SLACK_CLIENT_ID=...
SLACK_CLIENT_SECRET=...
GITHUB_APP_ID=...
GITHUB_APP_PRIVATE_KEY=...| Variable | Description | Notes |
|---|---|---|
LOG_LEVEL |
Logging verbosity | Options: DEBUG, INFO |
OPENAI_API_KEY |
OpenAI API key | Required for AI features |
SLACK_SIGNING_SECRET |
Slack app signing secret | Required for Slack integration |
SLACK_CLIENT_ID |
Slack app client ID | Required for Slack integration |
SLACK_CLIENT_SECRET |
Slack app client secret | Required for Slack integration |
GITHUB_APP_ID |
GitHub App ID | Required for GitHub integration |
GITHUB_APP_PRIVATE_KEY |
GitHub App private key | Must be formatted without newlines. Use: awk '{printf "%s\\n", $0}' github-app.pem |