sharkdp/bat

A cat(1) clone with wings.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 10 seconds ago
Added to GitGenius on August 31st, 2026
Created on April 21st, 2018
Open Issues & Pull Requests: 420 (+0)
Number of forks: 1,636
Total Stargazers: 60,320 (-2)
Total Subscribers: 237 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 20.8 hours
Mean response time: 42.8 days
90th percentile: 82.0 days
Tracked items: 334

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 99% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "question" is answered fastest, typically in about 5 hours, while "feature-request" waits about 2 days. 60% of tracked open issues have had no activity in three months, so the open count overstates what is actively being worked. Only 5% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 142
New in 7 days: 2
Closed in 7 days: 0
Avg open age: 696 days
Stale 30+ days: 125
Stale 90+ days: 97

Recent activity

Opened in 7 days: 1
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (152)
  • feature-request (98)
  • syntax-request (45)
  • good first issue (26)
  • question (19)
  • pager-related (17)
  • syntax-highlighting (16)
  • help wanted (14)

Detailed Description

bat is a command-line tool that replaces the standard cat utility with syntax highlighting and Git integration.

The tool solves the problem of viewing file contents in the terminal with minimal visual context. bat adds syntax highlighting across a large number of programming and markup languages, making code easier to read at a glance. It integrates with Git to display file modifications as a sidebar, showing changes relative to the index. The tool automatically detects when output should be paged for long files and falls back to plain output when piped to another process, preserving cat's behavior as a drop-in replacement. It can also display non-printable characters with highlighting when requested.

Developers should choose bat if they frequently read source code in the terminal and want better visual distinction between syntax elements without leaving the command line. It suits any workflow where cat is currently used but would benefit from syntax awareness. The tool works well integrated with other command-line utilities like fzf, find, fd, and ripgrep through standard piping and option flags. bat's automatic paging and intelligent output detection mean it can replace cat directly in shell aliases without breaking existing scripts or piped commands.

The project maintains active continuous integration workflows. Development follows a structured approach with clear configuration and customization options documented in the README. The tool is written in Rust, indicating a focus on performance and reliability for a frequently-used command-line utility.