Content pfp
Content
@
https://warpcast.com/~/channel/miniapps
0 reply
0 recast
0 reaction

Jay Brower (jaymothy.eth) pfp
Jay Brower (jaymothy.eth)
@jayb
building a mini app in public today, sharing all notes here
9 replies
1 recast
12 reactions

Jay Brower (jaymothy.eth) pfp
Jay Brower (jaymothy.eth)
@jayb
quick little hack to make the `create-mini-app` project work locally, when not run inside of a MiniApp.
0 reply
0 recast
0 reaction

Jay Brower (jaymothy.eth) pfp
Jay Brower (jaymothy.eth)
@jayb
what am i building: Cobie's "here's my prediction, let me reveal it later". https://x.com/cobie/status/1911800059647398017 I want this, as a MiniApp, with it handling hashing + salting for you. Should be posted on Base, and later on when you're ready to "prove" you forsaw something, you just provide the original text with salt. Seems simple enough, let's do it.
0 reply
0 recast
0 reaction

Jay Brower (jaymothy.eth) pfp
Jay Brower (jaymothy.eth)
@jayb
having a little reflection that "llms-full.txt" for docs is pretty much just like the "learn x in y" docs I used to enjoy when i was a kid for learning new languages. Cutting all of the crap out of docs and getting straight to it does help implementation!
0 reply
0 recast
0 reaction

Jay Brower (jaymothy.eth) pfp
Jay Brower (jaymothy.eth)
@jayb
I spent some time this weekend hooking Claude up to OpenAI, so that it can generate images using the `gpt-image-1` model. This is pretty convenient for design, as Claude can describe the kind of images/assets it needs, and generate them automatically.
0 reply
0 recast
0 reaction

Jay Brower (jaymothy.eth) pfp
Jay Brower (jaymothy.eth)
@jayb
>> "Since Farcaster is a decentralized network with multiple clients, publishing is done by hosting a manifest file at /.well-known/farcaster.json" This is a bummer, since I want to deploy my app statically from Github Pages, but can't because it would be hosted at `jbrower95.github.io/<repo>/.well-known/farcaster.json` Would this work? Can I have the base URL of my app include a path component, like `jbrower95.github.io/prediction` Hmm
0 reply
0 recast
0 reaction

Jay Brower (jaymothy.eth) pfp
Jay Brower (jaymothy.eth)
@jayb
mostly done now, deploying the site and testing it out in the debugger still looks like shit and needs a facelift but core fn works
0 reply
0 recast
0 reaction

Jay Brower (jaymothy.eth) pfp
Jay Brower (jaymothy.eth)
@jayb
Beginning testing. First, it was a little awkward to find the debugger, but eventually found the link; - https://warpcast.com/~/developers/mini-apps/preview?url=https%3A%2F%2Fjbrower95.github.io%2Fprediction%2F Now, i'm trying to test my app. - Immediately, it's unclear if MiniApps have access to the WebAuthn context. I'm not sure if the debugger is a one-off environment, or if it directly replicates the actual environments users see. - Beyond that, documentation for MiniFrames doesn't let you know until pretty late on ("Publishing your app") that you _have_ to deploy your app to a root domain. The docs could probably identify this as the "hostname", given how they've described it, and include a link for a canonical definition as, Javascript's, `new URL("https://rewards.warpcast.com").host`. - Onward to the manifest tool...
0 reply
0 recast
0 reaction

Jay Brower (jaymothy.eth) pfp
Jay Brower (jaymothy.eth)
@jayb
ultimately, it looks like i've hit a wall with this project's current design. - I need passkey support, but MiniApps are displayed in a cross origin iFrame, which doesn't support webAuthn in most browsers atm. Going to rip the passkey out and try something else... (https://www.corbado.com/blog/iframe-passkeys-webauthn#31-login-with-passkeys-in-cross-origin-iframes)
0 reply
0 recast
1 reaction

Jay Brower (jaymothy.eth) pfp
Jay Brower (jaymothy.eth)
@jayb
my ultimate wish after spending the day on mini apps someone needs to take playwright, inject a mocked version of the frames SDK, implement the splash screen / manifest behavior, and allow testing static frames completely offline in a way that matches prod
0 reply
0 recast
0 reaction