├── .github ├── dependabot.yml └── workflows │ └── go.yml ├── .gitignore ├── LICENSE ├── Makefile ├── README.md ├── cmd ├── demo │ └── main.go ├── gallery │ ├── LICENSE │ ├── Makefile │ ├── README.md │ ├── gallery.webp │ ├── go.mod │ ├── go.sum │ └── main.go ├── imgcat │ ├── LICENSE │ ├── Makefile │ ├── README.md │ ├── cmd │ │ └── root.go │ ├── go.mod │ ├── go.sum │ ├── imgcat_test.go │ └── main.go └── terminfo │ ├── Makefile │ ├── go.mod │ ├── go.sum │ └── main.go ├── detect.go ├── detect_test.go ├── doc.go ├── docs ├── logo-dark.png └── logo-light.png ├── encoding.go ├── go.mod ├── go.sum ├── halfblocks.go ├── iterm2.go ├── kitty.go ├── kitty_test.go ├── pkg └── csi │ └── csi.go ├── protocol.go ├── renderers.go ├── renderers_test.go ├── resize.go ├── resize_test.go ├── sixel.go ├── stateful_widget.go ├── stateful_widget_test.go ├── termimg.go ├── termimg_test.go ├── testdata ├── dancing_1.png ├── dancing_2.png ├── dancing_3.png ├── dancing_4.png ├── dancing_5.png ├── image.png └── image_smol.png ├── tmux.go ├── tools_cellbuf.go └── tui.go /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/go.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/.github/workflows/go.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/README.md -------------------------------------------------------------------------------- /cmd/demo/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/cmd/demo/main.go -------------------------------------------------------------------------------- /cmd/gallery/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/cmd/gallery/LICENSE -------------------------------------------------------------------------------- /cmd/gallery/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/cmd/gallery/Makefile -------------------------------------------------------------------------------- /cmd/gallery/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/cmd/gallery/README.md -------------------------------------------------------------------------------- /cmd/gallery/gallery.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/cmd/gallery/gallery.webp -------------------------------------------------------------------------------- /cmd/gallery/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/cmd/gallery/go.mod -------------------------------------------------------------------------------- /cmd/gallery/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/cmd/gallery/go.sum -------------------------------------------------------------------------------- /cmd/gallery/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/cmd/gallery/main.go -------------------------------------------------------------------------------- /cmd/imgcat/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/cmd/imgcat/LICENSE -------------------------------------------------------------------------------- /cmd/imgcat/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/cmd/imgcat/Makefile -------------------------------------------------------------------------------- /cmd/imgcat/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/cmd/imgcat/README.md -------------------------------------------------------------------------------- /cmd/imgcat/cmd/root.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/cmd/imgcat/cmd/root.go -------------------------------------------------------------------------------- /cmd/imgcat/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/cmd/imgcat/go.mod -------------------------------------------------------------------------------- /cmd/imgcat/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/cmd/imgcat/go.sum -------------------------------------------------------------------------------- /cmd/imgcat/imgcat_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/cmd/imgcat/imgcat_test.go -------------------------------------------------------------------------------- /cmd/imgcat/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/cmd/imgcat/main.go -------------------------------------------------------------------------------- /cmd/terminfo/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/cmd/terminfo/Makefile -------------------------------------------------------------------------------- /cmd/terminfo/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/cmd/terminfo/go.mod -------------------------------------------------------------------------------- /cmd/terminfo/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/cmd/terminfo/go.sum -------------------------------------------------------------------------------- /cmd/terminfo/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/cmd/terminfo/main.go -------------------------------------------------------------------------------- /detect.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/detect.go -------------------------------------------------------------------------------- /detect_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/detect_test.go -------------------------------------------------------------------------------- /doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/doc.go -------------------------------------------------------------------------------- /docs/logo-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/docs/logo-dark.png -------------------------------------------------------------------------------- /docs/logo-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/docs/logo-light.png -------------------------------------------------------------------------------- /encoding.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/encoding.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/go.sum -------------------------------------------------------------------------------- /halfblocks.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/halfblocks.go -------------------------------------------------------------------------------- /iterm2.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/iterm2.go -------------------------------------------------------------------------------- /kitty.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/kitty.go -------------------------------------------------------------------------------- /kitty_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/kitty_test.go -------------------------------------------------------------------------------- /pkg/csi/csi.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/pkg/csi/csi.go -------------------------------------------------------------------------------- /protocol.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/protocol.go -------------------------------------------------------------------------------- /renderers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/renderers.go -------------------------------------------------------------------------------- /renderers_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/renderers_test.go -------------------------------------------------------------------------------- /resize.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/resize.go -------------------------------------------------------------------------------- /resize_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/resize_test.go -------------------------------------------------------------------------------- /sixel.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/sixel.go -------------------------------------------------------------------------------- /stateful_widget.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/stateful_widget.go -------------------------------------------------------------------------------- /stateful_widget_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/stateful_widget_test.go -------------------------------------------------------------------------------- /termimg.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/termimg.go -------------------------------------------------------------------------------- /termimg_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/termimg_test.go -------------------------------------------------------------------------------- /testdata/dancing_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/testdata/dancing_1.png -------------------------------------------------------------------------------- /testdata/dancing_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/testdata/dancing_2.png -------------------------------------------------------------------------------- /testdata/dancing_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/testdata/dancing_3.png -------------------------------------------------------------------------------- /testdata/dancing_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/testdata/dancing_4.png -------------------------------------------------------------------------------- /testdata/dancing_5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/testdata/dancing_5.png -------------------------------------------------------------------------------- /testdata/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/testdata/image.png -------------------------------------------------------------------------------- /testdata/image_smol.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/testdata/image_smol.png -------------------------------------------------------------------------------- /tmux.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/tmux.go -------------------------------------------------------------------------------- /tools_cellbuf.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/tools_cellbuf.go -------------------------------------------------------------------------------- /tui.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blacktop/go-termimg/HEAD/tui.go --------------------------------------------------------------------------------