hugomd/parrot.live

How about aw_yeah ?

gulzar1996 opened this issue · 3 comments

I implemented a proof-of-concept for allowing supporting different ASCII animations by creating individual directories under the frames/ directory.

  • The URI for accessing a "frameset" is whatever the name of the directory under frames/ is.
  • To get a list of framesets, you can make a request to localhost:3000/list.
  • When the user simply requests localhost:3000, the configured default frameset is used (currently defaults to "parrot").

There is still a challenge that needs a solution. Different animations may require different interval times to use between streaming frames. I'm not yet sure how to best add support for that (i.e. where would this configuration go for each frameset?).

If you want to check it out:
https://github.com/stevefranchak/parrot.live/tree/multiple-animations

@stevefranchak Sounds really cool. I have something similar in mind.
I was wondering if we can make an app which would give frames from any Gif/Videos ?
My initial implementation was to use ffmpeg to get each image frames from Gif/Videos and then use software like picascii to convert it into text frames. But I couldn't automate it as there were certain constraints .

I'd be keen to set this up using gif-for-cli which seems to give reliable ASCII output from GIFs. I was thinking of either using subdomains, or parsing query parameters to switch between animations 👌