JEFFREYFORET.COM
NETWORK CLOUDFLARE EDGE ZONE ACTIVE TERMINAL MT-002 · CF

MONEY TERMINAL

PERSONAL ATM · JEFFREY FORET · READ-ONLY WALLET ACCESS
EDGE: NOT CHECKED
TOTAL BALANCE · USD
$ —
Connect a wallet to read live balances.

01 Connect wallet

Public address only. The terminal reads balances from the chain — it can never move funds.

Never enter a seed phrase or private key here — or anywhere. A real terminal only ever needs the public address.

02 Attach bank or card

Only the institution, a nickname, and the last 4 digits are kept. Full card and account numbers never touch this page.

Step 03 — Verify it: after attaching, press VERIFY on the method. The terminal places a small hold of 1–99¢, you confirm the amount from the statement line, and the hold closes — a hold is never a charge. Until Stripe or Plaid is connected, that hold runs as this page's drill and no money moves.

Running on Cloudflare

This is the Cloudflare build of the money terminal: one static page designed for Cloudflare Pages, with the existing jfn-workers-app Worker behind its /api/* calls and no origin server to patch. The zone and the Worker are already live; this page itself is the next deploy — the steps and the deploy kit below put it on terminal.jeffreyforet.com.

Edge status

Live check against the deployed Worker, plus what is still to wire.

  • LIVEPages + zone — jeffreyforet.com is active on Cloudflare, auto-renew on, serving the landing page today.
  • DEPLOYEDWorker — jfn-workers-app is deployed with a GET /api/health endpoint. This page has not re-checked it yet — the pill at the top of the terminal shows this page's own result once you press PING THE EDGE below.
  • NEXTThis page on Pages — the terminal itself is not deployed yet. Step 1–2 below upload it and attach terminal.jeffreyforet.com.
  • NEXT/api/status route — not on the Worker yet (it returns 404 today). The deploy kit below adds it, plus CORS so this page can read both endpoints.
  • WAITINGPayment provider — bank/card verification holds run through Stripe or Plaid once connected. Until then, verification below is the terminal's own drill: it keeps the record, never moves money.
Worker: https://jfn-workers-app.10211142532-i24d.workers.dev/api/health — press PING THE EDGE to test it from this page.

Deploy it

Four steps, using the Cloudflare account and zone that already exist.

  1. Pages: in the Cloudflare dashboard, open the jeffreyforet-com-landing-page Pages project (or create money-terminal) and upload this index.html as a direct upload.
  2. Domain: attach the custom domain terminal.jeffreyforet.com to the project — DNS is created automatically inside the existing zone. Nameservers stay nick / shubhi — nothing about them changes.
  3. Worker: paste the worker.js from the kit below into jfn-workers-app and deploy, then add the route terminal.jeffreyforet.com/api/* so health and status calls stay same-origin.
  4. Verify: reload this page and press PING THE EDGE — health and status should both answer from the edge.
Deploy kit — wrangler.toml & worker.js
wrangler.toml
name = "jfn-workers-app"
main = "worker.js"
compatibility_date = "2024-11-01"

# Serve the terminal's API from the same hostname as the page,
# so the browser treats calls as same-origin.
[[routes]]
pattern = "terminal.jeffreyforet.com/api/*"
zone_name = "jeffreyforet.com"
worker.js — adds /api/status + CORS
export default {
  async fetch(request) {
    const url = new URL(request.url);
    const cors = {
      "Access-Control-Allow-Origin": "https://terminal.jeffreyforet.com",
      "Access-Control-Allow-Methods": "GET, OPTIONS",
      "Access-Control-Allow-Headers": "Content-Type",
    };
    if (request.method === "OPTIONS") {
      return new Response(null, { headers: cors });
    }
    if (url.pathname === "/api/health") {
      return Response.json(
        { ok: true, service: "jfn-workers-app", ts: new Date().toISOString() },
        { headers: cors }
      );
    }
    if (url.pathname === "/api/status") {
      return Response.json(
        {
          ok: true,
          terminal: "online",
          provider: "not-connected",
          note: "Verification holds run as a drill until Stripe or Plaid is connected.",
          ts: new Date().toISOString(),
        },
        { headers: cors }
      );
    }
    return new Response("Not found", { status: 404, headers: cors });
  },
};

*** MONEY TERMINAL ***

JEFFREYFORET.COM · CLOUDFLARE EDGE
—
SESSIONSTARTED
NO FUNDS MOVED · HOLDS ARE NEVER CHARGES
THANK YOU