Nicholai 3cabd007a8 feat(terminal): add rust worker for terminal UI
add cloudflare worker that serves ANSI terminal UI when site is
accessed via curl/wget/terminal clients. browsers get the normal
astro site through proxy to pages.

- user-agent detection for terminal clients
- ANSI 256-color rendering with box-drawing
- content matches site aesthetic (red/cyan accent)
- removes suspicious HTML_MARKER from consts.ts
2026-01-20 05:26:52 -07:00

16 lines
220 B
TOML

[package]
name = "nicholai-terminal-worker"
version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["cdylib"]
[dependencies]
worker = "0.7"
console_error_panic_hook = "0.1"
[profile.release]
opt-level = "s"
lto = true