OCP v3.5.0: Zero-Config LAN Sharing — Your Family Can Use Claude in 30 Seconds

  • Автор темы Автор темы Sascha
  • Дата начала Дата начала

Sascha

Команда форума
Администратор
Ofline
https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F735uuz97tvesiicf89t1.png

The Problem​


You're paying for Claude Pro/Max. Your family wants to use AI tools too. Do you:

  • Buy separate subscriptions for everyone? 💸
  • Share your login? (against ToS)
  • Set up a proxy... but make everyone configure API keys?

The Solution: OCP v3.5.0​


OCP (Open Claude Proxy) turns your Claude subscription into a standard OpenAI-compatible API. v3.5.0 makes sharing effortless:

Zero-Config for Everyone​


Before (v3.4): Admin creates keys → shares keys → each person configures env vars → hope they don't mess it up.

Now (v3.5): Family member runs one command. Done.


Код:
curl -fsSL https://raw.githubusercontent.com/dtzp555-max/ocp/main/ocp-connect | bash -s -- 192.168.1.100



No keys. No Node.js. No repo clone. Just curl + python3 (already on every Mac/Linux).

How It Works​


Код:
Wife's laptop   ──┐
Son's iPad      ───┼──→ OCP (your Mac mini) ──→ Claude subscription
Your Pi server  ───┤
Your desktop    ──┘


  1. Server (one-time, on an always-on device):

Код:
git clone https://github.com/dtzp555-max/ocp.git && cd ocp
node setup.mjs --bind 0.0.0.0


  1. Each client (30 seconds):

Код:
curl -fsSL .../ocp-connect | bash -s -- <server-ip>
source ~/.bashrc
# Done. Claude works in any IDE now.


Optional: Per-User Tracking​


Want to see who's using how much? Keys are optional — create them when you want tracking:


Код:
ocp keys add wife-laptop
ocp keys add son-ipad
ocp usage --by-key



Or just check the web dashboard at http://<server-ip>:3456/dashboard.

What Else is New​

  • Localhost = admin — no token needed on the server machine
  • Dashboard URL auth — share ?token=xxx links directly
  • authMode in /health — clients can detect auth requirements programmatically

Works With Everything​


Any tool that speaks OpenAI protocol: Cline, OpenCode, Aider, Continue.dev, OpenClaw, and more.



GitHub: dtzp555-max/ocp

$0 extra cost. One subscription. Whole household.

 
Назад
Сверху Снизу