←back to thread

103 points linsomniac | 2 comments | | HN request time: 0s | 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 #
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 #
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 #
1. zellyn ◴[] No.42183720[source]
Is that not what asciinema does?
replies(1): >>42189892 #
2. Gormo ◴[] No.42189892[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.