A clone of cat(1) with wings. Ported to Golang.
🔸GoBat is a rewritten version of bat in Go — a syntax highlighting utility.
🔸The original project was developed by sharkdp
❗ The original project was written in the Rust programming language, I decided to make my own fork of this project in the Go programming language.
Since this is a fork of a project rewritten from Rust to Go, the internal implementation and documentation will differ. Since the original project has MIT and Apache licenses, I have full right to change the internal components of the project, with the exception of licenses and mentions of the author. The link to the original documentation can be found here, as well as in the docs/ directory. (At this stage of development, you will not find links to the original documentation in the /docs directory, but you can find it below.)
🔹 Original documentation
🔹 Original readme
- Current version: v0.9.0 (beta)
- Project status: in development...
- Languages: Go | Golang 1.24.2
- Tested on: Ubuntu 24.04
GoBat supports syntax highlighting for many programming and markup languages.

git clone https://github.com/wnderbin/go-bat # clone the repository and go to the project directory
cd go-bat
go build # compilation of the project
./go-bat # instructions for use
./go-bat README.md # view README.md file
