All Projects β†’ nbedos β†’ Termtosvg

nbedos / Termtosvg

Licence: bsd-3-clause
Record terminal sessions as SVG animations

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to Termtosvg

Asciinema
Terminal session recorder πŸ“Ή
Stars: ✭ 9,880 (+6.12%)
Mutual labels:  recorder, recording, terminal
Navi
An interactive cheatsheet tool for the command-line
Stars: ✭ 10,055 (+8%)
Mutual labels:  cli, terminal
Listr2
NodeJS Task List derived from the best! Create beautiful CLI interfaces via easy and logical to implement task lists that feel alive and interactive.
Stars: ✭ 73 (-99.22%)
Mutual labels:  cli, terminal
Emma Cli
πŸ“¦ Terminal assistant to find and install node packages.
Stars: ✭ 1,201 (-87.1%)
Mutual labels:  cli, terminal
Run
⚑The resource runtime
Stars: ✭ 90 (-99.03%)
Mutual labels:  cli, terminal
Cross Platform Node Guide
πŸ“— How to write cross-platform Node.js code
Stars: ✭ 1,161 (-87.53%)
Mutual labels:  cli, terminal
Nodo
β˜‘ Command line TODO app
Stars: ✭ 73 (-99.22%)
Mutual labels:  cli, terminal
Nord Terminator
An arctic, north-bluish clean and elegant Terminator color theme.
Stars: ✭ 78 (-99.16%)
Mutual labels:  cli, terminal
Xa
Beautiful & Customizable logger ❀️
Stars: ✭ 78 (-99.16%)
Mutual labels:  cli, terminal
Tty Prompt
A beautiful and powerful interactive command line prompt
Stars: ✭ 1,210 (-87%)
Mutual labels:  cli, terminal
Reminders Cli
Command-line interface to interact with the Reminders.app
Stars: ✭ 67 (-99.28%)
Mutual labels:  cli, terminal
Mpb
multi progress bar for Go cli applications
Stars: ✭ 1,221 (-86.89%)
Mutual labels:  cli, terminal
Ginseng
C++ REPL Tool Builder
Stars: ✭ 65 (-99.3%)
Mutual labels:  cli, terminal
Conget
A CLI app for downloading file concurrently.
Stars: ✭ 72 (-99.23%)
Mutual labels:  cli, terminal
Msvgc
Make React components from your plain SVG files
Stars: ✭ 64 (-99.31%)
Mutual labels:  cli, svg
Sub Tv Cli
Downloading your series subtitles via terminal πŸ“Ί
Stars: ✭ 63 (-99.32%)
Mutual labels:  cli, terminal
Fsq
A tool for querying the file system with a SQL-like language.
Stars: ✭ 60 (-99.36%)
Mutual labels:  cli, terminal
Rtscli
Python CLI Stocks Ticker + Portfolio Tracker
Stars: ✭ 61 (-99.34%)
Mutual labels:  cli, terminal
Taskline
Tasks, boards & notes for the command-line habitat
Stars: ✭ 78 (-99.16%)
Mutual labels:  cli, terminal
Window Size
Reliable way to to get the height and width of the terminal/console in a node.js environment.
Stars: ✭ 79 (-99.15%)
Mutual labels:  cli, terminal

Note: As of June 2020 I do not have time to maintain termtosvg anymore and this repository is now read-only.

termtosvg

termtosvg is a Unix terminal recorder written in Python that renders your command line sessions as standalone SVG animations.

Example

Features

  • Produce lightweight and clean looking animations or still frames embeddable on a project page
  • Custom color themes, terminal UI and animation controls via user-defined SVG templates
  • Rendering of recordings in asciicast format made with asciinema

Installation

termtosvg is compatible with Linux, macOS and BSD OSes, requires Python >= 3.5 and can be installed as follows using pip:

# Create virtualenv named '.venv'
python3 -m venv .venv
# Activate virtualenv
source .venv/bin/activate
pip3 install termtosvg

Then run termtosvg by calling either termtosvg or python3 -m termtosvg.

Various independently maintained, OS specific packages have been made available by the community:

OS Repository Installation command
Archlinux Arch pacman -S termtosvg
FreeBSD ports
Gentoo media-gfx/termtosvg emerge media-gfx/termtosvg
macOS Homebrew brew install termtosvg
OpenBSD ports
NixOS nixpkgs

Basic usage

Start recording with:

$ termtosvg
Recording started, enter "exit" command or Control-D to end

You are now in a subshell where you can type your commands as usual. Once you are done, exit the shell to end the recording:

$ exit
Recording ended, file is /tmp/termtosvg_exp5nsr4.svg

Then, use your favorite web browser to play the animation:

$ firefox /tmp/termtosvg_exp5nsr4.svg

Finally, embedding the animation in e.g. a README.md file on GitHub can be achieved with a relative link to the animation:

![Example](./docs/examples/awesome_window_frame.svg)

See the manual page for more details.

Dependencies

termtosvg uses:

  • pyte to render the terminal screen
  • lxml to work with SVG data
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].