ryoppippi/curxy

Simple proxy worker for using ollama in cursor

What it solves

It enables the Cursor editor to connect to a local Ollama server. Because Cursor sends requests through its own official servers rather than directly from the client, a standard localhost endpoint cannot be reached. Curxy provides a public proxy to bridge this gap.

How it works

Curxy acts as a proxy server that forwards requests from Cursor's servers to your local Ollama instance. It utilizes Cloudflare tunnels to create a public URL that can be entered into Cursor's "Override OpenAI Base URL" setting, allowing the remote Cursor server to communicate with your local machine.

Who it’s for

Developers using the Cursor AI editor who want to use local LLMs via Ollama instead of cloud-based models.

Highlights

  • Public URL generation via Cloudflare tunnels.
  • Support for API key-based access restriction for security.
  • Simple deployment using Deno.

Related

  • Project
  • Project
  • Project
  • Project