arsham / figurine Goto Github PK
View Code? Open in Web Editor NEWPrint your name in style
License: Apache License 2.0
Print your name in style
License: Apache License 2.0
$ figurine -f "lineblocks.flf" golang
______ ______ _ __ ` _________ ______
| | | | \ \ | | / / | | | | | \ | |
| |---- | | | | | |-< < | | | | | | | |----
|_| |_| |_| |_| \_\ |_| |_| |_| |_|
Expected GOLANG
but got FNK`MF
where each letter is one below what it should be. Anecdotally I'm seeing this on ~25% of fonts, including these
3D Diagonal.flf
3d_diagonal.flf
ASCII New Roman.flf
Bear.flf
Cola.flf
Dancing Font.flf
Diet Cola.flf
Flipped.flf
Flower Power.flf
...
Hello,
Would it be possible to add options for centring the output on a target width?
In the past, I was using figlet
for showing me the hostname after login. figurine
has much more excellent outputs, but I'm missing the option to have it centred in the terminal
Thank you
Versions 1.1.1 and 1.1.2 of figurine
do not run on stock Debian or RedHat UBI (formerly Centos).
figurine: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by figurine)
figurine: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by figurine)
This is usually a consequence of compiling with CGO_ENABLED=1
and can be fixed by setting CGO_ENABLED=0
.
Hello,
Thank you for the fun tool. I was wondering if there is a way to display the version number of the binary currently in use? I tried -h
for help and it did not show anything useful.
Thanks!
Would be bad ass if we could choose a font to use, as well as list all of the fonts available. I am a fan of figlet/toilet, and could see myself switching to this, if I had the opportunity to select the desired font.
I'm not too familiar with go. I managed to run the go get command which is a little sparse for readable output. I then run the example $ figurine command which fails because I do not have my PATH setup for binaries created by go get.
After a little poking around my filesystem, this might be a better example:
$ ~/go/bin/figurine text
Those people who are familiar with go will probably automatically translate the paths and those like me who happen to have go installed by something else who wanted to have a play with this will also be well served.
I have a utility I am writing. I am using go 1.11.1 and the project uses go modules. When importing figurine and running the following code:
if err := figurine.Write(os.Stdout, input, fontName); err != nil {
log.Fatal(err)
}
I receive the following with go test
go: extracting github.com/arsham/figurine v0.3.0
-> unzip /Users/jodewey/go/pkg/mod/cache/download/github.com/arsham/figurine/@v/v0.3.0.zip: malformed file path "bin/Patorjk's Cheese.flf": invalid char '\''
Any chance this can be extended to be used as a library in other go projects?
Hi!
It would be cool if figurine Text -ls
actually printed out the "sample sheet" with Text
instead of "GoLang"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.