NOTE: This step is optional, getting you a nice compact font.
http://littlelimit.net/k8x12.htm
wget https://littlelimit.net/arc/k8x12/k8x12_ttf_2021-05-05.zip
unzip -d k8x12 k8x12_ttf_2021-05-05.zip
wget https://github.com/orangecms/fossasia-badge/releases/download/v0.0.10/badgemagic-tool
chmod +x badgemagic-tool # set executable permissions
sudo ./badgemagic-tool -mode anim "Your text..."
NOTE: By default, the font is assumed to be in a subdirectory named k8x12
.
With custom font:
sudo ./badgemagic-tool -mode anim -font path/to/font.ttf "Your text..."
NOTE: If you set up udev rules, you will not need sudo
.
Copy the file 99-ledbadge.rules
to /etc/udev/rules.d/
.
Given a Go compiler, after cloning this repository:
go build .