Fly Website: Foldkit
Deploys a Foldkit site to Fly with
Fly.Website.Foldkit — no adapter setup in the project config.
Hashed assets publish with a Fly Service that serves the SPA shell. This example is a client-only Foldkit app, so the deploy is assets-only.
src/main.tsholds the Elm-architecture model/update/view.src/components/Card.tsis a view function styled with Tailwind utilities.- Unmatched paths serve
index.htmlso deep links boot the app.
const site = yield* Fly.Website.Foldkit("Foldkit"); The integration package must be installed in the project (it is loaded dynamically at deploy time):
bun add -d @alchemy.run/frontend-frameworks Deploy
bun run deploy Unchanged sources skip the build entirely on subsequent deploys — the
input files are content-hashed (scoped by memo.include).
Dev
bun run dev alchemy dev runs the framework's own dev server (Foldkit's live reload included) and
no cloud resources are created.
Destroy
bun run destroy