WikiofAuto
🛰️
VERIFIED PRODUCTION PACKAGE24 Wired Nodes
MIT / Commercial Starter Kit
⚡ Verified Automation Architecture·24 Active Nodes

Colab/Kaggle → Permanent Cloudflare OpenAI API Bridge Kit (Durable Object Relay)

PAID
TL;DR · WHAT THIS WORKFLOW DOESBypass trycloudflare 1016/1033 edge blocks forever. Uses a Cloudflare Durable Object WebSocket Reverse-Tunnel (`ollama-relay`) so any free Colab or Kaggle GPU dials outbound and serves a permanent https://api.yourdomain.com/v1 OpenAI endpoint.
By @wikiofautomation·★ 5.0 (2 verified reviews)·1,420 deployments·Vault File: colab-cloudflare-openai-relay-kit.json
#colab#kaggle#cloudflare-worker#durable-objects#ollama-relay#openai-api
NEURAL BLACK-BOX TOPOLOGY

How This 24-Node System Operates (Without Exposing Source Code)

🔒 Protected JSON Vault Artifact
STAGE 01

Signal & Trigger Ingress

Captures incoming webhooks, schedules, or app events from Kaggle Notebooks and normalizes schema payloads.

STAGE 02GUARD

Validation & Deduplication

Filters malformed payloads, strips duplicate events, and prepares structured context variables before core execution.

STAGE 03 · LOCKED CORE24 NODES

Proprietary Orchestration

Executes multi-branch routing, AI/data synthesis, and automatic rate-limit backoff inside the downloadable .json package.

STAGE 04SYNC

Target Delivery & Telemetry

Dispatches verified outputs to n8n / Cursor with dead-letter error recovery.

Why Standard trycloudflare.com Tunnels Fail in Production

When you expose a free Colab or Kaggle GPU using trycloudflare.com, two things break your automation:

  1. Every session restart generates a new random URL, forcing you to manually update every n8n node and agent config.
  2. Calling a trycloudflare.com tunnel from another Cloudflare Worker or edge proxy fails with Cloudflare Error 1016 / 1033 edge routing blocks.

How the Durable Object Reverse-Tunnel (ollama-relay) Solves Both

Instead of proxying into an ephemeral tunnel, your Colab/Kaggle notebook runs a lightweight WebSocket client that dials outbound over plain HTTPS to /connect on your Cloudflare Durable Object. Your agents, n8n workflows, and Cursor IDE hit your permanent https://relay.yourdomain.com/v1/chat/completions URL—and the Durable Object streams tokens back over the persistent WebSocket with zero edge blocks.

✓What's Included in Your Vault Download (colab-cloudflare-openai-relay-kit.json)

✓Cloudflare Durable Object WebSocket Relay Worker (`worker.js` + `wrangler.toml`)
✓Colab & Kaggle Outbound WebSocket Dialer Client Cell + Keep-Alive
✓Bearer Token Auth (`ADMIN_KEY` & `PROXY_KEY`) + Streaming SSE Support
✓1-Click Deploy Script & n8n Connection Template