Tutorial · 5 min read

Introducing create-jiobase: Self-Host Your Supabase Proxy in Under 60 Seconds

A new CLI tool that scaffolds a production-quality Cloudflare Worker proxy and deploys it to your own account. One command, full WebSocket support, completely free.


Why we built this

When Indian ISPs started blocking *.supabase.co, we launched JioBase as a managed proxy service. We also built a worker generator for developers who wanted to self-host.

While the generator provided a great starting point for a basic HTTP proxy, we wanted to offer a more robust solution that fully unlocked Supabase's capabilities out-of-the-box without requiring manual copy-pasting.

create-jiobase is our next evolution. It generates a production-quality worker with full WebSocket support for Realtime, service filtering, and CORS configuration. Best of all, it walks you through setup with an interactive wizard and deploys everything automatically.

What it does

Run one command and the CLI handles everything:

  1. 1 Asks for your Supabase URL — validates it automatically
  2. 2 Configures CORS and services — choose which Supabase services to proxy
  3. 3 Scaffolds a complete project — TypeScript worker with wrangler.toml, package.json, tsconfig
  4. 4 Deploys to Cloudflare — handles wrangler auth and deployment

The generated worker includes HTTP proxying, WebSocket relay for Realtime, CORS handling, service path filtering, location header rewriting for OAuth redirects, and a health check endpoint.

How to install

You'll need Node.js 18+. To get started, run the CLI:

$ npx create-jiobase

This command opens an interactive wizard that asks for your project details.

What it generates

The CLI creates a complete Cloudflare Worker project:

supabase-proxy/
  src/index.ts      # Full proxy (HTTP + WebSocket + CORS)
  wrangler.toml     # Cloudflare config
  package.json      # Dependencies
  tsconfig.json     # TypeScript config
  .gitignore

The generated worker supports all 6 Supabase services:

REST API (PostgREST)
Authentication
Storage
Realtime (WebSockets)
Edge Functions
GraphQL

CLI vs managed JioBase

The CLI is great for hobby projects and developers who want full control. For production apps that need analytics, rate limiting, and a dashboard, the managed JioBase service handles all of that automatically.

Check out our detailed comparison to decide which option fits your project.

Try it now

$ npx create-jiobase

Full documentation · Source on GitHub · npm package


Sunith VS

Written and verified by

Sunith VS

Building tools that help Indian developers ship without ISP interference. Creator of JioBase.