7 ms·
figlet – a program for making large letters out of ordinary text
- TheDong 6y agoIf you like figlet, than let me tell you, you'll like toilet [0] even more! TOIlet can do everything figlet can do, but it can also do colors, more interesting fonts, and output to html and a couple other formats. [0]: http://caca.zoy.org/wiki/toilet http://caca.zoy.org/wiki/toilet
- forgotmypw17 6y agoOn 11 different platforms? :)
- jdc 6y agoHow many more lines of code?
- 77pt77 6y agoFrom caca labs, the producers of libcaca. you can also play videos with it: -vo=caca on mpv or mplayer You really can't make this up...
- cyberbanjo 6y agoThis blew my mind the first time I saw it. Similar feeling to seeing my face manipulated by a WebGL shader. I wonder if I can use for video calls...
- noja 6y agoLooks great, but that name is off-putting.
- 2mol 6y agoIf you happen to use something like direnv, I like use toilet Projectname -f future --gay It gives me great pleasure to have a project banner this way, every time I cd into the project directory.
- Jaruzel 6y agoLooking at the website, I can see it's not been updated in several years, so maybe the use of 'gay' as a filter can be forgiven, but I think I'd prefer that filter to be called 'rainbow' or something. Edit: the links to the git repository are down as well.
- carlhjerpe 6y agoI doubt the author asks for forgiveness, it's a switch for enabling happy colors and nothing more. If they choose to call it gay, HBTQ, pride, happy, mdma, techno, acid or happy is very much up to them to do without being judged.
- mustardo 6y agogoogle define: gay * "light-hearted and carefree." * "brightly coloured; showy."
- dmos62 6y agoPoint being, gay meant happy/lighthearted way before it started to also mean homosexual: https://www.thefreedictionary.com/gay https://www.thefreedictionary.com/gay Etymology excerpt: [Middle English gai, lighthearted, brightly colored, from Old French, possibly of Germanic origin.]
- Fnoord 6y agoIn high school I learned gai in French means cheerful. The joy some 13 year olds had with that word. Incidentally, the developer of the tool, Sam Hocevar, is French. For me the colours are by default in Solarized Dark, which skews the 16 colors into, well, in this case French flag colours. To test this, consider $ msgcat --color=test
- ramblerman 6y agoWhat’s to forgive exactly?
- 6y ago
- maeln 6y agoJust with the name of the library, I knew who made it ;) . Sam Hocevar is an exceptional developer but can't help himself when it comes to naming his project :) .
- LeoPanthera 6y agoThe longevity of figlet is astounding. I remember downloading the source in either late 1993 or early 94, and porting it to the Acorn Archimedes, considered ultra high end workstations for the time. And it's still around! Amazing.
- unicornporn 6y ago> And it's still around! Amazing. Depends in your definition of "still around". Last update over 8 years ago.
- Rebelgecko 6y agoHow do you update perfection?
- unicornporn 6y agoI'm not saying it needs updates. I'm just questioning "still around". Being around is not an accomplishment in the age of oldversion.com and archive.org.
- ainiriand 6y agoI really think we should take a step back and consider that, sometimes, a piece of software is fulfilling a particular function. Once it is proven stable and efficient, no more updates are needed. Lots of problems in our profession could be solved if we had this paradigm in mind at all times while working.
- air7 6y agoAgreed. However we need to devise a way to distinguish between a project that's more or less "done" to one that's hopelessly abandoned and a way to mark old projects as such.
- paraboul 6y ago20+ years ago I used to use this online figlet generator for "MOTD" : http://www.network-science.de/ascii/ http://www.network-science.de/ascii/ Also amazed that this is still online!
- clashmeifyoucan 6y agoAh, I love figlet. One of my favourite fun cli programs right alongside lolcat¹ and fortune². In fact, my startup prompt is fortune -o piped to lolcat. [1]: https://github.com/busyloop/lolcat https://github.com/busyloop/lolcat [2]: https://linux.die.net/man/6/fortune https://linux.die.net/man/6/fortune
- m463 6y agoI've used banner, then figlet, then toilet. they are especially useful for scripts where you want to print out milestones. but. All pale in comparison to ponysay.
- geek_at 6y agois that still a thing? the my little pony series?
- m463 6y agoI believe the multicolored ascii art with 400+ variants is great by itself. It's kind of like one of those movie franchise reboot sequels that turns out to be a good movie just on its merits.
- nxpnsv 6y agoponysay is neat, but i do cowsay + lolcat
- kalleboo 6y agotractorgen is all I ever need kalleboo-iPhone-11-Pro-Max:~/tractorgen-0.31.7# tractorgen 1 tractorgen: ERROR!! Tractors must have at least four wheels!! FOOL! Aborted
- pmoriarty 6y agoAlso see this great collection of figlet fonts: https://github.com/xero/figlet-fonts https://github.com/xero/figlet-fonts
- anonytrary 6y ago_/ _/ _/ _/_/ _/ _/_/ _/_/_/_/ _/_/_/ _/_/_/ _/ _/ _/_/ _/ _/ _/ _/ _/_/ _/ _/ _/ _/ _/ _/ _/ _/_/ _/_/ _/ _/_/ _/ _/ _/ _/_/_/ "or this". I really like the shadow effect on this. Really clever!
- jhgb 6y agoAh, the pang of nostalgia... :) The last time I was playing with something like this was on a Commodore 64.
- deleted 6y ago[deleted]
- jarv 6y agosmall plug - around 6 years ago I created a javascript game that uses Figlet fonts to make arbitrary Atari Breakout-ish boards. Here is a demo - https://jarv.gitlab.io/figlet-breakout/ https://jarv.gitlab.io/figlet-breakout/
- ascorbic 6y agoBefore you use this, check how it sounds in a screenreader
- chrisshroba 6y agoI've seen a lot of projects use things like this for banners and messages, so it would be neat if projects like figlet, toilet, cowsay, etc. would add an "undo" feature that could be passed this sort of text and convert it to plaintext, so that screenreaders could use that to read such banners. Probably just wishful thinking though.
- nxpnsv 6y agoThere is a python port: https://github.com/pwaller/pyfiglet https://github.com/pwaller/pyfiglet at least for what I made it was pretty nifty
- tenryuu 6y agoThere's a good website I use for this so I don't need a program, but I can't remember the one I use. It's not modern by any means, but it really does a decent job in the presentation of all loaded text types
- petterparker 6y agoI usually use this one: http://patorjk.com/software/taag/ http://patorjk.com/software/taag/
- xaedes 6y agoYep, this one is great. Curiously it has a Figlet.js: http://patorjk.com/software/taag/js/figlet.js http://patorjk.com/software/taag/js/figlet.js /* FIGlet.js (a FIGDriver for FIGlet fonts) By Patrick Gillespie (patorjk@gmail.com) Originally Written For: http://patorjk.com/software/taag/ License: MIT (with this header staying intact) This JavaScript code aims to fully implement the FIGlet spec. Full FIGlet spec: http://patorjk.com/software/taag/docs/figfont.txt If you use this for a public app, a link back to TAAG is appreciated but not necessary. */
- dmos62 6y agotermdown is worth a mention https://github.com/trehn/termdown https://github.com/trehn/termdown It's a countdown timer that uses figlet to render the countdown. Here's a pomodoro timer script I use fairly often (`bup` is another script that emits a low pitched beep (a bup)): #!/bin/bash if [ $# -ne 1 ]; then echo $0: usage: pomodoro time_expr exit 1 fi TIME_EXPR=$1 get_time () { date "+%H:%M" } START=$(get_time) termdown --font big --critical 0 $TIME_EXPR \ && bup END=$(get_time) echo "$START - $END"
- vmchale 6y agoThis is a lovely program, I used it with some of my vim plugins' documentation.
- readingnews 6y agoI am sure I could go find out, but just asking here for posterity... I feel like linux distros are going down dark paths. I have had figlet on my computer for many years, and on this distro for at least two years. TheDong notes that Toilet is another really cool tool. I install it on my Linux Mint box here, and boom, figlet is not only removed, but it now links to toilet: ls -l /usr/bin/figlet lrwxrwxrwx 1 root root 24 Oct 29 08:15 /usr/bin/figlet -> /etc/alternatives/figlet ls -l /etc/alternatives/figlet lrwxrwxrwx 1 root root 22 Oct 29 08:15 /etc/alternatives/figlet -> /usr/bin/figlet-toilet Note the dates on the above, the fact is that I have had figlet on this computer for at least two years, but I just did an apt-get install toilet and it replaced figlet. ls -l /usr/bin/toilet -rwxr-xr-x 1 root root 23064 Mar 13 2018 /usr/bin/toilet And the figlet --help gives toilet output and the output is from toilet. I had to remove toilet and re-install figlet to get figlet back. I feel that is odd behaviour for a distro.
- mnw21cam 6y agoI don't know about Mint, but over here on Debian, figlet and toilet suggest each other. So, if you install figlet, then install toilet too, figlet won't actually be uninstalled, but the alternatives mechanism may decide that toilet is better at being figlet than figlet is. You can undoubtedly restore sanity using the update-alternatives command.
- richardwhiuk 6y agotoilet requires figlet for fonts, figlet only suggests toilet, and by default apt installs recommends, but not suggests AIUI
- antisol 6y agoAre you sure that it removed figlet, and didn't just change the config in the alternatives system? I have both installed on 16.04. Try: $ sudo update-alternatives --config figlet I have two choices: /usr/bin/figlet-figlet and /usr/bin/figlet-toilet to see what package provides each binary: $ dpkg -S /usr/bin/figlet-figlet figlet: /usr/bin/figlet-figlet $ dpkg -S /usr/bin/figlet-toilet toilet: /usr/bin/figlet-toilet you should be able to choose figlet-figlet with update-alternatives if you want to use real figlet. But IIRC toilet is intended to be 100% backwards compatible, so there's probably not any real reason to do that (?). Or, you should be able to invoke figlet with 'figlet-figlet' on the CLI. ...assuming, of course, that my assumption is correct and it didn't actually remove figlet... :)
- sequoia 6y agoA post I wrote about toilet years ago: https://sequoia.makes.software/fun-with-toilet/ https://sequoia.makes.software/fun-with-toilet/
- pram 6y agofiglet and cowsay are integral to the unix experience imo
- lxe 6y agoUnrelated, but I just love sites like these. No cookies, no JavaScript, no images, no trackers, heck, I'm even OK with no HTTPs here (but should probably be HTTPs for path/method privacy). I'm still able to do the same things I would usually do on the more "modern" sites -- navigate, find info, look at examples, etc...
- wizzwizz4 6y agoIn case you're curious: $ figlet hi _ _ | |__ (_) | '_ \| | | | | | | |_| |_|_| $ figlet hii _ _ _ | |__ (_|_) | '_ \| | | | | | | | | |_| |_|_|_| $ figlet olé _ /\/| _____ ___ | ||/\/ / ___ \ / _ \| | /_\ / / __| \ | (_) | |/ _ \ | (__ | \___/|_/_/ \_\ \___| / \_____/
- DonCopal 6y agoJust as I thought. We all live in America.