openflarestack Star this repo
  1. Catalog
  2. LLM gateways
  3. Cline2API
Ranked 73 of 268

Cline2API

pingmike2/cline2api-workers

Turns Cline’s free AI models into an OpenAI‑compatible API you can run on Cloudflare Workers for free.

A self-hosted alternative to OpenAI.

What it sets up in your account

We didn’t find any bindings in its wrangler config. It may be a plain Worker, or set them up from its README.

Category
LLM gateways
Licence
MIT
Stars
178
Last commit
yesterday

Use it with AI or code

  • Markdown for AIPaste into ChatGPT, Claude or any LLM./apps/cline2api-workers.md
    Open
  • JSON APIFree, no key, CORS open./api/v1/apps/cline2api-workers.json
    Open

More in the API docs and llms.txt.

Keeping it up to date

The Deploy button copies the repo into your GitHub. Run this in your copy whenever a new version comes out.

terminal
git remote add upstream https://github.com/pingmike2/cline2api-workers.git
git pull upstream main
npx wrangler deploy

Cline2API questions

What is Cline2API?

Turns Cline’s free AI models into an OpenAI‑compatible API you can run on Cloudflare Workers for free. It’s an open-source, self-hosted alternative to OpenAI. It runs on Cloudflare Workers in your own account.

What does Cline2API set up in my Cloudflare account?

We didn’t find any bindings in its wrangler config, so it may be a plain Worker. Check its README for setup steps.

How do I deploy Cline2API?

Press Deploy to Cloudflare. Cloudflare copies the repository into your GitHub account, creates what it needs and deploys it with Workers Builds.

Is Cline2API free and open source?

Yes. It’s published under the MIT licence. Running it uses your own Cloudflare account, and small setups usually fit in the free plan.

How do I update Cline2API?

Pull from the original repository and redeploy: add https://github.com/pingmike2/cline2api-workers.git as an upstream remote, run git pull upstream main, then npx wrangler deploy.