Skip to content

docs: Add OpenCode install instructions#16235

Open
Quantumlyy wants to merge 7 commits into
PostHog:masterfrom
Quantumlyy:Quantumlyy/opencode-docs-page
Open

docs: Add OpenCode install instructions#16235
Quantumlyy wants to merge 7 commits into
PostHog:masterfrom
Quantumlyy:Quantumlyy/opencode-docs-page

Conversation

@Quantumlyy
Copy link
Copy Markdown

@Quantumlyy Quantumlyy commented Apr 8, 2026

Changes

  • Added a new /docs/llm-analytics/installation/opencode page covering prerequisites, plugin setup, PostHog environment variables, verification steps, configuration options, privacy mode, and next steps.
  • Added OpenCode to the LLM analytics installation navigation so it appears in the docs sidebar and installation platform list.
  • Added a dedicated IconOpenCode OS icon using the provided light/dark SVG assets and wired it into the docs/nav.

https://www.npmjs.com/package/opencode-posthog is based on Posthog-Pi.

CleanShot 2026-04-08 at 10 44 00@2x CleanShot 2026-04-08 at 10 43 30@2x CleanShot 2026-04-08 at 10 44 07@2x

Checklist

  • I've read the docs and/or content style guides.
  • Words are spelled using American English
  • Use relative URLs for internal links
  • I've checked the pages added or changed in the Vercel preview build
  • If I moved a page, I added a redirect in vercel.json

Copilot AI review requested due to automatic review settings May 10, 2026 12:54
@Quantumlyy
Copy link
Copy Markdown
Author

Hello, any updates?

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds documentation and UI/navigation wiring for installing PostHog LLM analytics capture via the OpenCode terminal agent (using the opencode-posthog plugin), including a dedicated OpenCode icon and sidebar entry so the new guide appears alongside other LLM analytics installation options.

Changes:

  • Added new OpenCode installation guide at /docs/llm-analytics/installation/opencode.
  • Added OpenCode to the LLM analytics installation navigation so it shows up in the docs sidebar and installation platform list.
  • Introduced IconOpenCode in OSIcons and referenced it from nav + MDX frontmatter.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/navs/index.js Adds OpenCode as a selectable installation option in the LLM analytics installation nav.
src/components/OSIcons/Icons.tsx Adds a new IconOpenCode SVG icon (light/dark fills).
contents/docs/llm-analytics/installation/opencode.mdx New MDX guide covering prerequisites, setup, verification, configuration, and privacy mode.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread contents/docs/llm-analytics/installation/opencode.mdx
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.

2 participants