Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How about aw_yeah ? #9

Open
gulzar1996 opened this issue Mar 29, 2018 · 3 comments
Open

How about aw_yeah ? #9

gulzar1996 opened this issue Mar 29, 2018 · 3 comments

Comments

@gulzar1996
Copy link

aw yeah

@gulzar1996 gulzar1996 changed the title How about aww_yeah ? How about aw_yeah ? Mar 30, 2018
@stevefranchak
Copy link
Contributor

stevefranchak commented Mar 30, 2018

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

@gulzar1996
Copy link
Author

@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 .

@hugomd
Copy link
Owner

hugomd commented Jun 17, 2018

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 👌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants