Skip to content
/ colight Public

Command line utility that highlights text based on how compressible it is

License

Notifications You must be signed in to change notification settings

jnises/colight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Colight

screenshot

Command line utility that highlights text based on how compressible it is. Compressibility is determined using a lz77-like algorithm. The idea is that compressibility is a good indicator of whether a piece of text is interesting or not.

It only works in true-color terminals.

Usage

$ cat file | colight

Installing from source

cargo install --git https://github.com/jnises/colight

Building

Make sure you have rust installed (https://rustup.rs/)

cargo build -r

The resulting binary can be found in target/release/colight

About

Command line utility that highlights text based on how compressible it is

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages