grc | chalk | |
---|---|---|
11 | 57 | |
1,814 | 21,430 | |
- | 0.4% | |
0.0 | 6.4 | |
13 days ago | 4 months ago | |
Python | JavaScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
grc
-
Show HN: Tailspin – A Log File Highlighter
Probably not as efficient, but I've been happily using grc [0] for the past several years. It handles simple rules quite well - beyond the basic info/debug/error coloring I use it for QOL such as different colors for even/odd timestamps and highlighting decimal places in large numbers.
[0] https://github.com/garabik/grc
-
Is there a program that formats the output of another programming using custom formatting rules?
A fairly simple program which only colorizes is grc. I wrote acolor in a similar vein, but it uses arbitrary programs/scripts instead of pure regex, and I've only written support for the programs I use, so no tcpdump. Don't use it unless you want to write your own colorizing scripts (if you do, please contribute!)
-
Is there a non-bloated way to get the terminal (xfce) to show colors for things like the prompt, files, folders, variables, and so forth?
You may want to check https://github.com/garabik/grc
- What are some CLI tools that you use that have pretty outputs?
-
Lolcat terminal help.
You'll probably appreciate grc.
-
DNS Esoterica – Why you can't dig Switzerland
There's this, which is a more modern dig, with color output, among other things: https://github.com/ogham/dog
There's also stuff like this, which will postprocess & color output from any command: https://github.com/garabik/grc, or https://github.com/armandino/TxtStyle
-
Format terminal output
I also found grc and wrote my own conf.latexmk:
-
No_color
Conversely if you want to add color to a command, I have found Generic Colorizer to be useful: https://github.com/garabik/grc
-
[Python] Parsing simple config files for a console coloriser (when this post is 30min old)
Last few streams I was working on a re-implementation of grc with more modern Python syntax and updated packaging meta-data.
- Colorized terminal
chalk
-
JavaScript Libraries That You Should Know
4. Chalk
-
Extracting YouTube video data with OpenAI and LangChain
Chalk: Provides an easy way to stylize terminal strings with various colors and text formatting in Node.js, aiding in creating visually appealing command-line outputs
-
Mastering Node.js CLI: Best Practices and Tips
Chalk is a popular choice for adding colors to CLI output while maintaining readability.
-
Despidiéndome de Console.log
LibrerĂas: Chalk winston, log4js
-
Comparison of Node.js libraries to colorize text in terminal
Today the most popular library and de facto standard is the chĐ°lk. The chalk has rich functionality, is fast but not ideal. It lacks some useful features.
-
Command Line Application: Bank Loan Tracker [Node]
This is a new tutorial on how to create a command line interface application, and our application today is a Mortgage Calculator. I used in this program packages such as 1- inquirer for interactive questions and answers: https://www.npmjs.com/package/inquirer 2- Sqlite3 DBMS 3- Chalk for colorful output in the terminal: https://www.npmjs.com/package/chalk
-
ESM not gaining traction in back-end Node?
One of the libraries I used most that went full-ESM is Chalk. They released v5 over a year-and-a-half ago (November 2021) with ESM-only support and haven't updated v4 - their last iteration that supported CommonJS - since. If you go into their GitHub Issues section, you'll see a number of issues raised about CommonJS support, most of which are just responded to with a link to a post they made about switching over. Fair enough. I guess if I had to constantly answer the same question over and over, I might do the same.
-
Let’s create a Node CLI for generating files from templates!
To colorize my logs, I used a chalk package and created a logger utility:
-
Create a CLI tool to help bootstraping Flutter project using Node.JS - Part 1
We will add some dependencies to help us deal with CLI behaviours (inquirer) and text coloring (chalk).
- Going beyond the old and boring console.log()
What are some alternatives?
bemenu - Dynamic menu library and client program inspired by dmenu
Inquirer.js - A collection of common interactive command line user interfaces.
no-ansi - A single-function CLI tool to strip escape codes from input
shelljs - :shell: Portable Unix shell commands for Node.js
no_color - Website data for no-color.org
Figlet - JavaScript parser for FIGlet fonts
pydflatex - Python wrapper around pdflatex
ora - Elegant terminal spinner
emacs-theme-gruvbox - Gruvbox is a retro groove color scheme for Emacs. Port of the Vim version.
Commander.js - node.js command-line interfaces made easy
TxtStyle - Command-line tool for colorizing console output and log files based on regular expressions
node-config - Node.js Application Configuration