Getting started

CF Ready (cf-ready) scans a local project directory and produces a go-live readiness report for Cloudflare Workers, Pages, and related platform services.

Requirements

Install

npm (when published)

npx @orangecloud/cf-ready scan --cwd ./my-app

Or install globally:

npm install -g @orangecloud/cf-ready
cf-ready scan --cwd ./my-app
npm pending. Until @orangecloud/cf-ready is on npm, build from source:
git clone https://github.com/sycu8/Cloudflare-Go-Live-Readiness.git
cd Cloudflare-Go-Live-Readiness
npm ci && npm run build
node dist/index.js scan --cwd /path/to/your-app

Your first scan

From your application root:

cf-ready scan --cwd .

The CLI will:

  1. Detect framework, package manager, and deployment target
  2. Run migration, security, AI, SEO, and deployment checks
  3. Calculate weighted readiness scores
  4. Write up to 9 report files to outputDir (default: project root)

Human-readable summary prints to the terminal. For CI or scripting:

cf-ready scan --cwd . --json

JSON stdout includes scores, blockers, findings, and productionReady. See Reports and Scoring.

Example output (fixture)

$ cf-ready scan --cwd tests/fixtures/nextjs-app

Cloudflare Go-Live Readiness Scan
────────────────────────────────
Framework:     nextjs
Package mgr:   npm
Target:        vercel

Overall:       78/100
Migration:     72  Security: 85
AI readiness:  64  SEO: 70  Deploy: 80

Status:        Not production ready
Blockers:      2

Reports generated
✓ cf-ready-report.md
✓ cf-ready-report.json
…

Inspect without scanning

Quick metadata-only pass (always JSON to stdout):

cf-ready inspect --cwd . --json

Returns detected framework, packageManager, deploymentTarget, routes, and important files — useful before a full scan.

Exit codes

CodeMeaningTypical use
0Production ready (no blockers)CI pass
1Findings present — blockers or policy failuresCI warn / gate
2Runtime error (invalid path, config, etc.)CI fail

Common workflows

GoalCommand
Full go-live reportcf-ready scan
Security only + SARIFcf-ready security-scan
Migration plan markdowncf-ready migration-plan
Generate AI/SEO draftscf-ready fix --ai-readiness / --seo
Pre-deploy gatecf-ready deploy-check
Post-deploy HTTP checkscf-ready smoke-test --url https://…
PR CIGitHub Action

Full reference: Commands. Framework walkthroughs: Examples.

Web Agent (no install)

Open ready.orangecloud.vn/app to upload a ZIP, import GitHub (public or private via OAuth), and run scans in a browser terminal. See Web Agent.

Safe by default. Scans are read-only. Source files change only when you run fix with explicit flags.