@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 23 lines 645 Bytes
Raw
1 import * as Neon from "@alchemy.run/neon";
2 import * as Alchemy from "alchemy";
3 import * as Effect from "effect/Effect";
4
5 export default Alchemy.Stack(
6 "NeonWebsiteAstroExample",
7 { providers: Neon.providers(), state: Alchemy.localState() },
8 Effect.gen(function* () {
9 const site = yield* Neon.Website.Astro("Astro", {
10 env: { GREETING: "Hello from Astro on Neon!" },
11 });
12
13 const staticSite = yield* Neon.Website.Astro("AstroStatic", {
14 astro: {
15 output: "static",
16 srcDir: "./static-src",
17 outDir: "./dist-static",
18 },
19 });
20
21 return { url: site.url, staticUrl: staticSite.url };
22 }),
23 );