-- Leo's gemini proxy

-- Connecting to bbs.geminispace.org:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini; charset=utf-8

Comment by ๐Ÿ’€ requiem


Re: "A script to generate Chafa galleries for gmi"

In: s/ascii-art


Some more notes:

If no gallery name is provided, it defaults to current date for gallery title and retains original file names.

You can supply several image file types, comma separated.

Feel free to change the chafa settings in the script. Currently it is set to output 240 colours, dithered, foreground only (for better compatbility), at a size of a 128 characters (felt the right mix). See the chafa man page for additional settings.


And let me know what you think.


๐Ÿ’€ requiem [OP]

Apr 20 ยท 4 weeks ago


3 Later Comments โ†“


๐Ÿš€ stack ยท Apr 20 at 23:18:

What is a chafa?


๐Ÿ’€ requiem [OP] ยท Apr 20 at 23:28:

It's in the links, but Chafa is a command line tool to convert images to ANSI / ASCII art for displaying in the terminal. Pretty neat. Many Gemini clients like Offpunk rely on it.


๐Ÿ•น๏ธ skyjake [...] ยท Apr 23 at 04:10:

โ€” A Reply by @blah_blah_blah


Original Post


๐ŸŒ’ s/ascii-art

โ€” Chafa gallery generator for .gmi

A script to generate Chafa galleries for gmi โ€” Hey! I can only take credit for the idea, but I am sharing a little script cobbled together with artificial help that generates a little .gmi ANSI gallery out of images in a directory. An example: $ ls something.jpeg something_else.jpeg testing.jpeg another.jpeg somefile.jpeg $ ./chafa-gmi-gallery-gen.sh Enter gallery name or leave blank to use...

๐Ÿ’ฌ requiem ยท 4 comments ยท 3 likes ยท Apr 20 ยท 4 weeks ago ยท #ansi #chafa #gallery #script

-- Response ended

-- Page fetched on Mon May 20 20:37:53 2024