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
7 lines
94 B
Rust
7 lines
94 B
Rust
pub mod colors;
|
|
pub mod content;
|
|
pub mod layout;
|
|
pub mod renderer;
|
|
|
|
pub use renderer::render;
|