go-rain
tdraw
go-rain | tdraw | |
---|---|---|
1 | 1 | |
6 | 167 | |
- | - | |
10.0 | 0.0 | |
over 1 year ago | almost 3 years ago | |
Go | Go | |
- | Do What The F*ck You Want To Public License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
go-rain
-
The Terminal Escape Sequences Ocean Is Deep and Dark
I used to write a lot of telnet/ssh games back in the day. Telnet has a bunch of command codes as part of its protocol. Each command starts with an IAC code. This code could be anywhere within the stream of bytes coming from the end-users terminal. IAC is \x01b\x0ff\x0ff. The fun part of implementing text-based network protocols is you must scan, byte for byte, until you reach a \n or whatever your line-feed is. As you are processing the stream, if you come across an escape, you must branch off into the command processing loop instead of the input processing loop. Likewise, responses to these commands can come AT ANY TIME. Mid sentence from a user? Yup. Randomly as you are sending your buffer? Probably. Full-Duplex mode with ACK? Not a guarantee.
When developing terminal services, you're standing on the shoulders of giants and must account for 30+ years of terminal hackery. The up-side is you can also use that same terminal hackery for fun things like progress bars, emoji's, colors, blinking (ux faux paux) for attention, spinners, tables, and yes - even matrix rain effect by positioning cursors and clearing partial screen coords. [1]
[1] https://github.com/gabereiser/go-rain
tdraw
What are some alternatives?
r0c - retr0chat telnet server
wtf - The personal information dashboard for your terminal
diagram - CLI app to convert ASCII arts into hand drawn diagrams.
ascii-image-converter - A cross-platform command-line tool to convert images into ascii art and print them on the console. Now supports braille art!
asciify - Convert input image to ASCII string
cointop - A fast and lightweight interactive terminal based UI application for tracking cryptocurrencies 🚀
stonks - Stonks is a terminal based stock visualizer and tracker that displays realtime stocks in graph format in a terminal. See how fast your stonks will crash.
tcg - Terminal cell graphics library
wego - weather app for the terminal