Skip to content

fossasia/badgemagic-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Badge "Magic" Tool

Download font

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

Download prebuilt version

wget https://github.com/orangecms/fossasia-badge/releases/download/v0.0.10/badgemagic-tool
chmod +x badgemagic-tool # set executable permissions

Run it

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/.

Build yourelf

Given a Go compiler, after cloning this repository:

go build .

Releases

No releases published

Packages

No packages published

Languages