🚀 AI Proxy Test Suite

This page tests the Cloudflare Worker proxy without exposing any secrets.

Configuration

â„šī¸ Get this URL after running wrangler deploy

Test 1: Simple Health Check

Test 2: Basic AI Chat

Test 3: Full Ghost-Writer Workflow

This simulates the actual ghost-writer.html workflow:

Setup Instructions

Step 1: Install Wrangler CLI
npm install -g wrangler
Step 2: Login to Cloudflare
wrangler login
Step 3: Set your secret (choose one):
# For GitHub Models:
wrangler secret put GITHUB_PAT

# OR for HuggingFace (free alternative):
wrangler secret put HUGGINGFACE_TOKEN
Step 4: Deploy the worker
wrangler deploy
Step 5: Copy the worker URL from the output and paste it above