@devries-cameron20 / t3code Mirror · read-only
Fork 0

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

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 06:00 UTC

main
ts 24 lines 646 Bytes
Raw
1 import * as Railway from "@alchemy.run/railway";
2 import * as Alchemy from "alchemy";
3 import * as Effect from "effect/Effect";
4
5 export default Alchemy.Stack(
6 "RailwayWebsiteFoldkitExample",
7 {
8 providers: Railway.providers(),
9 state: Alchemy.localState(),
10 },
11 Effect.gen(function* () {
12 const site = yield* Railway.Website.Foldkit("Foldkit", {
13 // Only hash the files that affect the build, so unchanged sources
14 // skip the Vite build (and the deploy) entirely.
15 memo: {
16 include: ["src/**", "index.html", "package.json", "vite.config.ts"],
17 },
18 });
19
20 return {
21 url: site.url,
22 };
23 }),
24 );