Content
@
0 reply
0 recast
0 reaction
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.
5 replies
5 recasts
32 reactions
Samuel ツ
@samuellhuber.eth
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
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.
2 replies
0 recast
2 reactions
cryptocellaris.eth 🎩
@cryptocellaris
very cool frame i think we can get even more impractical though 420 $degen
3 replies
0 recast
1 reaction
wake
@wake.eth
cc @horsefacts.eth interesting frame for ya
0 reply
0 recast
2 reactions
David 🎩
@dsxdavid
That’s clever! I didn’t thought it was possible to have a ‘continuous update’ frame 🔥
0 reply
0 recast
0 reaction