←back to thread

104 points linsomniac | 4 comments | | HN request time: 0.827s | source
Show context
pointlessone ◴[] No.42181710[source]
Animated images in the readme are not a very good experience. I’m trying to read the output and make sense of it and it just blinks out. There’s no good reason to have animation here. We all know how text is typed in the terminal.
replies(2): >>42181882 #>>42181976 #
1. arcanemachiner ◴[] No.42181976[source]
Good use case for Asciinema.

https://asciinema.org

https://github.com/asciinema/asciinema

EDIT: Looks like image generator might be from one of their own projects:

https://github.com/charmbracelet/vhs

replies(1): >>42183293 #
2. Gormo ◴[] No.42183293[source]
Given the purpose of the tool, it seems like the most appropriate solution would be to use ANSI itself to animate the text.
replies(1): >>42183720 #
3. zellyn ◴[] No.42183720[source]
Is that not what asciinema does?
replies(1): >>42189892 #
4. Gormo ◴[] No.42189892{3}[source]
No, asciinema uses a custom data format to store the terminal data, then uses custom JS to play it back within a web site.

I'm talking about just distributing ANSI files.