News for hackers. Stuff that matters.
Re:Show HN: Kage – Shadow any website to a single binary for... by simonw on Sunday June 14, 2026 @03:49PM (#48531866)
I was intrigued to see how the demo GIF in the README was generated: https://github.com/tamnd/kage/blob/01e75b87ecc893bbba7943c63...

Turns out it's using another project by the same author: https://github.com/tamnd/ascii-gif

The script used for the demo is at https://github.com/tamnd/kage/blob/01e75b87ecc893bbba7943c63... and has a comment showing how to run it:

  ascii-gif render docs/demo/kage.tape -o docs/static/demo.gif
Looks like it's an opinionated wrapper around https://github.com/charmbracelet/vhs
Re:Show HN: Kage – Shadow any website to a single binary for... by alterom on Sunday June 14, 2026 @04:52PM (#48532547)
FYI, on other platforms (Windows/MacOS), LiceCAP is a fantastic tool to record screen into compact GIFs by the author of Winamp and Reaper DAW:

https://www.cockos.com/licecap/

Re:Show HN: Kage – Shadow any website to a single binary for... by jubilanti on Sunday June 14, 2026 @04:56PM (#48532584)
Have you heard the good news about the terminal savior asciinema -- https://asciinema.org/
Re:Show HN: Kage – Shadow any website to a single binary for... by embedding-shape on Sunday June 14, 2026 @07:29PM (#48534223)
It's a cool tool/platform, but very different. Asciinema tries to make the "multimedia" itself better by making it actual text instead of being video/images, while the CLI command above turns actual text into multimedia supported by platforms already. Both are useful, both have their use cases :)
Re:Show HN: Kage – Shadow any website to a single binary for... by stavros on Sunday June 14, 2026 @06:25PM (#48533527)
VHS is fantastic for scripting cli video generation.
Re:Show HN: Kage – Shadow any website to a single binary for... by vqtska on Sunday June 14, 2026 @06:35PM (#48533639)
You can also do an animated svg which is way smaller than a gif because it's just text keyframes (https://github.com/vytskalt/pseudoc/blob/main/assets/factori...)
Re:Show HN: Kage – Shadow any website to a single binary for... by embedding-shape on Sunday June 14, 2026 @08:26PM (#48534845)
Very cool, never thought of that! "way smaller" is almost an understatement, when it's 50kb :P Neat that it loads in GitHub READMEs as well, which is probably a large reason people use .gif today.
Re:Show HN: Kage – Shadow any website to a single binary for... by Noumenon72 on Sunday June 14, 2026 @11:40PM (#48536336)
How can you do it? I don't see an SVG output from ascii-gif.
Re:Show HN: Kage – Shadow any website to a single binary for... by LocoPadre on Monday June 15, 2026 @03:14AM (#48537672)
Re:Show HN: Kage – Shadow any website to a single binary for... by vqtska on Monday June 15, 2026 @05:24AM (#48538749)
I used a different project, https://github.com/marionebl/svg-term-cli
Re:Show HN: Kage – Shadow any website to a single binary for... by tamnd on Sunday June 14, 2026 @06:50PM (#48533811)
I have a bunch of opinionated/personal-use binaries like this in my $HOME/bin/, like delete-all-npm, clean-rust-cache, download-youtube-playlist, and get-markdown <url>. It feels good, and I don't need to remember any commands. Sometimes my coding agent can figure out how to call some of those tools too ;))