| Crates.io | termcinema-cli |
| lib.rs | termcinema-cli |
| version | 0.1.0 |
| created_at | 2025-06-10 05:37:05.263447+00 |
| updated_at | 2025-06-10 05:37:05.263447+00 |
| description | π¬ Animated terminal-to-SVG renderer CLI for the termcinema project |
| homepage | https://github.com/pokeyaro/termcinema |
| repository | https://github.com/pokeyaro/termcinema |
| max_upload_size | |
| id | 1706679 |
| size | 62,137 |
Turn your terminal sessions into cinematic SVG animations β perfect for docs, blog posts, presentations, or just showing off your CLI aesthetics.
βοΈ Powered by
termcinema-engineπ§± Built in Rust Β· Embeddable via WebAssembly, Python (and more soon)
β Render shell-like text as animated SVG
π¨ 9+ built-in retro & modern terminal themes
β¨οΈ Typing animation with speed presets or per-frame control
π Custom font, color, layout, alignment
π§βπ¨ Custom cursor (e.g. |, β, β‘)
π© Embeddable as Rust/WASM library
cargo install termcinema-cli
termcinema -i 'echo "Hi, TermCinema!"' -o out.svg
termcinema -s ./demo.txt -o out.svg
echo "The quick brown fox..." | termcinema -o out.svg
termcinema -i "Hello" --theme "dos_classic"
termcinema --list-themes
termcinema -i "Hello" --font-family "JetBrains Mono"
termcinema --list-fonts
| Font Name | Built-in? | Embeddable? | Notes |
|---|---|---|---|
| PxPlus IBM VGA8 | β | β Yes | Pixel-perfect retro feel |
| JetBrains Mono | β | β Yes | Modern, developer-oriented |
| Fira Code | β | β Yes | Monospaced font with programming ligatures |
| Source Code Pro | β | β Yes | Clean and balanced, from Adobe |
| Cascadia Mono | β | β Yes | Microsoftβs modern monospaced font |
| Courier New | β System | β οΈ Wide | Technically monospaced but visually outdated |
| Monospace (generic) | β System | β οΈ Unreliable | Often mapped to variable-width fonts |
π‘ Prefer the ββ Yesβ fonts above for best SVG alignment and retro aesthetics.
termcinema -i "Hello" --speed fast
termcinema -i "Hello" --frame-delay 120
Dive into 12+ terminal styles β Bash, Zsh, PowerShell, Python, Git, SQL, and more β all pre-rendered as cinematic SVG animations.
π Full demo files in examples/README.md
| Terminal Style |
|---|
| π§ Unix Shell |
| π macOS Zsh |
| πͺ PowerShell |
| π Python REPL |
| π’ Node.js REPL |
| π Lua REPL |
| β€οΈ Redis CLI |
| π¬ MySQL CLI |
| π PostgreSQL CLI |
| 𧬠Git Log |
| π Switch Console |
| π Script Input |
You can use this as a Rust library:
use termcinema_cli::{CliArgs, render_svg_direct};
let args = CliArgs {
theme: Some("retro_tty".into()),
..Default::default()
};
let svg = render_svg_direct("echo hello", &args).unwrap();
See full API on docs.rs/termcinema-cli
Run termcinema --help
Or see docs/help.txt for full CLI options