The Computer PlumbersText us
All projects

P-07 / Open source

expoflare

Deploy an Expo web app to your own Cloudflare account.

github.com/thecomputerplumbers/expoflare
Terminal

$ npx expoflare build && npx wrangler deploy

Static sites, single-page apps, or Expo Router with API routes and server rendering, on Workers you control.

  1. 01 / The need

    Expo apps export to the web, but putting a server build with API routes on your own Cloudflare account took hand-written glue.

  2. 02 / What we built

    • One build command that reads the Expo export and picks the matching deployment: assets only, or a Worker with assets in front.
    • It keeps the bindings, variables, routes, and environments from your own Wrangler config.
    • Plain wrangler dev and wrangler deploy work unchanged afterwards.
  3. 03 / Under the hood

    • It does not reimplement Expo's server. Server output runs on expo-server's official workerd adapter.
    • Assets-only deployments run no code on a request.

Next / P-08

Mandate

A political story game with a Congress that remembers.

What are youbuilding?

Tell us what you are building and where you are stuck. Text Seth directly to talk through the next step.

Text us