Skip to content

Conversation

@jandobrx
Copy link

We saw that a recent PR featured a rick roll curl, thought it was a great addition but had a CORS issue. Wanted to fix it!

Old
Updated Xterm to the new version, fixed cursor position bug after setCurrentLine(), added a video that appends in the DOM.
New

Test Netlify Deployment w/changes:
https://main--test-cli-rick.netlify.app/

@ledwards
Copy link
Contributor

omg amazing

This has been on my feature list for over a year and never really gotten around to it. Thank you!!

Your test deployment shows it working on desktop for me (Chrome and Safari for Mac) but not getting it to work on mobile (mobile Safari) - it shows Nice try but then a bunch of blank lines.

Given we're a VC website, iOS is actually our #1 platform haha - this is so close, I'll try to dig into debugging it on mobile Safari and then I 100% want to merge. Thank you!!

gurgenbrx added 2 commits May 22, 2024 22:10
This commit switches from injecting a video, to using a 54 frame ASCII Rick Roll.
Note that Mobile and Desktop versions contain two different AA Arrays due to resolution constrains.
@jandobrx
Copy link
Author

We were super excited to hear that! @gurgenbrx pushed another version last night with a fix to the mobile/Safari! Also seems to be a strange bug I was able to load it on my iphone/safari, I believe it was an issue with netlify serving video as a CDN!

The new patch should fix all the views for mobile! We also used the 40 line convention to switch a view for the main ASCII animation from desktop to mobile!

Fortunately when dealing in the tokenization world we've become experts with characters and ascii manipulation :) There's also a quick AA tutorial if you want to turn any other video/image into this format! e25150d

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants