depatchedmode / simplest-frame Goto Github PK
View Code? Open in Web Editor NEWThe simplest Farcaster Frame possible
Home Page: https://warpcast.com/depatchedmode/0x0dbb53c2
License: MIT License
The simplest Farcaster Frame possible
Home Page: https://warpcast.com/depatchedmode/0x0dbb53c2
License: MIT License
Using Syndicate: https://frame.syndicate.io/
Using "mint" action
This boilerplate shouldn't be dependent on specific deploy environments. For now, it's tuned to my specific needs, and netlify
is incidentally my deploy environment of choice at this moment.
Changes needed are:
netlify/blobs
for storage.vercel
โ or support both deploy targets by default.require specific Farcaster interactions before a specific frame can be visited.
eg:
https://warpcast.com/horsefacts.eth/0x3ad31216
This is only possible if you do not validate the incoming URL in the frame data packet. For example, Yoink no longer works in @paulcowgillโs example because I started checking.
By verifying this value you can block all cross-frame calls, allow specific origins, or allow any origin. Most frames should check the URL.
Would love to see support for those hosting a static site on other providers such as Firebase.
i'm making a racket over this extra bracket:
a [Wield Key](https://docs.wield.co/farcaster/api() for reading Farcaster state: WIELD_API_KEY
step 1: steal @karmacoma's code: https://warpcast.com/karma/0x09c1cddd
step 2: ???
step 3: profit!
Said code:
https://github.com/karmacoma-eth/farcaster-followers-frame
Set a CAST_BINDING_ID env variable that prevents interactions when embedded in any other cast.
todo:
simplest-frame
and see if local debugging worksHello Depatchedmode, thank you for your "simplest-frames" tuto!
I am on Mac and encountering the following error when trying to "netlify dev":
"Function index has returned an error: Cannot find module ". . . frames.js/node_modules/protobufjs/minimal" imported from ". . . .netlify/functions-serve/index/node_modules/frames.js/dist/chunk-XHG6EYZ7.js","Did you mean to import protobufjs/minimal.js?"
I've navigated to:
. . . .netlify/functions-serve/index/node_modules/frames.js/dist/chunk-XHG6EYZ7.js"
And tried to update the import statement from import _m0 from "protobufjs/minimal";
to:
import _m0 from "protobufjs/minimal.js";
but it is not possible to write this file.
Do you have any tips/insight?
Cant seem to get past this error.
repository exists, I authorised through netlify website and logged in with github.
error:
Error: Failed adding GitHub deploy key with error: Not Found. Does the repository simplest-frame exist and do depatchedmode has the correct permissions to set up deploy keys?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.