AmazingAng

Lightweight Claude OAuth to OpenAI-compatible API proxy

16
1
100% credibility
Found Mar 14, 2026 at 13 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

Lightweight local proxy converting a single Claude OAuth login into an OpenAI-compatible chat endpoint for personal use.

How It Works

1
🔍 Discover easy Claude access

You find a handy tool that lets you use your Claude chats in apps expecting a simple chat service.

2
📥 Bring it home

Download the tool to your computer and prepare it in a few moments.

3
🌐 Connect your Claude login

A browser window opens, you sign in to your Claude account once, and it links securely.

4
▶️ Wake it up

Click to start your personal Claude helper running on your machine.

5
🔗 Hook up your apps

Tell your favorite chat tools or programs to talk to your local helper instead.

6
💬 Chat away

Send questions and get Claude's clever answers streaming back smoothly.

🎉 Claude at your fingertips

Now enjoy full Claude power in any app, safely using just your own account.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 13 to 16 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is auth2api?

auth2api is a lightweight TypeScript proxy that converts a single Claude OAuth login into an OpenAI-compatible API endpoint. Developers log in once via browser—auto or manual mode—and get endpoints like /v1/chat/completions, /v1/models, and native Claude /v1/messages for streaming, tools, images, and token counting. It solves the hassle of using Claude without API keys, proxying your personal Claude Max sub to any OpenAI SDK or client like Claude Code.

Why is it gaining traction?

Unlike bloated multi-provider gateways, this github lightweight claude oauth proxy stays laser-focused: single-account simplicity, auto-token refresh, per-IP rate limiting, and health checks via /admin/accounts. OpenAI-compatible responses mix seamlessly with Claude passthrough, plus Docker-compose for one-command deploys. The cloaking options hide proxy usage from upstream, making it a stealthy lightweight github alternative for Claude api access.

Who should use this?

AI devs swapping Claude into OpenAI workflows without SDK rewrites. Local proxy runners for Claude Code via ANTHROPIC_BASE_URL. Solo tinkerers with Claude Max testing lightweight typescript proxies before scaling.

Verdict

Grab it for quick Claude-openai bridging—solid README, yaml config, smoke tests, MIT license—but at 13 stars and 1.0% credibility score, treat as experimental. Fork and harden for prod; ideal starter for personal rigs.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.