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

推荐订阅源

Y
Y Combinator Blog
IT之家
IT之家
博客园_首页
量子位
博客园 - 三生石上(FineUI控件)
小众软件
小众软件
博客园 - 聂微东
罗磊的独立博客
酷 壳 – CoolShell
酷 壳 – CoolShell
Hugging Face - Blog
Hugging Face - Blog
V
V2EX
爱范儿
爱范儿
大猫的无限游戏
大猫的无限游戏
宝玉的分享
宝玉的分享
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
雷峰网
雷峰网
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Google DeepMind News
Google DeepMind News
Microsoft Azure Blog
Microsoft Azure Blog
有赞技术团队
有赞技术团队
S
SegmentFault 最新的问题
Engineering at Meta
Engineering at Meta
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
GitHub - orchidfiles/ungate: Use your Claude and ChatGPT ...
theorchid · 2026-04-24 · via Hacker News: 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.