Co

Command line tool for viewing files in color

Hacker News

Command line tool for viewing files in color

The tool `peek` show files in color in the terminal. A wide range of popular programming language and file types are supported. Today I added support for binary files inspired by the HN post on colors in hex editors. Each supported programming language is backed by its own (reusable) lexer. The lexer provides a stream of tokens to the colorer. Using streams means that you will see the top of large files at once. The idea to make `peek` came from a need to look at CSS files in the terminal. I wanted color swatches and other niceties from the browser. Also, I wanted an option to fix alignment in machine generated CSS files. Enjoy.

Share card

Actual performance

1points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
76%76% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Product HuntOn track for Day 1 leaderboard · Strong signals: mac, using · Missing: agents, macos, agent
67%67% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: ide, io · Missing: https docs, excited, just released
57%57% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
40%40% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
34%34% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
14%14% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
1%1% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

co
command-line color scheme selector for iTerm259%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

command-line color scheme selector for iTerm2

Hacker News5
Co
Command-line color scheme selector for iTerm259%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Command-line color scheme selector for iTerm2

Hacker News3
OC
OCaml Bindings to Brotli and Command Line Tool41%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

OCaml Bindings to Brotli and Command Line Tool

Hacker News2
Hy
Hyperfine – a command-line benchmarking tool56%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Hyperfine – a command-line benchmarking tool

Hacker News126
Hy
Hyperfine – a command-line benchmarking tool56%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Hyperfine – a command-line benchmarking tool

Hacker News96
Ar
Argsearch – A composable tool for sweeping over command-line arguments56%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Argsearch – A composable tool for sweeping over command-line arguments

Hacker News6
Sl
Slap - A command line tool for pasting49%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Slap - A command line tool for pasting

Hacker News3
Cs
Csvlint.go, command line tool for validating CSV files against RFC 418046%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Csvlint.go, command line tool for validating CSV files against RFC 4180

Hacker News10
Co
Command line tool to validate HTML5 files47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Command line tool to validate HTML5 files

Hacker News1
Ts
Tsv2csv Clojure Powered Command Line Tool55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Tsv2csv Clojure Powered Command Line Tool

Hacker News2