Confluence context provider for OpenCtx
OpenCtx context provider for bringing Confluence context into code AI and editors.
Usage
- Create an API token
- Configure your OpenCtx client
"openctx.providers": {
"https://openctx.org/npm/@openctx/provider-confluence": {
"url": "https://some-org.atlassian.net/wiki",
"email": "<email-address>",
"apiToken": "<api-token>",
}
},
Mention support
Context included
Configuration
url
— Confluence URL — Required (e.g. "https://some-org.atlassian.net/wiki"
)email
— Email — RequiredapiToken
— API token — Required
Development
Local Testing
- Clone the repo
pnpm install
pnpm -C provider/confluence bundle --watch
to automatically recompile on changes- Run
echo file://$(pwd)/provider/confluence/dist/bundle.js
and use that URL in your OpenCtx instead of "https://openctx.org/npm/@openctx/provider-confluence"
- Reload your OpenCtx client