qmetrics.net

Asciimatics

Cross-platform terminal UI and ASCII animation library

A Python package for full-screen text user interfaces and ASCII art animations on multiple operating systems. It wraps curses-style console control with higher-level scenes, effects, and widgets.

Overview

Asciimatics helps developers build full-screen text UIs, from interactive forms to ASCII animations, across platforms. It exposes a single cross-platform Python interface for low-level console tasks such as colored text, cursor positioning, keyboard and mouse input, resize handling, and screen scraping.

Higher-level APIs add line drawing, image-to-ASCII conversion for JPEG and GIF, animation effects, and widgets including buttons, text boxes, and radio controls. Typical usage starts with a Screen object for direct drawing, or combines Effects inside Scenes that the Screen plays back.

The authors report successful use on CentOS, Raspbian, Ubuntu, Windows, OSX, and Android where a working curses implementation exists. Installation is via pip for supported Python 3 versions; Windows installs may need pywin32 when not using pip alone.

Documentation and sample scripts demonstrate hello-world demos, banner animations, and TUI layouts. The package is implementation-agnostic across CPython and PyPy2.

Key features

  • Cross-platform Screen abstraction
  • 256-color and Unicode text output
  • Keyboard and mouse input handling
  • Console resize detection
  • Scene and effect animations
  • TUI widgets for forms
  • JPEG and GIF to ASCII conversion
  • Anti-aliased ASCII line drawing

Use cases

  • Terminal-based interactive forms
  • ASCII art splash screens
  • Console games and demos
  • Cross-OS TUI prototypes
  • Animated CLI presentations

Tags

Similar software

Ink

React renderer for interactive terminal user interfaces

Lets developers build command-line apps with React components and Flexbox-style layouts rendered in the terminal.

  • React component model for CLIs
  • Yoga-based Flexbox terminal layout
  • Styled Text and Box components
TypeScriptCLIDetails →
★ 40.4k⟳ 10 days agoMIT

Spaceship Prompt

Customizable Zsh shell prompt for daily terminal work

Spaceship is a Zsh prompt theme that shows context at the command line. It can surface git status, language runtimes, containers, and other session details you configure.

  • Git and Mercurial repository status
  • Multi-language runtime version segments
  • Docker and Kubernetes context display
ShellmacOSDetails →
★ 20.6k⟳ 9 days agoMIT

Powerline

Python statuslines and shell prompts for editors and terminals

Powerline renders statuslines for Vim and prompts for bash, zsh, fish, tmux, IPython, and several window managers. Configuration uses JSON files under a user config directory.

  • Vim statusline with mode highlighting
  • Shell prompts for bash, zsh, and fish
  • tmux statusline integration
PythonLinux, CLIDetails →
★ 14.9k⟳ 8 months agoMIT

Pure prompt

Minimal fast prompt theme for Zsh

Pure is a Zsh prompt that shows path, git status, and timing with little visual noise. It installs via npm, Homebrew, or manual fpath setup.

  • Async git ahead behind checks
  • Dirty branch indicator
  • Command runtime display
ShellmacOSDetails →
★ 14.5k⟳ 1 month agoMIT

PTerm

Go library for styled terminal output

PTerm is a Go module for building readable command-line interfaces with tables, charts, progress bars, spinners, and interactive prompts.

  • Composable printer components
  • Progress bars and spinners
  • Tables, trees, and charts
GomacOS, WindowsDetails →
★ 5.6k⟳ 1 month agoMIT

Fzf Tab

fzf-powered completion UI for Zsh

fzf-tab replaces Zsh's default completion menu with an fzf picker while still using the standard completion system's candidates.

  • fzf UI for Zsh completions
  • Works with native Zsh compsys
  • Multi-select and group switching
ShellDetails →
★ 5k⟳ 6 months agoMIT