clive icon indicating copy to clipboard operation
clive copied to clipboard

Feature: Would it make sense to allow recording the clive session into animated svg/avif ?

Open ruzickap opened this issue 2 years ago • 2 comments

Maybe it would be handy to have some way how to record the whole clive session into animated svg/avif (like https://github.com/nbedos/termtosvg).

ruzickap avatar May 20 '23 04:05 ruzickap

@ruzickap Thank you for opening the issue!

I agree with you. At this point, it might be a good idea to use charmbracelet/vhs for such purposes. clive's functionalities strongly depend on go-rod/rod, but since go-rod/rod itself doesn't have a recording feature yet, it's hard to implement. (https://github.com/go-rod/rod/issues/22) While it is possible to achieve this using FFmpeg (in fact, that's what charmbracelet/vhs does), I would rather not increase our reliance on additional tools if possible.

koki-develop avatar May 20 '23 06:05 koki-develop

Yes, I think so, maybe it is not necessary to show the same action to the browser,I'm still using clive to do command line program testing and it works very well. 😄

Btw, it would be better to return a log of the operation results directly or a flowchart like CI to describe the process.

Look like this:


flowchart

guotingchao avatar Jun 17 '23 14:06 guotingchao