Skip to content

veokhan/opencode-claude-bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OCB - OpenCode Bridge

Use OpenCode AI models directly in Claude Code!

Quick Start

# Clone the repo
git clone https://github.com/veokhan/ocb.git
cd ocb

# Install dependencies
npm install

# Build
npm run build

# Start the server
npm run start

Usage Commands

# Start server only
npm run start

# Stop server
npm run stop

# Setup Claude Code config
npm run cli -- setup

Or Use npx (No Install Needed)

# Clone
git clone https://github.com/veokhan/ocb.git
cd ocb

# Install deps
npm install

# Use via npx
npx tsx src/cli.ts start
npx tsx src/cli.ts setup

After Running

  1. Dashboard: http://localhost:8300
  2. Use Claude Code:
    claude --print

Features

  • 🌐 2540+ Models from 89 providers
  • 📊 Usage Tracking
  • Auto-Configuration

GitHub

https://github.com/veokhan/ocb

About

Use OpenCode AI models in Claude Code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors