-
Notifications
You must be signed in to change notification settings - Fork 10
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
MNT: add gooey to index page #126
Conversation
What changed: just the "Use datalad" section, which now refers to the GUI as well as the CLI, and also shows a gooey gif and allows user to toggle between cli view and gooey view. The view automatically toggles every 20 seconds. Video: Screen.Recording.2022-11-08.at.12.00.08.movOne challenge that still needs to be addressed is getting a small gif size. The current size is 5mb, which is way too high for a quick page load. I used ffmpeg to generate images from a
|
Is it possible to make "Graphical User Interface" a link that would toggle the demo animation immediately? ATM I think most people will have scrolled past that section before the 20s mark hits. |
Cool idea. can do the same for the "command line interface" |
Eventually we can also add "python interface". So, +1 :) |
@jsheunis any plans to complete this goodness? |
@yarikoptic I think it's ready to merge apart from the large gif file size. @aqw do you have ideas about what else I can try here?
|
Uninformed side-comment: Would it work to host the gif elsewhere instead of committing it, and supplying the hosting url as a |
That's possible, but doesn't decrease the size of the asset delivered. And if it's not a place we're hosting, then it's known as hotlinking, which is frowned upon. :-) |
Sad, but thanks for the explanation - TIL :) |
There's a few options:
I have a command in my history when we were working on the studyforrest website. No idea what this monstrosity means anymore, but perhaps it's a useful starting point. :-)
Obviously, adjust framerate and scale, etc to your needs. |
Thanks @aqw will try these options |
Ended up with the following:
got it down to 1.6 MB from ~6MB. |
Demo: video5.mp4 |
Ok, merging this. If we realise in future that we want to change the gooey video, let's do that in a new issue+PR. |
MNT: add gooey to index page 74ef8d5
MNT: add gooey to index page 74ef8d5
This PR:
datalad-gooey
feature on the index page #122