• Stars
    star
    216
  • Rank 183,179 (Top 4 %)
  • Language
    Go
  • License
    MIT License
  • Created about 4 years ago
  • Updated 4 months ago

Reviews

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

Repository Details

Display images and gifs in your terminal.

Imgcat

Go Report Card License MIT Go Doc Release

Display images and gifs in your terminal emulator.

Features

  • Animated GIF support
  • Accept media through stdin
  • Transparency

Installation

MacOS

brew install danielgatis/imgcat/imgcat

Linux

First, install snapcraft.

sudo snap install imgcat

Windows

First, install scoop.

scoop bucket add scoop-imgcat https://github.com/danielgatis/scoop-imgcat.git
scoop install scoop-imgcat/imgcat

Download binaries

Alternatively, you can download a pre-built binary here.

Build from source

First, install Go.

Next, fetch and build the binary.

go install github.com/danielgatis/imgcat@latest

or, if you use pre-1.17 Go version, use the go get command:

go get -u github.com/danielgatis/imgcat

Usage

Display a remote image

curl -s http://input.png | imgcat

Display a local image

imgcat path/to/image.png

Requirements

Your terminal emulator must be support true color and use a monospaced font that includes the lower half block unicode character (β–„ U+2584).

License

Copyright (c) 2020-present Daniel Gatis

Licensed under MIT License

Buy me a coffee

Liked some of my work? Buy me a coffee (or more likely a beer)

Buy Me A Coffee

More Repositories

1

rembg

Rembg is a tool to remove images background
Python
16,578
star
2

puppeteer-recaptcha-solver

Recaptcha solver for puppeteer.
JavaScript
565
star
3

docscan

Docscan is a document scanner. Take a photo of your documents and frame it.
Python
91
star
4

facematch

Facematch is a tool to verifies if two photos contain the same person.
Python
76
star
5

darknetpy

darknetpy is a simple binding for darknet's yolo detector.
Jupyter Notebook
66
star
6

go-vte

A library to parse terminal escape sequences (almost) exactly how the real hardware does.
Go
25
star
7

go-orderbook

The pkg go-orderbook implements a limit order book for high-frequency trading (HFT), as described by WK Selph.
Go
21
star
8

django-smart-save

Adds the method save_if_valid to Model, which calls both full_clean and save.
Python
15
star
9

chip8

A CHIP-8 emulator for Rust in ~350 LOC.
Rust
10
star
10

go-rafting

A framework to build fault tolerant apps.
Go
10
star
11

search_in_files

This is a tool for search text in files.
Jupyter Notebook
5
star
12

go-discovery

A collection of service discovery implementations.
Go
4
star
13

go-findfont

Find system fonts through the fontconfig library (a.k.a `fc-match`).
Go
4
star
14

go-ctrlc

Gracefully quit when you press ctrl-c.
Go
3
star
15

go-freetype

Go bindings for the FreeType library. Only the high-level API is bound.
Go
2
star
16

go-ansicode

go-ansicode is a package that interprets ANSI codes and allows you to register a handler to deal with the operations
Go
2
star
17

go-ruby-prism

The Ruby Prism parser bindings to GO (without cgo)
Go
2
star
18

go-ptrloop

A helper to iterate over unsafe pointers.
Go
2
star
19

scoop-imgcat

scoop bucket imgcat.
1
star
20

homebrew-imgcat

brew tap imgcat.
Ruby
1
star
21

go-simplerouter

A simple request router for Go in ~100 lines of code.
Go
1
star
22

cobra.rs

The smallest snake in rust ~ 130LOC.
Rust
1
star
23

go-keyval

A Variadic helper to mimic named arguments.
Go
1
star
24

go-logrus-adapters

A collection of adapters for logrus pkg.
Go
1
star
25

myfaces-captcha-generator

Java
1
star
26

gatix

Gatix
C
1
star
27

go-utf8

A state machine based UTF8 parser
Go
1
star