Skip to content
render characters using moon emoji in shell 🌕️
C CMake
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
CMakeLists.txt
COPYING
README.md
main.c

README.md

Moon Render

A small code to render characters using moon emoji in shell.

Example

Github Logos in Font Awesome:

"柒" in TW-Kai font:

"7sDream" in Fura Code(merge to one image using imagemagick):

Usage

Clone this repo and cd into it.

Change config variables' value to meet your needs by edit line 23-28 in main.c, then:

$ mkdir build
$ cd build
$ cmake ..
$ make
$ ./moon-render

If you don't have cmake:

$ gcc -I<path/to/freetype/header> -L<path/to/freetype/library> -lfreetype main.c -o moon-render
$ ./moon-render

Here is my command for example:

$ gcc -I/usr/local/include/freetype2 -L/usr/local/lib -lfreetype main.c -o moon-render

Dependencies

LICENSE

GPLv3.

You can’t perform that action at this time.