5 ms·
Show HN: ASCII TV – Stream ASCII movies in your terminal with curl
- jamiek88 8y agoNow this is hacker news!! Ludicrous on the surface yet brilliant. Kudos to the creator, and it’s great that such a senior engineer with his track record and contributions still has that spirit in him.
- mraison 8y agoThanks for the kind words :) I do try hard to "keep the spirit" as much as I can. Like everyone on HN I need to balance that with many other things, but I figured out a few lines of Go + a heroku app wouldn't be too time-consuming :)
- silur 8y agoIt's not. The "author" simply stole towel.blinkenlights and wrapped it in golang. I bet he updated himself to senior go engineer on linkedin after this. None of the "cool" stuff in this is martinraison's work.
- zahreeley 8y agoBrilliant
- graetzer 8y agoI think you can also just use telnet to see star wars: telnet towel.blinkenlights.nl
- potiuper 8y agoboth of these need seek functionality
- mraison 8y agoPRs welcome :) I guess for the curl version it's gonna be tough because you can't really interact with the stream that you receive. You should be able to do it with the telnet version, though
- deleted 8y ago[deleted]
- deleted 8y ago[deleted]
- rzzzt 8y agohttps://asciinema.org/a/8 https://asciinema.org/a/8
- BossingAround 8y agoWell this was disappointing... :(
- mraison 8y agoIndeed, I came across this project while googling the idea! I figured out SSL would be a nice feature to have - surely you wouldn’t want your Star Wars ASCII stream to be tampered with, would you? ;)
- colinbartlett 8y agoTo think that anyone on the wire could manipulate the stream so that Greedo shoots first... horrifying.
- darkpuma 8y agoYou laugh but terminal emulators have been found to be exploitable in the past: http://www.securiteam.com/unixfocus/3P5PQRPPPO.html http://www.securiteam.com/unixfocus/3P5PQRPPPO.html
- _underfl0w_ 8y agoI'm very surprised to see this is still around! They must've had this up for decades.
- warent 8y agoWhen I discovered this as a youngling it totally opened my mind to the crazy possibilities of computers and the internet. Love to see it posted here after all these years!
- twtw 8y agoThis is still my goto diversion whenever I end up in an Apple Store - trying to get Star Wars going on as many computers as possible.
- O1111OOO 8y agoReally like the format of the "movie" file. Very easy to work with: Line 1: time.Duration Lines 2-14: frameHeight (currently set to 13 lines in the code on this and the original[0]) Options for (1) pause/play (2) back: frame by frame (3) forward: frame by frame : could make this a pretty good presentation app, ebook tool, story-teller... [0] https://github.com/nitram509/ascii-telnet-server https://github.com/nitram509/ascii-telnet-server
- userbinator 8y agoIt's surprising that with the ultra-high-resolution monitors common today, this might actually be on the verge of being practical.
- ineedasername 8y agoI would think its compression rate would be pretty good too.
- CloudNetworking 8y agoA colleague and I did this at uni in 2001 or so. SSH to his box at home with a TV receiver and a video library that output ASCII graphics.
- isostatic 8y agoaatv was a command line program, worked fine with my (analog) tv capture card (with built in mpeg2 encoder). May have been part of mythtv.
- fsiefken 8y agoyes, but what about the audio?
- CloudNetworking 8y agoNo audio over SSH :(
- ineedasername 8y agoPractical applications are irrelevant, this is a fun, cool project. I love seeing this sort of thing on HN.
- m45t3r 8y agoNot ASCII, however a cool hack using mpv is that it can display actual videos in a terminal emulator that supports true color output [1]. Just run the following command: mpv -vo tct video_file.mkv Reduce the font size to increase resolution. Also, a GPU accelerated terminal like Kitty [2] is recommended, or the video will be painfully slow. [1]: https://gist.github.com/XVilka/8346728 https://gist.github.com/XVilka/8346728 [2]: https://sw.kovidgoyal.net/kitty/ https://sw.kovidgoyal.net/kitty/
- hsx 8y agoThis is really neat! While we're on the topic of neat things you can do with `curl`, check out: curl parrot.live