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

main
ts 23 lines 581 Bytes
Raw
1 import * as Fly from "@alchemy.run/fly";
2 import * as Redacted from "effect/Redacted";
3
4 export const VOLUME_PATH = "/data";
5 export const MARKER_FILE = `${VOLUME_PATH}/hello.txt`;
6 export const MARKER = "hello-from-fly-worker";
7 export const API_PORT = 3000;
8 export const SECRET_NAME = "FLY_FIXTURE_MARKER";
9
10 export const Site = Fly.App("Site", {
11 enableSubdomains: true,
12 });
13
14 export const Marker = Fly.Secret("Marker", {
15 app: Site,
16 name: SECRET_NAME,
17 value: Redacted.make(MARKER),
18 });
19
20 export const PublicIp = Fly.IpAssignment("Shared", {
21 app: Site,
22 type: "shared_v4",
23 });