go-template
go-template copied to clipboard
Automate demo gif
Is your feature request related to a problem? Please describe.
The asciinema preview is often outdated and also requires a webplayer to run.
Describe the solution you'd like
It would nice to create the demo automatically and include it in the README as a svg animation to autoplay as soon as a user opens the repo.
Describe alternatives you've considered
Search
- [X] I did search for other open and closed issues before opening this.
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Additional context
https://github.com/brumhard/krewfile already contains a script to automatically create the animation. One thing that is missing is how to feed stdin to the executed command.
I think https://github.com/charmbracelet/vhs is a much better option now and should be used instead of asciinema.
There's even a github action for that https://github.com/charmbracelet/vhs-action.