svg-term-cli alternatives and similar modules
Based on the "Command-line apps" category.
Alternatively, view svg-term-cli alternatives based on common mentions on social networks and blogs.
-
npkill
List any node_modules π¦ dir in your system and how heavy they are. You can then select which ones you want to erase to free up space π§Ή -
themer
π¨ themer takes a set of colors and generates themes for your apps (editors, terminals, wallpapers, and more). -
emoj
Find relevant emoji from text on the command-line :open_mouth: :sparkles: :raised_hands: :horse: :boom: :see_no_evil:
CodeRabbit: AI Code Reviews for Developers
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of svg-term-cli or a related project?
README
Share terminal sessions as razor-sharp animated SVG everywhere
Example generated with
svg-term --cast 113643 --out examples/parrot.svg --window --no-cursor --from=4500
svg-term-cli
- π Render asciicast to animated SVG
- π Share asciicasts everywhere (sans JS)
- π€ Style with common color profiles
Install
- Install asciinema via: https://asciinema.org/docs/installation
- Install svg-term-cli:
sh npm install -g svg-term-cli
Usage
Generate the parrot.svg
example from asciicast at https://asciinema.org/a/113643
svg-term --cast=113643 --out examples/parrot.svg --window
Interface
Ξ» svg-term --help
Share terminal sessions as razor-sharp animated SVG everywhere
Usage
$ svg-term [options]
Options
--at timestamp of frame to render in ms [number]
--cast asciinema cast id to download [string], required if no stdin provided [string]
--command command to record [string]
--from lower range of timeline to render in ms [number]
--height height in lines [number]
--help print this help [boolean]
--in json file to use as input [string]
--no-cursor disable cursor rendering [boolean]
--no-optimize disable svgo optimization [boolean]
--out output file, emits to stdout if omitted, [string]
--padding distance between text and image bounds, [number]
--padding-x distance between text and image bounds on x axis [number]
--padding-y distance between text and image bounds on y axis [number]
--profile terminal profile file to use, requires --term [string]
--term terminal profile format [iterm2, xrdb, xresources, terminator, konsole, terminal, remmina, termite, tilda, xcfe], requires --profile [string]
--to upper range of timeline to render in ms [number]
--width width in columns [number]
--window render with window decorations [boolean]
Examples
$ cat rec.json | svg-term
$ svg-term --cast 113643
$ svg-term --cast 113643 --out examples/parrot.svg
Rationale
Replace GIF asciicast recordings where you can not use the asciinema player, e.g. README.md
files on GitHub and the npm registry.
The image at the top of this README is an example. See how sharp the text looks, even when you zoom in? Thatβs because itβs an SVG!
Related
- asciinema/asciinema - Terminal session recorder
- derhuerst/asciicast-to-svg - Render frames of Asciicasts as SVGs
- marionebl/svg-term - Render asciicast to animated SVG
- marionebl/term-schemes - Parse and normalize common terminal emulator color schemes
Gallery
License
Copyright 2017. Released under the MIT license.
*Note that all licence references and agreements mentioned in the svg-term-cli README section above
are relevant to that project's source code only.