Integrations / Bitbucket
Bitbucket code & PRs, in your knowledge graph.
Oynix parses your Bitbucket repositories and pull requests, linking each change to the decisions that shaped it.
$ oynix connect bitbucketPrerequisites
- A Bitbucket app password / access token with repository read.
- The Oynix CLI installed and signed in (oynix login).
Setup steps
Install the Oynix CLI
Everything Oynix does runs from one small command-line tool on your own machine — there's nothing to deploy or host. Open your terminal (Terminal on Mac, PowerShell on Windows) and paste this in to install it:
$ curl -fsSL https://get.oynix.dev | sh- Don't have a terminal open? On Mac press ⌘+Space, type "Terminal", hit Enter.
- Paste the line, press Enter, and wait for it to finish — that's it.
- Check it installed: run oynix --version (it should print a version number).
Sign in
Tell Oynix who you are. This opens your browser to sign in with GitHub and links this computer to your workspace — it's how your edits, decisions and presence get attributed to you.
$ oynix login- Run the command; your browser opens automatically.
- Approve the sign-in with GitHub, then return to the terminal.
- If your team uses a workspace key, paste it when asked (a teammate with the master key issues it).
Create an app password
Bitbucket → Personal settings → App passwords. Grant repository (read) permission.
Connect Bitbucket
Run the command. Paste the token and the repo (owner/name); choose code, PRs, or both.
$ oynix connect bitbucketSync anytime
Oynix indexes the repo and links pull requests to the code they touched.
$ oynix connectors sync bitbucketCheck it worked
List your connectors to confirm Bitbucket shows up and is syncing. Once it's synced, ask the graph a question that should now have an answer from Bitbucket.
$ oynix connectors- You should see Bitbucket listed as "connected".
- Try it: oynix ask "what did we decide about …?" — answers can now draw on Bitbucket.
What gets indexed
Code
Repositories parsed at the AST level.
Pull requests
PR descriptions and reviews, linked to the code.
History
Authorship and change history.