Print your name in style
You can download the latest binary from here, or you can compile from source:
go install github.com/arsham/figurine@latestEvery time the application is called, it chooses a random font for rendering the message. Pass the message you want to decorate as arguments.
figurine Some TextYou can print available fonts:
figurine -l
figurine -l -s
figurine -ls Sample TextTo set a font:
figurine -f "Poison.flf" Some TextTo get a list of available arguments:
figurine -hThis application is very light weight, so feel free to add it to your .zshrc/.bashrc file, so each time you open a new shell it shows you a nice message.
To build the Docker image:
make docker-buildTo run the Docker container:
make docker-runTo build multi-platform Docker images (requires Docker Buildx):
make docker-buildxTo clean up the Docker image and container:
make docker-cleanTo build the project for your local machine:
make buildTo build for multiple platforms (Linux, macOS, Windows):
make build-allThis creates binaries in the dist folder for the following platforms:
- Linux (amd64, arm64)
- macOS (amd64, arm64)
- Windows (amd64)
Each binary is compressed into a tar.gz archive with platform-specific naming.
-
Build all platform binaries:
make release
-
This will create compressed archives and a checksums.txt file in the
distfolder.
Releases are automated using GitHub Actions. To create a new release:
-
Tag the commit with a version number:
git tag v1.0.0 git push origin v1.0.0
-
GitHub Actions will automatically:
- Build binaries for all supported platforms
- Create a new GitHub Release with the binaries
- Build and push Docker images to Docker Hub (if configured)
See also Rainbow, which is the library that colours the output.
Use of this source code is governed by the Apache 2.0 license. License that can be found in the LICENSE file.
