Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,33 @@ ANTHROPIC_API_KEY=x ANTHROPIC_BASE_URL=http://127.0.0.1:3456 opencode

The API key value doesn't matter — Meridian authenticates through your Claude Max session, not API keys.

## Install from Source

```bash
git clone https://github.com/rynfar/meridian.git
cd meridian
npm install
```

Requires: Node.js >=22. Choose your preferred runtime:

**Option 1: Build + supervisor (Node.js only)**
```bash
npm run build && npm start
```

**Option 2: bun (native TypeScript execution)**
```bash
bun install
bun run dev
bun run start # for auto-restart supervisor
```

**Option 3: tsx (no build step, Node.js only)**
```bash
npm run dev
```

## Why Meridian?

You're paying for Claude Max. It includes programmatic access through the Claude Code SDK. But your favorite coding tools expect an Anthropic API endpoint and an API key.
Expand Down
9 changes: 8 additions & 1 deletion bin/claude-proxy-supervisor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,14 @@ cd "$SCRIPT_DIR/.."
if [ -f dist/cli.js ]; then
PROXY_CMD="node dist/cli.js"
else
PROXY_CMD="bun run ./bin/cli.ts"
# bun preferred (native TS execution), tsx fallback (no build step)
if command -v bun >/dev/null 2>&1; then
PROXY_CMD="bun run ./bin/cli.ts"
elif command -v tsx >/dev/null 2>&1; then
PROXY_CMD="tsx ./bin/cli.ts"
else
PROXY_CMD="npx tsx ./bin/cli.ts"
fi
fi

SHUTTING_DOWN=0
Expand Down
Loading