• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

chafa/H31-Aug-2021-34,42724,367

docs/H03-May-2022-4,0473,501

libnsgif/H31-Aug-2021-2,5491,611

m4/H31-Aug-2021-9,0568,185

tests/H31-Aug-2021-713605

tools/H31-Aug-2021-6,4935,190

AUTHORSH A D30-Aug-2021931 2722

COPYINGH A D11-Mar-201834.3 KiB675553

COPYING.LESSERH A D11-Mar-20187.5 KiB166128

HACKINGH A D13-Jun-20213.3 KiB8859

INSTALLH A D26-Oct-201715.4 KiB369287

Makefile.amH A D13-Jun-2021352 1915

Makefile.inH A D31-Aug-202128.9 KiB923820

NEWSH A D31-Aug-202111.2 KiB297221

READMEH A D13-Jun-20212.4 KiB7755

README.mdH A D31-Aug-20212.7 KiB7251

TODOH A D22-Aug-20212.7 KiB8373

acinclude.m4H A D14-Apr-20203.7 KiB111105

aclocal.m4H A D31-Aug-202162.5 KiB1,7221,549

ar-libH A D27-May-20215.7 KiB272211

autogen.shH A D31-Aug-20212.9 KiB11487

chafa.pc.inH A D03-Mar-2020265 1210

compileH A D27-May-20217.2 KiB349259

config.guessH A D27-May-202148.5 KiB1,6981,486

config.h.inH A D31-Aug-20212.9 KiB11677

config.subH A D27-May-202133.4 KiB1,8541,677

configureH A D31-Aug-2021503.3 KiB17,23314,438

configure.acH A D31-Aug-202114.3 KiB433370

depcompH A D27-May-202123 KiB792502

gtk-doc.makeH A D27-May-202110.5 KiB322275

install-shH A D27-May-202115 KiB542352

ltmain.shH A D31-Aug-2021316.5 KiB11,1487,979

missingH A D27-May-20216.7 KiB216143

README

1Chafa
2=====
3
4Chafa is a command-line utility that converts all kinds of images, including
5animated GIFs, into sixel or ANSI/Unicode character output that can be
6displayed in a terminal.
7
8It is highly configurable, with support for alpha transparency and multiple
9color modes and color spaces, combining selectable ranges of Unicode
10characters to produce the desired output.
11
12The core functionality is provided by a C library with a public,
13well-documented API.
14
15Both library and frontend tools are covered by the Lesser GPL license,
16version 3 or later (LGPLv3+).
17
18For the most up-to-date information, please see https://hpjansson.org/chafa/
19
20Installing with package manager
21-------------------------------
22
23Chafa is available as packages for many software distributions. A few are
24listed below, along with their command-line installation instructions:
25
26Arch Linux .... pacman -S chafa
27Brew .......... brew install chafa
28Debian ........ apt install chafa
29Fedora ........ dnf install chafa
30FreeBSD ....... pkg install chafa
31Gentoo ........ emerge media-gfx/chafa
32Guix .......... guix install chafa
33Kali Linux .... apt install chafa
34OpenBSD ....... pkg_add chafa
35openSUSE ...... zypper ar -f obs://graphics graphics && zypper in chafa
36Ubuntu ........ apt install chafa
37
38See https://hpjansson.org/chafa/download/ for more.
39
40Installing from tarball
41-----------------------
42
43You will need GCC, make and the GLib development package installed to
44compile Chafa from a release tarball. If you want to build the
45command-line tool `chafa` and not just the library, you will
46additionally need the ImageMagick development packages.
47
48Prebuilt documentation is included in the release tarball, and you do not
49need gtk-doc unless you want to make changes/rebuild it.
50
51After unpacking, cd to the toplevel directory and issue the following
52shell commands:
53
54$ ./configure
55$ make
56$ sudo make install
57
58Installing from git repository
59------------------------------
60
61You will need GCC, make, Autoconf, Automake, Libtool and the GLib
62development package installed to compile Chafa from its git repository. If
63you want to build the command-line tool `chafa` and not just the library,
64you will additionally need the ImageMagick development packages.
65
66If you want to build documentation, you will also need gtk-doc.
67
68Start by cloning the repository:
69
70$ git clone https://github.com/hpjansson/chafa.git
71
72Then cd to the toplevel directory and issue the following shell commands:
73
74$ ./autogen.sh
75$ make
76$ sudo make install
77

README.md

1<!-- This file exists mostly to get a pretty page on git web hosts. See
2  -- README (with no extension) for readable plaintext instructions, or
3  -- go to https://hpjansson.org/chafa/ in a web browser -->
4
5<p align="center">
6<a href="https://hpjansson.org/chafa/">
7  <img src="https://raw.githubusercontent.com/hpjansson/chafa/master/docs/chafa-logo.gif" />
8</a>
9<br />
10
11<a href="https://travis-ci.com/hpjansson/chafa/branches" rel="nofollow">
12<img src="https://img.shields.io/travis/com/hpjansson/chafa/master.svg?label=master&style=for-the-badge" alt="Master Build Status" />
13&emsp;
14<img src="https://img.shields.io/travis/com/hpjansson/chafa/1.8.svg?label=1.8&style=for-the-badge" alt="1.8 Build Status" />
15</a>
16&emsp;
17<a href="https://hpjansson.org/chafa/download/">
18<img src="https://img.shields.io/github/release/hpjansson/chafa.svg?style=for-the-badge" alt="Latest Release" />
19</a>
20<br />
21</p>
22
23<p align="center"><a href="https://hpjansson.org/chafa/">About</a> • <a href="https://hpjansson.org/chafa/gallery/">Gallery</a> • <a href="https://hpjansson.org/chafa/download/">Packages</a> • <a href="https://hpjansson.org/chafa/development/">Development</a></p>
24
25Chafa is a command-line utility that converts all kinds of images, including
26animated GIFs, into sixel or ANSI/Unicode character output that can be
27displayed in a terminal.
28
29It is highly configurable, with support for alpha transparency and multiple
30color modes and color spaces, combining selectable ranges of Unicode
31characters to produce the desired output.
32
33The core functionality is provided by a C library with a public,
34well-documented API.
35
36Both library and frontend tools are covered by the Lesser GPL license,
37version 3 or later (LGPLv3+).
38
39The [official web pages](https://hpjansson.org/chafa/) and [C API
40documentation](https://hpjansson.org/chafa/ref/) can be found online. Check
41out the [gallery](https://hpjansson.org/chafa/gallery/) for screenshots.
42
43## Installing
44
45Chafa is most likely packaged for your distribution, so if you're not
46going to hack on it, you're better off using
47[official packages](https://hpjansson.org/chafa/download/). If you want to
48build the latest and greatest yourself, read on.
49
50You will need GCC, make, Autoconf, Automake, Libtool and the GLib
51development package installed to compile Chafa from its git repository. If
52you want to build the command-line tool `chafa` and not just the library,
53you will additionally need the ImageMagick development packages.
54
55If you want to build documentation, you will also need gtk-doc.
56
57Start by cloning the repository:
58
59```sh
60$ git clone https://github.com/hpjansson/chafa.git
61```
62
63Then cd to the toplevel directory and issue the following shell commands:
64
65```sh
66$ ./autogen.sh
67$ make
68$ sudo make install
69```
70
71That should do it!
72