惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

量子位
D
DataBreaches.Net
Microsoft Security Blog
Microsoft Security Blog
V
Visual Studio Blog
GbyAI
GbyAI
美团技术团队
云风的 BLOG
云风的 BLOG
大猫的无限游戏
大猫的无限游戏
小众软件
小众软件
博客园 - 叶小钗
Engineering at Meta
Engineering at Meta
博客园 - 三生石上(FineUI控件)
N
Netflix TechBlog - Medium
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
G
Google Developers Blog
博客园 - 【当耐特】
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
宝玉的分享
宝玉的分享
阮一峰的网络日志
阮一峰的网络日志
T
The Blog of Author Tim Ferriss
Y
Y Combinator Blog
U
Unit 42
P
Proofpoint News Feed
V
V2EX

Show HN

GitHub - astefanutti/shaderbang: Shebang for Shaders Show HN: AI agents for UK GDAD PCF roles and their skills The Two Pillars: Mixer Mode and Meta-Software in the Reorganization of Software Work After AI GitHub - JaiCode08/teleport-env What 1,000+ Harness Experiments Taught Me About Self-Improving Agents Show HN: Liiists, a Markdown-first, iOS and CLI list app SwiperTab – Get this Extension for 🦊 Firefox (en-US) GitHub - kouhxp/fftext: Summarize, explain, fact-check, or translate any text, URL, or file. No GPU. No cloud. One command GitHub - sweetpad-dev/sweetpad: Develop Swift/iOS projects using VSCode GitHub - dogmaticdev/IRON: IRON a.k.a. Intermediate Representation Object Notation is a Interpreter/Database that is used to create Programming Languages. GitHub - sjhalani7/vaen: Package your AI coding harness into a portable .agent file, and share it across repos, teams, & the community without ever having to copy-paste instructions, skills, MCP config, or secrets. Show HN: Gandalf the Grader Show HN: Citadeld – replay any CI failure locally from a single file GitHub - tdortman/cuSBF: High-Performance GPU Super Bloom Filter coral-ai/claude-code-token-xray at main · Coral-Bricks-AI/coral-ai GitHub - ulyssestenn/funes: Funes is a Git-based framework for LLM-managed knowledge work: an AI Librarian ingests raw sources, builds an interlinked Markdown knowledge base, and uses it to produce cited reports, analyses, and other outputs. GitHub - ThatXliner/gah: Git Add Hunk, built for agents to use GitHub - harmont-dev/harmont-cli: Command-line client for the Harmont CI platform GitHub - brooksmcmillin/mcp-authflow: OAuth 2.0 Authorization Server framework for MCP servers GitHub - javaid-codes/audit-supply-chain-agents GitHub - amorey/gochan: A small library of common channel architectures for Go, inspired by Rust GitHub - arifozgun/OpenGem: Free, Open-Source AI API Gateway with Gemini, OpenAI & Anthropic Compatibility in 1 file GitHub - Pranesh950/BioPetals: 🌸 Run BIOxAI models at home, BitTorrent-style. Fine-tuning and inference up to 10x faster than offloading GitHub - cnguyen14/bounty-doctor: Diagnose a GitHub bounty issue before you waste hours: detects honeypot scam repos, AI-bot attempt swarms, and stale contests. Show HN: CoreMCP – MCP Server for On-Prem DBs Show HN: KittyHTML – Render HTML/CSS as an inline image in your terminal GitHub - bingud/filemat: Web-based file manager Show HN: TruthLens – Free multi-signal deepfake image detector GitHub - apexlocal-jz/claude-usage-tray: Windows system-tray app showing your Claude Code rate-limit usage at a glance. Zero deps, ~300 lines of PowerShell. Cross-IDE (works regardless of VS Code, Cursor, plain terminal). Release v0.1.2.1 · kouhxp/yapsnap
GitHub - orchidfiles/ungate: Use your Claude and ChatGPT ...
theorchid · 2026-04-24 · via Show HN

Ungate

Ungate

A Cursor-first extension for using Claude, ChatGPT, and MiniMax subscriptions in Cursor
instead of paying for API tokens.

Open VSX Downloads License: MIT Last commit

How it works

Ungate lets you use Claude, ChatGPT, and MiniMax in Cursor through account subscriptions instead of direct API token billing. Claude and ChatGPT authenticate via OAuth; MiniMax uses provider API credentials.

Cursor allows a custom OpenAI Base URL. Ungate listens on that URL and translates requests to the target provider API, including streaming, tool calls, and vision where supported.

The extension manages the tunnel that makes the proxy reachable to Cursor's backend and shows its settings in a Webview panel. From there you configure providers, copy the public proxy URL, and copy the proxy API key that Cursor uses to authenticate to your local proxy.

The status bar item shows separate API and tunnel state. Hover it to inspect the current tunnel URL and use quick actions for opening the dashboard, restarting the tunnel, and copying the tunnel URL.

Architecture

sequenceDiagram
  participant U as Chat
  participant B as Cursor backend
  participant C as Cloudflare tunnel
  participant D as Ungate proxy
  participant P as Provider API

  U->>B: Request
  B->>C: Forward request
  C->>D: Process request
  D->>P: Provider call

  P-->>D: Stream response
  D-->>C: Process response
  C-->>B: Forward response
  B-->>U: Response
Loading

Features

  • OpenAI-to-provider request translation
  • Streaming responses
  • Tool calls mapping
  • Image support
  • OAuth authentication via Claude or ChatGPT account
  • MiniMax API key authentication
  • MiniMax <think>...</think> reasoning separation
  • Request analytics
  • Analytics split by provider: Claude, OpenAI, and MiniMax
  • Built-in web UI panel

Provider support

Capability Claude OpenAI MiniMax
Authentication OAuth OAuth API key
Streaming Yes Yes Yes
Tool calls Yes Yes Yes
Vision Yes No Yes
Reasoning tiers Yes No No
Analytics Yes Yes Yes

Prerequisites

  • Cursor with custom OpenAI provider support enabled.
  • Node.js 20+ for local development and manual API runs.
  • Outbound internet access for OAuth and provider APIs.
  • A reachable public tunnel URL because Cursor backend cannot call localhost.

Installation

Install from the marketplace:

cursor --install-extension orchidfiles.ungate

Or search @id:orchidfiles.ungate in the Extensions panel.

Open VSX

Setup

Install the extension, then open the dashboard by clicking the Ungate item in the status bar.

Connect a Provider

Choose the provider you want to use and authenticate with it.
For Claude and ChatGPT, sign in through OAuth.
For MiniMax, enter your API key and choose a Base URL: Global, China, or Custom.

Configure Cursor

  1. In the Tunnel section, click Start tunnel, then copy the public URL shown in the panel.
  2. Paste it into Cursor Settings → Models → OpenAI Base URL.
  3. Copy the proxy API key from the same panel and paste it into Cursor Settings → Models → OpenAI API Key.

Add Models

  1. In the Models section, copy the model IDs you want and add them as custom models in Cursor.
  2. If you use MiniMax, add MiniMax-M2.7 as a custom model in Cursor.
  3. Select one of your custom models in Cursor and start chatting.

Quick verification

After setup, then send one test message from Cursor using a custom model ID.

Known limitations

  • Cursor built-in model IDs can bypass OpenAI Base URL and go directly to provider APIs.
  • Use only custom model IDs copied from Ungate Models in Cursor settings.
  • If Cursor still bypasses base URL, restart Cursor and re-check model selection.

Security and privacy

  • OAuth and provider credentials are stored locally on your machine.
  • Request metadata for analytics is stored in the local SQLite database.
  • Tunnel URL and proxy API key are secrets and should be treated like credentials.
  • Anyone with both values can send requests through your proxy.
  • Rotate your proxy key from the dashboard when you suspect leakage.

Local build and install in Cursor

git clone https://github.com/orchidfiles/ungate.git
cd ungate
pnpm install
pnpm run package:build
cursor --install-extension "apps/extension/out/ungate.vsix"

Development

Run the build in watch mode in one step with Command Palette -> Run Task -> build:watch all.

Or run it manually in the terminal:

pnpm --filter @ungate/dev-kit build
pnpm --filter @ungate/shared build:watch
pnpm --filter @ungate/api build:watch
pnpm --filter @ungate/web build:watch

After the build, press F5 to test the extension in Cursor debug mode.

You can also run the API separately from the extension on another port:

cd apps/api

# use the default database:
PORT=4784 node dist/main.js

# use a separate dev database:
DB_PATH=$HOME/.ungate/data-dev.db PORT=4784 node dist/main.js

Troubleshooting

Symptom Check Fix
Cursor ignores base URL Selected model is built-in Switch to custom model ID from Ungate Models
401 from proxy Cursor API key field Paste proxy API key from Ungate dashboard
404 or timeout through tunnel Tunnel status in Ungate panel Restart tunnel from dashboard
OAuth session expired Provider connection status Reconnect provider in dashboard
Model missing in Cursor Custom model list in Cursor Add model ID manually from Ungate Models

Quick facts

  • localhost does not work as OpenAI Base URL because Cursor calls the endpoint from its backend.
  • Tunnel is required for Cursor backend to reach your proxy.
  • Built-in provider model IDs can bypass custom base URL routing.
  • Provider switch flow: connect provider in Ungate, add its model ID in Cursor, then select that custom model.
  • Analytics data and API key is stored in local SQLite files under $HOME/.ungate/.

License

MIT

Support

Bug reports and feature requests: GitHub issues
Everything else: orchid@orchidfiles.com


Made by the author of orchidfiles.com — essays from inside startups.
If you found ungate useful, you'll probably enjoy the essays.