svg-term-cli: Share Terminal Sessions as Razor-Sharp Animated SVGs

This repository profile is provided by osrepos.com, an open source repository discovery platform.

svg-term-cli: Share Terminal Sessions as Razor-Sharp Animated SVGs

Summary

svg-term-cli is a powerful command-line tool that transforms asciicast recordings into animated SVG files. This allows developers to share high-quality, scalable terminal sessions in places where traditional video or GIF formats fall short, such as GitHub READMEs or npm registry pages. It provides a superior viewing experience with razor-sharp text and customizable styling.

Repository Information

Analyzed by OSRepos on March 11, 2026

Topics

Click on any tag to explore related repositories

Use at your own risk

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.

Introduction

svg-term-cli is a command-line interface tool designed to convert asciicast recordings into animated SVG (Scalable Vector Graphics) files. This innovative approach allows developers to share terminal sessions with exceptional clarity and scalability, making them perfect for documentation, presentations, and web content. Unlike traditional GIF recordings, SVGs maintain their sharpness at any zoom level and can be styled with common terminal color profiles.

Key features include:

  • Render asciicast to animated SVG.
  • Share asciicasts everywhere, without requiring JavaScript players.
  • Style output with various terminal color profiles.

Installation

To get started with svg-term-cli, you first need to install asciinema, which is used for recording terminal sessions.

  1. Install asciinema: Follow the instructions at https://asciinema.org/docs/installation.
  2. Install svg-term-cli: Once asciinema is set up, install svg-term-cli globally via npm:
npm install -g svg-term-cli

Examples

Generating an animated SVG from an existing asciicast is straightforward. Here's an example demonstrating how to create the parrot.svg from asciicast ID 113643, including window decorations:

svg-term --cast=113643 --out examples/parrot.svg --window

You can also pipe asciinema recordings directly into svg-term-cli or specify an input JSON file. The tool offers various options for customization, including output file, dimensions, timeline ranges, and cursor visibility.

Why Use It

The primary rationale behind svg-term-cli is to provide a superior alternative to GIF asciicast recordings, especially in environments where the interactive asciinema player cannot be used. This includes common scenarios like README.md files on GitHub or the npm registry.

GIFs often suffer from pixelation and large file sizes, compromising the readability of terminal text. By contrast, svg-term-cli produces vector-based animations, ensuring that text remains razor-sharp and perfectly legible, even when zoomed in. This significantly enhances the quality and professionalism of your project's documentation.

Links

For more information and related projects, check out these resources:

Related repositories

Similar repositories that may be relevant next.

Frontend Slides: Create Stunning Web Presentations with AI Coding Agents

Frontend Slides: Create Stunning Web Presentations with AI Coding Agents

June 28, 2026

Frontend Slides is an innovative GitHub repository that empowers users to create beautiful web presentations using AI coding agents. It simplifies the design process by offering visual style discovery and can even convert existing PowerPoint files into elegant HTML slides. This project is ideal for non-designers seeking professional, dependency-free presentations.

AI SlidesClaude CodeGenerative UI
OrbitDB: Peer-to-Peer Databases for the Decentralized Web

OrbitDB: Peer-to-Peer Databases for the Decentralized Web

June 22, 2026

OrbitDB is a serverless, distributed, peer-to-peer database designed for the decentralized web. It leverages IPFS for data storage and Libp2p Pubsub for automatic synchronization, ensuring eventual consistency through Merkle-CRDTs. This makes OrbitDB an excellent choice for p2p, decentralized, blockchain, and local-first web applications, offering various database types like event logs, documents, and key-value stores.

JavaScriptDatabaseDecentralized
Open-Higgsfield-AI: Free, Self-Hosted AI Image Generation & Cinema Studio

Open-Higgsfield-AI: Free, Self-Hosted AI Image Generation & Cinema Studio

June 15, 2026

Open-Higgsfield-AI offers an open-source, self-hosted alternative for AI image generation and a cinema studio. It provides access to over 20 models, including Flux, SDXL, Midjourney, and Ideogram, allowing users to create stunning visuals and cinematic content. This MIT-licensed project is fully customizable and designed for local operation.

JavaScriptAIImage Generation
Nextcloud Office Online: Seamless Document Integration

Nextcloud Office Online: Seamless Document Integration

June 13, 2026

The `nextcloud/officeonline` repository provides an integration app for Nextcloud, enabling users to edit documents directly within their Nextcloud instance using an on-premise Office Online Server. This solution facilitates collaborative document editing and viewing, enhancing productivity for Nextcloud users. It specifically supports self-hosted Office Online Server deployments, not cloud-based Office 365.

JavaScriptNextcloudOffice Online

Source repository

Open the original repository on GitHub.

8 counted GitHub visits

View on GitHub
OS
OSRepos

Analysis and discovery of open source repositories. Find interesting projects and follow their updates.

Monitor your website with YourWebsiteScore

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of third-party repository code is at your own risk. Always review source code, dependencies, licenses, and security implications before running anything.

© 2025 OSRepos. Built with Nuxt 3 and lots of ❤️