Skip to content

Commit

Permalink
update to frames.js 0.9.x
Browse files Browse the repository at this point in the history
- fix bundling issue
- document using local Frames.js Debugger
  • Loading branch information
depatchedmode committed Apr 10, 2024
1 parent a2ed3db commit 911c244
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 14 deletions.
13 changes: 2 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,7 @@ https://warpcast.com/depatchedmode/0xecad681e

### Testing

#### Quick & easy: Proxying to the WWW
1. Run `netlify dev --live` will give [proxy your local machine](https://docs.netlify.com/cli/local-development/#share-a-live-development-server) to the *world* *wide* *web*.
2. Test that link in either:
+ The Warpcast Embed UI: https://warpcast.com/~/developers/embeds
+ The Frames.js hosted debugger: https://debugger.framesjs.org/debug

#### Local & reliable:

Follow instructions here on how to setup the Frame.js debugger locally: https://github.com/depatchedmode/simplest-frame/issues/22#issuecomment-1930909371

**Note: you'll still need to be connected to the internet for Hubs communication ... unless you run your own locally**
The Frames.js debugger can be run locally for testing by following these instructions: https://framesjs.org/guides/debugger#local-debugger-cli

### Defining your Frame

Expand All @@ -68,6 +58,7 @@ You may encounter a 502 gateway error after deployment on the `/og-image` endpoi
https://github.com/depatchedmode/simplest-frame/issues/3

### Caveats

I am a designer larping as a dev. I invite your collaboration and feedback. Please be kind.

And please! Can we make it simpler?
Expand Down
1 change: 0 additions & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@

[functions]
directory = "api/"
node_bundler = "esbuild"
external_node_modules = ["sharp"]
included_files = ["node_modules/sharp/**/*"]
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
{
"name": "simplest-frame",
"type": "module",
"version": "0.8.5",
"version": "0.9.0",
"dependencies": {
"@netlify/blobs": "^6.4.2",
"cheerio": "^1.0.0-rc.12",
"dompurify": "^3.0.8",
"frames.js": "0.5.2",
"frames.js": "0.9.6",
"jsdom": "^24.0.0",
"satori": "^0.10.13",
"satori-html": "^0.3.2",
"sharp": "^0.32.6"
},
"devDependencies": {
"@frames.js/debugger": "^0.1.16",
"@types/node": "^20.11.17",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
Expand Down

0 comments on commit 911c244

Please sign in to comment.