pterm - ✨ #PTerm is a modern go module to beautify console output

  •        138

PTerm is designed to create a platform independent way to create beautiful terminal output. Most modules that want to improve the terminal output do not guarantee platform independence - PTerm does. PTerm follows the most common methods for displaying color in a terminal. With PTerm, it is possible to create beautiful output even in low-level environments. Our first priority is to keep PTerm as easy to use as possible. With many examples for each individual component, getting started with PTerm is extremely easy. All components are similar in design and implement interfaces to simplify mixing individual components together.

https://pterm.sh
https://github.com/pterm/pterm

Tags
Implementation
License
Platform

   




Related Projects

ProxyTerm

  •    Perl

ProxyTerm (pterm) is a simple tool to control console applications running on a remote machine. Unlike in telnet/ssh, applications are not terminated if the connection is shut down, but are kept running for subsequent connections from pterm clients.

pretty - Library for helping print things prettily, in Clojure - ANSI fonts, formatted exceptions

  •    Clojure

Sometimes, neatness counts. If you are trying to puzzle out a stack trace, pick a critical line of text out of a long stream of console output, or compare two streams of binary data, a little bit of formatting can go a long way.

atom-beautify - :lipstick: Universal beautification package for Atom editor (:warning: Currently migrating to https://github

  •    CoffeeScript

Atom-Beautify respects the core.telemetryConsent configuration option from Atom editor. If you do not wish to have usage data sent to Google Analytics then please set core.telemetryConsent to no or undecided option before using Atom-Beautify. See Anonymous Analytics section of docs for details. Thank you. Atom-Beautify is going to be completely rewritten with Unibeautify at its core! See unibeautify branch for work in progress and Issue #1174.

termenv - Advanced ANSI style & color support for your terminal applications

  •    Go

termenv lets you safely use advanced styling options on the terminal. It gathers information about the terminal environment in terms of its ANSI & color support and offers you convenient methods to colorize and style your output, without you having to deal with all kinds of weird ANSI escape sequences and color conversions. Other available helper functions are: Faint, Italic, CrossOut, Underline, Overline, Reverse, and Blink.


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"))).

cfonts - Sexy fonts for the console

  •    Javascript

This is a silly little command line tool for sexy fonts in the console. Give your cli some love.To install the CLI app, simply NPM install it globally.

colors.js - get colors in your node.js console

  •    Javascript

colors.js - get colors and style in your node.js console. It helps to set colors for text, background colors. You can change the styles of text to bold, underline, inverse, strikethrough.

cli-color - Colors and formatting for the console

  •    Javascript

Colors, formatting and other goodies for the console. This package won't mess with built-ins and provides neat way to predefine formatting patterns, see below. Styles will display correctly if font used in your console supports them.

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.

finalcut - A text-based widget toolkit

  •    C++

FINAL CUT is a C++ class library and widget toolkit with full mouse support for creating a text-based user interface. The library supports the programmer to develop an application for the text console. It allows the simultaneous handling of multiple text windows on the screen. The structure of the Qt framework was originally the inspiration for the C++ class design of FINAL CUT. It provides common controls like dialog boxes, push buttons, check boxes, radio buttons, input lines, list boxes, status bars and so on.

kleur - The fastest Node.js library for formatting terminal text with ANSI colors~!

  •    Javascript

Toggle color support as needed; kleur assumes it's always enabled. Any kleur method returns a String (when invoked, not chained). It's up to the developer to pass the output to destinations like console.log, process.stdout.write, etc.

ppds - Pretty Print Data Structures

  •    Go

Stacks, queues, trees and linked lists are data structures that you might find yourself working with quite often. This library lets you pretty print these with minimum effort. Certain assumptions can be made for each data structure, for instance, a stack or a queue will have methods synonymous to Push (insert) and Pop (remove), a tree node will have links to its child nodes, or a linked list node will have a link to its next adjacent node. This library utilises those assumptions, and exports interfaces and functions to pretty print them. A type that satisfies the following interface can be printed using tree.Print.

tabled - An easy to use library for pretty print tables of Rust structs and enums.

  •    Rust

An easy to use library for pretty printing tables of Rust structs and enums. To print a list of structs or enums as a table your types should implement the the Tabled trait or derive with a #[derive(Tabled)] macro.

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.

TheGlowingLoader - TheGlowingLoader is the highly configurable library to indicate progress and is natively created for Android Platform

  •    Java

Android Library which is the implementation of The Glowing Loader created by Shashank Sahay. I have made it so that it can be easily customized. You can change line stroke width, line colors, particle colors, disable several effects etc.

progressbar - An easy-to-use C library for displaying text progress bars.

  •    C

progressbar is a C-class (it's a convention, dammit) for displaying attractive progress bars on the command line. It's heavily influenced by the ruby ProgressBar gem, whose api and behaviour it imitates. progressbar is implemented in pure C99, but using a vaguely object-oriented convention.

aurora - Golang ultimate ANSI-colors that supports Printf/Sprintf methods

  •    Go

Ultimate ANSI colors for Golang. The package supports Printf/Sprintf etc.

eyes.js - a customizable value inspector for node.js

  •    Javascript

I was tired of looking at cluttered output in the console -- something needed to be done, sys.inspect() didn't display regexps correctly, and was too verbose, and I had an hour or two to spare. So I decided to have some fun. eyes were born. eyes also deals with circular objects in an intelligent way, and can pretty-print object literals.

XML pretty print for python (xmlpp)

  •    

A lightweight, non-validating module that does an XML pretty print using python. Works/does a best effort on html and malformed/invalid xml.






We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.