← All repos

bat

A cat(1) clone with wings.

clicommand-linegithacktoberfestrustsyntax-highlightingterminaltool
Browse cluster: Terminal & CLI Output Styling
4,006commits
509contributors
5languages

Tech stack & purpose

bat is a cat clone written in Rust that adds syntax highlighting and Git integration to the classic Unix file-viewing utility. Beyond basic file display, bat supports syntax highlighting for numerous programming and markup languages, shows Git modifications in a sidebar, can display non-printable characters, and automatically pipes long output to a pager. The tool functions as a drop-in replacement for cat while offering extensive customization options for themes, output styles, and language definitions, and integrates well with other command-line tools like fzf, ripgrep, and git.

Community & reference links

Languages

Rust
97.7%
Python
1.6%
Shell
0.6%
Nix
0.1%
Batchfile
0.0%

Contributors (top 30 of 509)