Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

ianjwhite99/opencode-with-claude — OpenCode plugin to use your Claude Max/Pro subscription with OpenCode via Meridian

Description and use

**Brief summary (2‑3 sentences)**
The *opencode-with-claude* plugin lets developers hook their Claude Max/Pro subscription into OpenCode through the Meridian platform, turning Claude’s generative AI capabilities into a billing‑aware service. With a clean JavaScript SDK/CLI and ready‑made API hooks, it streamlines the implementation of payment‑service‑provider (PSP) and checkout flows for AI‑driven products.

**Value**

  • **Fast‑track monetisation** – By abstracting the Claude‑to‑OpenCode integration, the plugin removes the need to build custom authentication, usage‑tracking, and invoicing layers, letting teams focus on product features.
  • **Unified AI‑and‑payment stack** – It couples Claude’s advanced language model with Meridian’s payment orchestration, enabling use‑cases such as pay‑per‑token, subscription‑based AI access, or automated billing for AI‑generated content.
  • **Open‑source flexibility** – The JavaScript codebase can be extended or patched to match specific PSP requirements, compliance rules, or custom pricing models.

**Practical adoption path**

  1. **Clone the repo** and run the provided CLI to generate a starter integration project.
  2. **Configure credentials** – add your Claude Max/Pro API key and Meridian/PSP secrets in the .env file.
  3. **Select a payment flow** (e.g., subscription, metered usage) using the exposed SDK methods (createCheckoutSession, recordUsage, etc.).
  4. **Deploy** the service (e.g., to Vercel, Railway, or your own Node.js server) and point your OpenCode instance to the new endpoint.
  5. **Test** with the sandbox PSP credentials, then switch to production keys once the flow is verified.

**Production readiness**

  • **Recent activity** – last commit on 2026‑05‑12, 206 stars, 13 forks, and active issue discussions indicate a healthy community.
  • **Mature stack** – built in JavaScript with a clear API surface, making it easy to integrate into existing Node.js back‑ends.
  • **Ecosystem signals** – the project is listed under relevant topics (Payments, AI/ML) and aligns with Meridian’s documented integration patterns.
  • **Risk considerations** – while no immediate licensing or security red flags appear, a final review of the MIT‑style license, dependency vulnerabilities, and maintainers’ responsiveness is recommended before a full‑scale production rollout.

Overall, *opencode-with-claude* offers a high‑readiness, low‑effort path to monetize Claude‑powered features within OpenCode environments.

Problem

ianjwhite99/opencode-with-claude helps integrate monetization, billing, or PSP flows faster.

Outcome

High for an OSS candidate: recent activity, adoption, and ecosystem signals are strong enough for a serious pilot.

Workflow

  • integrate billing or checkout
  • evaluate PSP flows
  • automate payment operations

Evidence

OpenCode plugin to use your Claude Max/Pro subscription with OpenCode via Meridian

Source

  • Record date: 2026-09-11T15:20:10.838Z