@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, 04:45 UTC

main
ts 17 lines 615 Bytes
Raw
1 import * as Cloudflare from "@alchemy.run/cloudflare";
2
3 /**
4 * Non-Effect ("remote image") container: Alchemy pulls a pre-built public image
5 * and re-pushes it — no Effect program is bundled and no runtime is injected.
6 * `mendhak/http-https-echo` serves on port 8080 and writes to its inherited
7 * stdout fd directly, so it boots cleanly inside Cloudflare's container sandbox.
8 */
9 export class RemoteContainer extends Cloudflare.Container<RemoteContainer>()(
10 "BenchRemoteContainer",
11 {
12 image: "mendhak/http-https-echo:latest",
13 maxInstances: 100,
14 instanceType: "lite",
15 instances: 0,
16 },
17 ) {}