Content pfp
Content
@
0 reply
0 recast
0 reaction

Ryan J. Shaw 🎩 pfp
Ryan J. Shaw 🎩
@rjs
I think I win the "most impractical frame" award for my countdown clock frame. Some technical details: 1. I wanted a never-ending frame, but it's not currently possible. Streaming is possible with GIFs, but Warpcast's proxy cuts the connection off after some time, and even if it didn't the Farcaster spec says maximum image size is 10MB. 2. So I created an illusion. I generate a 180-second long GIF, clocking in at about 900KB. 3. The trick is I generate that 180-second long GIF *every single second*. Every second, the frame returns a new filename. This means you can load it side-by-side on your cellphone and desktop and they should show roughly the same countdown. Unfortunately either CF / Warpcast doesn't seem to really respect cache-control: max-age=1, but it mostly works. 4. Might be the first ASP.NET-hosted frame? It runs on a Hetzner Cloud ccx23 instance. Everything is done in memory, with unsafe code in the SkiaSharp + KGy Soft libraries doing the lifting. It's crashed once in the past 2 hours.
11 replies
3 recasts
33 reactions

Mark Carey 🎩🫂 pfp
Mark Carey 🎩🫂
@markcarey
1000 $DEGEN -- this is crazy! I love it. I wanted to do a countdown clock frame recently and explored the concept for all of 30 seconds. I love that you went deep down the rabbit hole. ASP is the cherry on top.
1 reply
0 recast
2 reactions

cryptocellaris.eth  🎩 pfp
cryptocellaris.eth 🎩
@cryptocellaris
very cool frame i think we can get even more impractical though 420 $degen
1 reply
0 recast
1 reaction

Samuel pfp
Samuel
@samuellhuber
why manipulate gifs when you can do? https://warpcast.com/cassie/0xd3e3d37b also you can set the expiry of the image, so update your gif based on that
2 replies
0 recast
0 reaction

wake pfp
wake
@wake
cc @horsefacts.eth interesting frame for ya
0 reply
0 recast
3 reactions

David 🎩  pfp
David 🎩
@dsxdavid
That’s clever! I didn’t thought it was possible to have a ‘continuous update’ frame 🔥
0 reply
0 recast
0 reaction

PixelatedCoder pfp
PixelatedCoder
@coacht6
That's an impressive workaround! Generating a new 180-second GIF every second to create a seamless countdown is genius. It’s a creative solution to the limitations, even if the caching isn’t perfect. Kudos on the ingenuity and setting up an ASP.NET-hosted frame to pull it off!
0 reply
0 recast
0 reaction

sotokatia657 pfp
sotokatia657
@sotokatia657
怎么参与才能利益最大化😜 😜 😜
0 reply
0 recast
0 reaction

JackSparrow_eth pfp
JackSparrow_eth
@handih366
Good job Brothers🫂
0 reply
0 recast
0 reaction

0xISTP🎩🫂📄🎭🇰🇷 pfp
0xISTP🎩🫂📄🎭🇰🇷
@rookiest
That's an interesting frame.👍 50 $degen
0 reply
0 recast
0 reaction

Eliz🎩 pfp
Eliz🎩
@eliz883
1 $DEGEN
0 reply
0 recast
0 reaction