{"id":13437850,"url":"https://github.com/hpjansson/chafa","last_synced_at":"2025-05-13T23:07:42.033Z","repository":{"id":37271428,"uuid":"130906897","full_name":"hpjansson/chafa","owner":"hpjansson","description":"📺🗿 Terminal graphics for the 21st century.","archived":false,"fork":false,"pushed_at":"2025-05-03T19:09:17.000Z","size":3928,"stargazers_count":3340,"open_issues_count":41,"forks_count":68,"subscribers_count":33,"default_branch":"master","last_synced_at":"2025-05-03T20:20:19.118Z","etag":null,"topics":["ansi","cli","graphics","graphics-library","image-processing","image-viewer","images","iterm2","kitty","powershell","sixel","terminal","terminal-based","terminal-graphics"],"latest_commit_sha":null,"homepage":"https://hpjansson.org/chafa/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hpjansson.png","metadata":{"files":{"readme":"README","changelog":"NEWS","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-04-24T19:57:55.000Z","updated_at":"2025-05-03T19:09:20.000Z","dependencies_parsed_at":"2024-02-04T02:30:38.175Z","dependency_job_id":"ec1916bb-bd99-4899-8d24-c33412a3f1a2","html_url":"https://github.com/hpjansson/chafa","commit_stats":{"total_commits":1335,"total_committers":31,"mean_commits":"43.064516129032256","dds":0.5183520599250937,"last_synced_commit":"953083656b45f0f2c92d98be6158ee6b2a518af0"},"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpjansson%2Fchafa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpjansson%2Fchafa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpjansson%2Fchafa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpjansson%2Fchafa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hpjansson","download_url":"https://codeload.github.com/hpjansson/chafa/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254041310,"owners_count":22004700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansi","cli","graphics","graphics-library","image-processing","image-viewer","images","iterm2","kitty","powershell","sixel","terminal","terminal-based","terminal-graphics"],"created_at":"2024-07-31T03:01:00.682Z","updated_at":"2025-05-13T23:07:37.011Z","avatar_url":"https://github.com/hpjansson.png","language":"C","readme":"Chafa\n=====\n\nChafa is a command-line utility that converts image data, including\nanimated GIFs, into graphics formats or ANSI/Unicode character art suitable\nfor display in a terminal. It has broad feature support, allowing it to be\nused on devices ranging from historical teleprinters to modern terminal\nemulators and everything in between.\n\nThe core functionality is provided by a C library with a public,\nwell-documented API.\n\nBoth library and frontend tools are covered by the Lesser GPL license,\nversion 3 or later (LGPLv3+).\n\nFor the most up-to-date information, please see https://hpjansson.org/chafa/\n\nInstalling with package manager\n-------------------------------\n\nChafa is available as packages for many software distributions. A few are\nlisted below, along with their command-line installation instructions:\n\nArch Linux .... pacman -S chafa\nBrew .......... brew install chafa\nDebian ........ apt install chafa\nFedora ........ dnf install chafa\nFreeBSD ....... pkg install chafa\nGentoo ........ emerge media-gfx/chafa\nGuix .......... guix install chafa\nKali Linux .... apt install chafa\nMacPorts ...... port install chafa\nOpenBSD ....... pkg_add chafa\nopenSUSE ...... zypper in chafa\nUbuntu ........ apt install chafa\n\nOn Windows, Chafa can be installed via Scoop and Winget:\n\nScoop ....... scoop install chafa\nWinget ....... winget install hpjansson.Chafa\n\nSee https://hpjansson.org/chafa/download/ for more.\n\nInstalling from tarball\n-----------------------\n\nYou will need GCC, make and the GLib development package installed to\ncompile Chafa from a release tarball. If you want to build the\ncommand-line tool `chafa` and not just the library, you will\nadditionally need the ImageMagick development packages.\n\nPrebuilt documentation is included in the release tarball, and you do not\nneed gtk-doc unless you want to make changes/rebuild it.\n\nAfter unpacking, cd to the toplevel directory and issue the following\nshell commands:\n\n$ ./configure\n$ make\n$ sudo make install\n\nInstalling from git repository\n------------------------------\n\nYou will need GCC, make, Autoconf, Automake, Libtool and the GLib\ndevelopment package installed to compile Chafa from its git repository. If\nyou want to build the command-line tool `chafa` and not just the library,\nyou will additionally need development packages for:\n\n* FreeType2\n* libjpeg (optional)\n* librsvg (optional)\n* libtiff (optional)\n* libwebp (optional)\n* ImageMagick (optional, deprecated)\n\nIf you want to build documentation, you will also need gtk-doc.\n\nStart by cloning the repository:\n\n$ git clone https://github.com/hpjansson/chafa.git\n\nThen cd to the toplevel directory and issue the following shell commands:\n\n$ ./autogen.sh\n$ make\n$ sudo make install\n\nPython bindings\n---------------\n\nErica Ferrua Edwardsdóttir maintains excellent Python bindings for Chafa. If\nPython's your thing, check them out. They are easy to use and come with a\ndetailed tutorial:\n\nhttps://chafapy.mage.black/\n\n","funding_links":[],"categories":["C","Tools","cli","\u003ca name=\"graphics\"\u003e\u003c/a\u003eGraphics"],"sub_categories":["C"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhpjansson%2Fchafa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhpjansson%2Fchafa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhpjansson%2Fchafa/lists"}