grc
dotfiles
grc | dotfiles | |
---|---|---|
11 | 4 | |
1,814 | 1 | |
- | - | |
0.0 | 8.3 | |
13 days ago | almost 2 years ago | |
Python | Shell | |
GNU General Public License v3.0 or later | Creative Commons Zero v1.0 Universal |
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
dotfiles
-
high input latency (>200ms) on each keypress when editing markdown with treesitter in neovim
I've enabled filetype.lua using g.do_filetype_lua = 1 and disabled filetype.vim using g.did_load_filetypes = 0. I'm using the markdown treesitter parser. Here's the --startuptime log file when a markdown file is opened. Here's my ~/.config/nvim.
-
What's the current most effective way of setting env variables in Sway?
You can use my dotfiles for reference if you want.
-
Can Swaybg cycle wallpapers?
Here's my simple systemd timer to rotate wallpapers in case you're using a distro with systemd.
-
No_color
> Why is this so annoying? It's a very common workflow that allows you to customize how an application behaves and simplify how you run it.
I don't know about others but I'm not a fan of monstrosity like this
https://github.com/ayushnix/dotfiles/commit/2eb66eff8a03a5bf...
If I stuff it into a wrapper script, I'm essentially trying to emulate config files, which is what should've been used in the first place. This is why I prefer using config files rather than creating uglier and harder to maintain wrapper scripts.
> I'm a big fan of following the 12factor[1] approach.
I guess if you don't want state associated with your deployments, environment variables are better but I would still argue that they aren't manageable when their values become large as shown above or if their numbers start approaching double digits because when that happens, you're essentially emulating config files anyways.
What are some alternatives?
bemenu - Dynamic menu library and client program inspired by dmenu
wpaperd - Modern wallpaper daemon for Wayland
no-ansi - A single-function CLI tool to strip escape codes from input
sway-systemd - Systemd integration for Sway session
no_color - Website data for no-color.org
pydflatex - Python wrapper around pdflatex
dotfiles - My dotfiles managed with chezmoi
emacs-theme-gruvbox - Gruvbox is a retro groove color scheme for Emacs. Port of the Vim version.
TxtStyle - Command-line tool for colorizing console output and log files based on regular expressions
colorized-logs - tools for logs with ANSI color