The best way to control Claude Code, Codex and more from any computer or phone

main
ts 26 lines 603 Bytes
Raw
1 import * as Fly from "@alchemy.run/fly";
2 import * as Alchemy from "alchemy";
3 import * as Effect from "effect/Effect";
4
5 export default Alchemy.Stack(
6 "FlyWebsiteVinextExample",
7 {
8 providers: Fly.providers(),
9 state: Alchemy.localState(),
10 },
11 Effect.gen(function* () {
12 const site = yield* Fly.Website.Vinext("Vinext", {
13 memo: {
14 lockfile: true,
15 include: ["app/**", "public/**", "package.json", "vite.config.ts", "tsconfig.json"],
16 },
17 env: {
18 GREETING: "Hello from vinext on Fly!",
19 },
20 });
21
22 return {
23 url: site.url,
24 };
25 }),
26 );