go-template icon indicating copy to clipboard operation
go-template copied to clipboard

Automate demo gif

Open brumhard opened this issue 3 years ago • 2 comments

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.

brumhard avatar Oct 18 '22 13:10 brumhard

I think https://github.com/charmbracelet/vhs is a much better option now and should be used instead of asciinema.

brumhard avatar Mar 31 '23 14:03 brumhard

There's even a github action for that https://github.com/charmbracelet/vhs-action.

brumhard avatar Mar 31 '23 14:03 brumhard