2025-04-20 15:13:58 +02:00
2025-04-20 15:13:58 +02:00
2025-04-20 15:13:58 +02:00
2025-04-20 15:13:58 +02:00
2025-04-20 15:13:58 +02:00
2025-04-20 15:13:58 +02:00
2025-04-20 15:13:58 +02:00
2025-04-20 15:13:58 +02:00
2025-04-20 15:13:58 +02:00
2025-04-20 15:13:58 +02:00
2025-04-20 15:13:58 +02:00
2025-04-20 15:13:58 +02:00
2025-04-20 15:13:58 +02:00
2025-04-20 15:13:58 +02:00

xarbon

xarbon -- Program for rendering source code files to PNG image format.

Compile: $ sh compile.sh

Install: $ sudo sh install.sh

License: GNU/GPLv3

This library depends on (these libraries are included in static version of the program):

About this program:

  • It is extremely slow, it's written to be generic and extensible, not language specific or optimized.
  • You can easily add new syntax support with it, for your own language or some that I didn't include.
  • There are 3 ways to use this program, you can see them below, or use -h / --help to see it.
  • Everything related to my libraries is clean of all warning options on GCC and Valgrind (hopefully).
  • Because fuck slow and online renderers that put MacOS terminal and shitty highlighting schemes.
  • Font is hardcoded to Terminus (size 16) because that's my full-on system font, it's very good.

Use:

$ xarbon my_program.ext                   -- "This way, language is selected by the extension."
$ cat my_program.ext | xarbon [extension] -- "You need to specify the language, check -h / --help."
$ xarbon [extension] < my_program.ext     -- "Again, since it's reading from standard stream..."

screenshot

Description
Source code renderer to PNG image.
Readme 203 KiB
Languages
C 99.8%
Shell 0.2%