• Stars
    star
    211
  • Rank 186,867 (Top 4 %)
  • Language
    Go
  • License
    MIT License
  • Created over 1 year ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿฑ cat alternative written in Go.

gat

GitHub release (latest by date) GitHub Workflow Status Maintainability Go Report Card LICENSE

cat alternative written in Go.

demo

Installation

Homebrew

$ brew install gat

Homebrew Tap

$ brew install koki-develop/tap/gat

go install

$ go install github.com/koki-develop/gat@latest

Releases

Download the binary from the releases page.

Usage

$ gat --help
cat alternative written in Go.

Usage:
  gat [file]... [flags]

Flags:
  -c, --force-color     force colored output
  -f, --format string   output format (default "terminal256")
  -h, --help            help for gat
  -l, --lang string     language for syntax highlighting
      --list-formats    print a list of supported output formats
      --list-langs      print a list of supported languages for syntax highlighting
      --list-themes     print a list of supported themes with preview
  -p, --pretty          whether to format a content pretty
  -t, --theme string    highlight theme (default "monokai")
  -v, --version         version for gat

-l, --lang

Explicitly set the language for syntax highlighting.
See languages.md for valid languages.

-f, --format

Set the output format ( default: terminal256 ).
See formats.md for valid formats.

-t, --theme

Set the highlight theme ( default: monokai ).
See themes.md for valid thtmes.

-p, --pretty

Format a content pretty.
For unsupported languages, this flag is ignored.

-c, --force-color

gat disables colored output when piped to another program.
Settings the --force-color forces colored output to be enabled.
This is useful, for example, when used in combination with the less -R command.

It is also useful to declare the following function to allow gat to be used with a pager.

function gess() {
  gat --force-color "$@" | less -R
}

Print Image

If your terminal supports Sixel, you can print images.

Supported image formats include:

  • JPEG
  • PNG
  • GIF (animation not supported)

LICENSE

MIT

More Repositories

1

clive

โšก Automates terminal operations.
Go
336
star
2

qiita-lgtm-ranking

Qiita ใฎใ„ใ„ใญใƒฉใƒณใ‚ญใƒณใ‚ฐ่จ˜ไบ‹ใ‚’ๆฏŽๆ—ฅ่‡ชๅ‹•ๆ›ดๆ–ฐใ™ใ‚‹ใ‚ทใ‚นใƒ†ใƒ ใ€‚
Go
70
star
3

sheep

๐Ÿ‘ Sleep with Sheep.
Go
60
star
4

go-fzf

๐Ÿ” Fuzzy Finder CLI and Library.
Go
48
star
5

gh-grass

๐Ÿ€ Grow github grass to console.
Go
43
star
6

qiita-ranking

๐Ÿ‘‘ Qiita ใฎใƒฉใƒณใ‚ญใƒณใ‚ฐ่จ˜ไบ‹ใ‚’่‡ชๅ‹•ๆ›ดๆ–ฐใ™ใ‚‹ใ‚ทใ‚นใƒ†ใƒ ใ€‚
Go
43
star
7

badge-generator

๐Ÿ… ใ‚ทใƒณใƒ—ใƒซใชใƒใƒƒใ‚ธ็”Ÿๆˆใ‚ตใƒผใƒ“ใ‚นใ€‚
TypeScript
34
star
8

xbar-plugin-github

An xbar plugin to display GitHub Pull Requests and notifications.
JavaScript
31
star
9

gogogo

ใƒใƒƒใ‚ฏใ‚จใƒณใƒ‰ใƒปใƒ•ใƒญใƒณใƒˆใ‚จใƒณใƒ‰ใƒปใ‚คใƒณใƒ•ใƒฉใƒป CI/CD ใ‚’ Go ใงๆ›ธใ„ใŸใ‚ตใƒณใƒ—ใƒซ Web ใ‚ขใƒ—ใƒชใ‚ฑใƒผใ‚ทใƒงใƒณใ€‚
Go
20
star
10

NyaIME

๐Ÿˆ ็Œซใฎ IME for Mac
Swift
20
star
11

typingo

โŒจ๏ธ Typing game written in Go
Go
19
star
12

lgtmgen

๐Ÿ–ผ๏ธ LGTM Generator
Go
17
star
13

lgtm-generator

TypeScript
15
star
14

docker-tags

๐Ÿณ Command line tool to get a list of tags for docker images.
Go
14
star
15

mingo

Go also wants to be minified.
Go
14
star
16

askai

๐Ÿค– AI is with you.
Go
12
star
17

gotrash

๐Ÿ—‘๏ธ rm alternative written in Go.
Go
11
star
18

kansai

๐Ÿ’ญ kansAI is a CLI tool for converting text to Kansai dialect.
Go
9
star
19

Koto

IME for Mac.
Swift
8
star
20

slp

๐Ÿ’ค sleep command with rich progress bar.
Go
5
star
21

gh-q

๐Ÿ“‚ gh extension to manage GitHub repositories like `ghq`
Go
4
star
22

hub-purge-action

๐Ÿงน Action to clear GitHub image caches.
JavaScript
4
star
23

xbar-plugins

xbar ใฎใƒ—ใƒฉใ‚ฐใ‚คใƒณใ€‚่‡ชๅˆ†็”จใ€‚
Go
3
star
24

v-spinner

๐ŸŒ€ A library for V to display customizable spinners on the command line.
V
3
star
25

cloudfront-oac-with-terraform-example

CloudFront ใ‹ใ‚‰ S3 ใธใฎใ‚ขใ‚ฏใ‚ปใ‚นๅˆถๅพกใซ OAC ใ‚’ๅˆฉ็”จใ™ใ‚‹ Terraform ใฎใ‚ตใƒณใƒ—ใƒซใ‚ณใƒผใƒ‰
HCL
3
star
26

bsky-tech-trending-bot

ๆŠ€่ก“ใซ้–ขใ™ใ‚‹ใƒˆใƒฌใƒณใƒ‰ใƒ‹ใƒฅใƒผใ‚นใ‚’ๆตใ™ Bluesky ใƒœใƒƒใƒˆใ€‚
TypeScript
3
star
27

aws-masking

๐Ÿ•ถ๏ธ Enhance your security by auto-hiding sensitive information on AWS Management Console.
TypeScript
3
star
28

gh-actions-oidc-example

GitHub Actions ใง OIDC ใ‚’ไฝฟ็”จใ™ใ‚‹ใ‚ตใƒณใƒ—ใƒซใ‚ณใƒผใƒ‰
HCL
3
star
29

bun-diff-action

Show diff of bun.lockb on a Pull Request.
TypeScript
3
star
30

ego

๐Ÿ“ฃ echo alternative written in Go.
Go
2
star
31

xvert

โ†”๏ธ Convert between JSON, YAML, TOML, and various other formats.
Ruby
2
star
32

thredot-roadmap

thredot.org roadmap
2
star
33

tailwindcss-tooltip-example

Tailwind CSS ใงใƒ„ใƒผใƒซใƒใƒƒใƒ—ใ‚’ไฝœๆˆใ™ใ‚‹ใ‚ตใƒณใƒ—ใƒซใ‚ณใƒผใƒ‰ใ€‚
TypeScript
2
star
34

terraform-provider-js

The Next Generation AltJS
Go
2
star
35

alexa-skill-gpt

Alexa Skill Powered by GPT
JavaScript
2
star
36

homebrew-tap

my homebrew tap ๐Ÿบ
Ruby
1
star
37

checkip

ใ‚ฏใƒฉใ‚คใ‚ขใƒณใƒˆใฎ IP ใ‚ขใƒ‰ใƒฌใ‚นใ‚’่ฟ”ใ™ใ‚ทใƒณใƒ—ใƒซใช API ใ€‚
HCL
1
star
38

koki-develop.github.io

Koki Sato
TypeScript
1
star
39

aws-monitoring

AWS ใƒชใ‚ฝใƒผใ‚นใฎใƒขใƒ‹ใ‚ฟใƒชใƒณใ‚ฐ้–ข้€ฃไฝœๆˆ็”จ Terraform ใ‚ณใƒผใƒ‰ใ€‚
HCL
1
star
40

todoist-cli

CLI Client for Todoist.
Go
1
star
41

koki-develop

1
star
42

ogp-messenger

OGP ็”ปๅƒใงใƒกใƒƒใ‚ปใƒผใ‚ธใ‚’็™บไฟกใงใใ‚‹ใƒ„ใƒผใƒซใ€‚
TypeScript
1
star
43

todoist-go

Go client library for Todoist REST API.
Go
1
star
44

tf-import-example

HCL
1
star
45

ecr-retag-image-example

ecr-retag-image-example
Shell
1
star
46

hello-cli

Hello, CLI
Go
1
star
47

terraform-on-codebuild-example

AWS CodeBuild ไธŠใง terraform ใ‚’ๅฎŸ่กŒใ™ใ‚‹ใ‚ตใƒณใƒ—ใƒซใ‚ณใƒผใƒ‰ใ€‚
HCL
1
star
48

go-cli-template

Go CLI Application Template
Go
1
star
49

chipichapa

Go
1
star
50

my-feeds

่‡ชๅˆ†็”จ
TypeScript
1
star
51

litetodo

Go
1
star
52

ollamit

A command-line tool to generate commit messages with ollama.
Go
1
star
53

ts-action-template

This is a template for creating GitHub Actions in TypeScript.
TypeScript
1
star
54

gonvert

โ†”๏ธ Convert between JSON, YAML.
Go
1
star
55

bookmarklet-link

Bookmarklet ใฎไฝœๆˆใ‚’ใ‚ตใƒใƒผใƒˆใ™ใ‚‹ใƒ„ใƒผใƒซใ€‚
TypeScript
1
star
56

athena-query-action

Execute a query on Amazon Athena.
TypeScript
1
star
57

major-version-sync

Syncs the major version tag with the new tag.
TypeScript
1
star