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

main
ts 32 lines 721 Bytes
Raw
1 import * as Fly from "@alchemy.run/fly";
2 import * as Redacted from "effect/Redacted";
3
4 export const API_PORT = 3000;
5 export const SECRET_NAME = "FLY_BINDINGS_MARKER";
6 export const MARKER = "hello-from-fly-bindings";
7 export const PLAINTEXT = "alchemy-kms-roundtrip";
8
9 export const Site = Fly.App("Site", {
10 enableSubdomains: true,
11 });
12
13 export const Marker = Fly.Secret("Marker", {
14 app: Site,
15 name: SECRET_NAME,
16 value: Redacted.make(MARKER),
17 });
18
19 export const BoxKey = Fly.SecretKey("Box", {
20 app: Site,
21 type: "nacl_secretbox",
22 });
23
24 export const SignKey = Fly.SecretKey("Signing", {
25 app: Site,
26 type: "nacl_sign",
27 });
28
29 export const PublicIp = Fly.IpAssignment("Shared", {
30 app: Site,
31 type: "shared_v4",
32 });