lhpqaq

lhpqaq / all2api

Public

将不同上游服务(目前支持 Cursor 和 Zed)的非标准化 API 接口,统一转换为 OpenAI 或 Anthropic 协议接口。

15
7
69% credibility
Found Mar 20, 2026 at 15 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Go
AI Summary

This open-source gateway converts non-standard chat APIs from AI services like Cursor, Zed, and Tabbit into familiar OpenAI and Anthropic formats, with simulated tool support.

How It Works

1
🔍 Discover all2api

You find this handy tool on GitHub that lets different AI helpers speak the same language for chatting.

2
🐳 Start it easily

Use a one-click container setup to get your gateway running on your computer in moments.

3
🌐 Connect your AI friends

Run a simple login command that opens your browser, sign in to services like Zed or Cursor, and it grabs what it needs securely.

4
⚙️ Tweak if you like

Optionally add network helpers or pick your main AI buddy in the easy settings file.

5
💬 Chat away

Send everyday chat messages or ask it to use special helpers, just like with popular AI services.

AI magic flows

Get smart replies and tool actions back smoothly, all unified and ready for your projects.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 15 to 15 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 all2api?

all2api is a Go-built API gateway that converts non-standard APIs from Cursor and Zed editors into OpenAI Chat Completions and Anthropic Messages endpoints. It solves cursor github integration headaches, like bad credentials, login failures, and token issues, by auto-fetching auth tokens via browser login CLI commands and exposing unified /v1/chat/completions or /v1/messages paths. Developers get drop-in compatibility for cursor zed ai workflows without rewriting clients.

Why is it gaining traction?

It stands out with seamless Docker Compose setup, per-upstream proxies/timeouts, and tool call emulation via prompt injection—perfect for cursor github copilot or pull request automation where upstreams lack native support. The CLI simplifies cursor github token grabs and Zed logins, while dynamic /v1/models lists available options like cursor zed themes or integrations. No more fighting zed cursor width quirks or animation glitches in mixed setups.

Who should use this?

AI tool builders integrating cursor extension github features into OpenAI/Anthropic clients, or Zed users experimenting with cursor zed vscode extensions and MCP. Ideal for indie devs hacking cursor github issues bots or zed cursor acp workflows needing anthropic protocol swaps. Skip if you're deep into production-scale cursor zed windsurf without custom auth.

Verdict

Worth a spin for personal cursor zed integration projects—solid Docker flow and CLI make it practical despite 15 stars and 0.699999988079071% credibility score signaling early maturity. Heed the EULA warnings; great prototype tool, but test thoroughly before cursor github pr reliance.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.