pastel - Terminal output styling with intuitive and clean API.

  •        5

Terminal output styling with intuitive and clean API that doesn't monkey patch String class. Pastel is minimal and focused to work in all terminal emulators.

https://github.com/piotrmurach/pastel

Tags
Implementation
License
Platform

   




Related Projects

Chalk - Terminal string styling done right

  •    Javascript

Chalk comes with an easy to use composable API where you just chain and nest the styles you want. Chain styles and call the last one as a method with a string argument. Order doesn't matter, and later styles take precedent in case of a conflict. This simply means that chalk.red.yellow.green is equivalent to chalk.green.

colorful - Terminal string styling done right, in Python :snake: :tada:

  •    Python

Note: on a Windows system it will install colorama as a dependency to ensure proper ANSI support. These days terminals not only support the ancient 8 ANSI colors but often they support up to 16 Million colors with true color. And if they don't support true color they might support the 256 ANSI color palette at least.

colorette - Node.js library for colorizing text using ANSI escape sequences

  •    Javascript

Colorette is a Node.js library for colorizing text using ANSI escape sequences. Import the style functions you want to use.

node-charm - ansi control sequences for terminal cursor hopping and colors

  •    Javascript

Use ansi terminal characters to write colors and cursor positions.Charm objects pass along the data events from their input stream except for events generated from querying the terminal device.

pixd - 🔍 Colourful visualization tool for binary files

  •    C

pixd is a tool for visualizing binary data using a colour palette. It is in a lot of ways akin to a hexdump tool, except using coloured squares to represent each octet. pixd uses 24-bit color SGR escape sequences. For a list of terminal emulators with support for these, see XVilka's list of supporting terminal emulators.


colorama - Simple cross-platform colored terminal text in Python

  •    Python

Makes ANSI escape character sequences (for producing colored terminal text and cursor positioning) work under MS Windows. ANSI escape character sequences have long been used to produce colored terminal text and cursor positioning on Unix and Macs. Colorama makes this work on Windows, too, by wrapping stdout, stripping ANSI sequences it finds (which would appear as gobbledygook in the output), and converting them into the appropriate win32 calls to modify the state of the terminal. On other platforms, Colorama does nothing.

chalk - Intuitive package for prettifying terminal/console output

  •    Go

Chalk is a go package for styling console/terminal output. The api is pretty clean, there are default Colors and TextStyles which can be mixed to create more intense Styles. Styles and Colors can be printed in normal strings (i.e. fmt.Sprintf(chalk.Red)), but Styles, Colors and TextStyles are more meant to be used to style specific text segments (i.e. fmt.Println(chalk.Red.Color("this is red")) or fmt.Println(myStyle.Style("this is blue text that is underlined"))).

tty-progressbar - A flexible progress bar drawing in terminal emulators

  •    Ruby

A flexible progress bars drawing in terminal emulators. TTY::ProgressBar provides independent progress bars component for TTY toolkit.

rainbow - Ruby gem for colorizing printed text on ANSI terminals

  •    Ruby

Rainbow is a ruby gem for colorizing printed text on ANSI terminals. It provides a string presenter object, which adds several methods to your strings for wrapping them in ANSI escape codes. These codes when printed in a terminal change text attributes like text color, background color, intensity etc.

vim-gotham - Code never sleeps in Gotham City.

  •    Vim

Gotham is a very dark vim colorscheme. It works on GUI vim (MacVim or gVim) and on terminal vim. For terminal vim, there's support for a lot of terminal emulators in the gotham-contrib repository.If you don't use a plugin manager just copy the content of vim/colors/ to ~/.vim/colors.

terminal-to-html - Converts arbitrary shell output (with ANSI) into beautifully rendered HTML

  •    Go

Terminal is a Go library for converting arbitrary shell output (with ANSI) into beautifully rendered HTML. See http://en.wikipedia.org/wiki/ANSI_escape_code for more information about ANSI Terminal Control Escape Sequences. It provides a single command, terminal-to-html, that can be used to convert terminal output via STDIN, as well as via a simple web server.

terminal - Converts arbitrary shell output (with ANSI) into beautifully rendered HTML

  •    Go

Terminal is a Go library for converting arbitrary shell output (with ANSI) into beautifully rendered HTML. See http://en.wikipedia.org/wiki/ANSI_escape_code for more information about ANSI Terminal Control Escape Sequences. It provides a single command, terminal-to-html, that can be used to convert terminal output via STDIN, as well as via a simple web server.

chalk - Terminal string styling done right

  •    Javascript

Terminal string styling done right

themer-gui - A graphical UI for themer.

  •    Javascript

Themer takes your set of colors (or a built-in set of colors) and generates editor themes, terminal themes, and desktop/device wallpapers. This repository is a graphical UI for the command-line tool.

Pokemon-Terminal - Pokemon terminal themes.

  •    Python

You can install it with pip for a single user with pip3 install --user git+https://github.com/LazoCoder/Pokemon-Terminal.git. You might want to add ~/.local/bin on Linux and macOS or %AppData%\Python\Python3X\Scripts (replace X by the minor Python version you are running. For example, Python 3.7 users will want Python37) on Windows to your PATH to be able to call pokemon and ichooseyou everywhere. Make sure you also have Python installed, npm won't automagically do that for you.

alacritty - A cross-platform, GPU-accelerated terminal emulator

  •    Rust

Alacritty is the fastest terminal emulator in existence. Using the GPU for rendering enables optimizations that simply aren't possible in other emulators. Alacritty currently supports FreeBSD, Linux, macOS, and OpenBSD. Windows support is planned before the 1.0 release. Alacritty is focused on simplicity and performance. The performance goal means it should be faster than any other terminal emulator available. The simplicity goal means that it doesn't have features such as tabs or splits (which can be better provided by a window manager or terminal multiplexer) nor niceties like a GUI config editor.

blessed - A high-level terminal interface library for node.js.

  •    Javascript

A curses-like library with a high level terminal interface API for node.js.Reimplement ncurses entirely by parsing and compiling terminfo and termcap, and exposing a Program object which can output escape sequences compatible with any terminal.

ROTE Our Own Terminal Emulation Library

  •    C

ROTE is a simple C library for VT102 terminal emulation. It allows the programmer to set up virtual 'screens' and send them data. They will emulate the behavior of a VT102 terminal, interpreting escape sequences, control characters and such.