News for hackers. Stuff that matters.
Re:Show HN: A little eye-candy for the terminal (in Go) by ktpsns on Sunday April 29, 2018 @01:52PM (#16953056)
We called this ASCII art and figlet when we were young. These keywords appear nowhere in the Git repository.
Re:Show HN: A little eye-candy for the terminal (in Go) by teh_klev on Sunday April 29, 2018 @02:45PM (#16953295)
Many of the .flf files in https://github.com/arsham/figurine/tree/master/bin mention figlet etc in their comments.
Re:Show HN: A little eye-candy for the terminal (in Go) by andmarios on Sunday April 29, 2018 @02:35PM (#16953249)
Also on any Linux distribution you will find figlet available from the default repositories. :)

http://www.figlet.org/

Re:Show HN: A little eye-candy for the terminal (in Go) by web007 on Sunday April 29, 2018 @02:46PM (#16953307)
figlet + lolcat = figurine

I'm interested in the rainbow library (which does reference figlet https://github.com/arsham/rainbow/blob/master/README.md#see-...), but only to see if it's any faster than the painfully slow Ruby implementation of lolcat.

Re:Show HN: A little eye-candy for the terminal (in Go) by arsham on Sunday April 29, 2018 @04:48PM (#16953844)
Well, the name came out of nowhere (sorry!). As for comparison with ruby, all I can say is figurine is a single binary, whereas ruby's lolcat requires ruby's VM.

There are a couple of benchmarks and you can run them with: $ go test -bench=.

Re:Show HN: A little eye-candy for the terminal (in Go) by orf on Sunday April 29, 2018 @02:15PM (#16953169)
Cool? Meaningless though
Re:Show HN: A little eye-candy for the terminal (in Go) by gerdesj on Sunday April 29, 2018 @07:10PM (#16954428)
I love this sort of thing. Yes, as remarked by probably everyone here over the age of 40, we have had loads of terminal shiny stuff for decades. However, here we see the tradition continue at least one or two human generations later and in a modern programming language.

It's funny that despite the fact that GUIs with mice, menus and things have been around for a bloody long time: you can't beat a terminal prompt for many tasks. Mind you my terminals these days looks rather better than the twinax connected beasts of yesteryear that I looked after. I don't remember transparency options on those.

Have a look at https://github.com/nojhan/liquidprompt for more eye-candy for your prompt - it does look rather good and I've been using it on one machine for at least a year with no snags. However that project may be needing an active developer judging by the last commit and Issues.

Re:Show HN: A little eye-candy for the terminal (in Go) by aroch on Sunday April 29, 2018 @08:49PM (#16954910)
I'd recommend spaceship prompt if you want an actively maintained prompt with similar features.

https://github.com/denysdovhan/spaceship-prompt

Re:Show HN: A little eye-candy for the terminal (in Go) by ktpsns on Monday April 30, 2018 @05:36AM (#16957111)
Wow, it is interesting how this project ties together the devops environment with the user interface. I feel this is higly domain dependent: As soon as I install this on my cluster system where http://modules.sourceforge.net/ is commonly used, it doesn't help me any more. Same with my home brewn environment based build system for my C++ project. Obviously, the spaceship-prompt needs support to be built for such environments.

This does not reduce the enormous efforts of the author to include all the different ecosystems, thought.

Re:Show HN: A little eye-candy for the terminal (in Go) by arsham on Monday April 30, 2018 @06:52AM (#16957470)
That's nice. I'm using https://github.com/bhilburn/powerlevel9k with zsh.
Re:Show HN: A little eye-candy for the terminal (in Go) by bhilburn on Monday April 30, 2018 @10:22AM (#16958740)
Author of P9k, here. Glad you're enjoying it! =)
Re:Show HN: A little eye-candy for the terminal (in Go) by arsham on Monday April 30, 2018 @02:04PM (#16960813)
Mate, P9k is fantastic, thanks for developing it!
Re:Show HN: A little eye-candy for the terminal (in Go) by bhilburn on Tuesday May 01, 2018 @11:18AM (#16967731)
Thanks so much! Wait till you see the next release... we have some huge improvements coming =)
Re:Show HN: A little eye-candy for the terminal (in Go) by arsham on Tuesday May 01, 2018 @02:04PM (#16969605)
Can't wait!
Re:Show HN: A little eye-candy for the terminal (in Go) by jimpudar on Sunday April 29, 2018 @12:39PM (#16952714)
Nice work! Would be good to add a CLI option for specifying a font.
Re:Show HN: A little eye-candy for the terminal (in Go) by arsham on Sunday April 29, 2018 @04:44PM (#16953829)
Thanks! Please create an issue and specify your requirements and I will add them.
Re:Show HN: A little eye-candy for the terminal (in Go) by arsham on Monday April 30, 2018 @06:33AM (#16957375)
Thanks for the suggestion, done!
Re:Show HN: A little eye-candy for the terminal (in Go) by Gaelan on Sunday April 29, 2018 @03:10PM (#16953420)
Occasionally this outputs F'DK'M instead of GAELAN for me. Maybe an issue with some of the fonts?
Re:Show HN: A little eye-candy for the terminal (in Go) by kkwteh on Sunday April 29, 2018 @06:31PM (#16954273)
Looks like an off by one error. I'm seeing this error as well for some of the fonts.
Re:Show HN: A little eye-candy for the terminal (in Go) by arsham on Monday April 30, 2018 @06:35AM (#16957390)
Just added a flag (-v) to print out the font. Please let me know which font is broken and I will remove it. Thanks. You can also choose a specific font if you want.
Re:Show HN: A little eye-candy for the terminal (in Go) by arsham on Sunday April 29, 2018 @04:50PM (#16953849)
Some fonts are broken I think.
Re:Show HN: A little eye-candy for the terminal (in Go) by piahoo on Monday April 30, 2018 @06:03AM (#16957240)
quite funny. check lolcat if you are intrested: https://github.com/busyloop/lolcat
Re:Show HN: A little eye-candy for the terminal (in Go) by hestefisk on Sunday April 29, 2018 @10:33PM (#16955259)
Would like ability to pipe cow-say into it (or any random set of strings) on which it will then just add the colour effect.
Re:Show HN: A little eye-candy for the terminal (in Go) by arsham on Monday April 30, 2018 @06:34AM (#16957383)
You can pipe the cow-say to this program: https://github.com/arsham/rainbow Is that what you're after?
Re:Show HN: A little eye-candy for the terminal (in Go) by doyoulikeworms on Monday April 30, 2018 @01:43AM (#16956070)
This pleasantly reminds me of faders for chat programs like AIM :)