{"id":8196154,"url":"https://github.com/limone-eth/airstack-frame","last_synced_at":"2025-06-11T10:38:27.612Z","repository":{"id":219831728,"uuid":"750033227","full_name":"limone-eth/airstack-frame","owner":"limone-eth","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-30T00:56:10.000Z","size":2130,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T20:39:08.494Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://frame.airstack.xyz","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/limone-eth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-29T21:26:28.000Z","updated_at":"2024-02-18T03:41:26.000Z","dependencies_parsed_at":"2024-01-30T00:32:56.345Z","dependency_job_id":"f4fa071d-560f-4be5-896f-6ec2b1fb3101","html_url":"https://github.com/limone-eth/airstack-frame","commit_stats":null,"previous_names":["limone-eth/airstack-frame"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limone-eth%2Fairstack-frame","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limone-eth%2Fairstack-frame/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limone-eth%2Fairstack-frame/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limone-eth%2Fairstack-frame/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/limone-eth","download_url":"https://codeload.github.com/limone-eth/airstack-frame/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limone-eth%2Fairstack-frame/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259247284,"owners_count":22828219,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-04-18T21:08:49.179Z","updated_at":"2025-06-11T10:38:27.565Z","avatar_url":"https://github.com/limone-eth.png","language":"TypeScript","funding_links":[],"categories":["Useful Tools \u0026 Libraries"],"sub_categories":["Open source Frames"],"readme":"# A Frame in 100 lines (or less)\n\nFarcaster Frames in less than 100 lines, and ready to be deployed to Vercel.\n\nHave fun! ⛵️\n\n## Files\n\n### `app/page.tsx`\n```tsx\nimport { getFrameMetadata } from '@coinbase/onchainkit';\nimport type { Metadata } from 'next';\n\nconst frameMetadata = getFrameMetadata({\n  buttons: ['Next image'],\n  image: 'https://zizzamia.xyz/park-1.png',\n  post_url: 'https://zizzamia.xyz/api/frame',\n});\n\nexport const metadata: Metadata = {\n  title: 'zizzamia.xyz',\n  description: 'LFG',\n  openGraph: {\n    title: 'zizzamia.xyz',\n    description: 'LFG',\n    images: ['https://zizzamia.xyz/park-1.png'],\n  },\n  other: {\n    ...frameMetadata,\n  },\n};\n\nexport default function Page() {\n  return (\n    \u003c\u003e\n      \u003ch1\u003ezizzamia.xyz\u003c/h1\u003e\n    \u003c/\u003e\n  );\n}\n```\n\n### `app/layout.tsx`\n```tsx\nexport const viewport = {\n  width: 'device-width',\n  initialScale: 1.0,\n};\n\nexport default function RootLayout({ children }: { children: React.ReactNode }) {\n  return (\n    \u003chtml lang=\"en\"\u003e\n      \u003cbody\u003e{children}\u003c/body\u003e\n    \u003c/html\u003e\n  );\n}\n```\n\n### `app/api/frame/route.ts`\n```ts\nimport { getFrameAccountAddress } from '@coinbase/onchainkit';\nimport { NextRequest, NextResponse } from 'next/server';\n\nasync function getResponse(req: NextRequest): Promise\u003cNextResponse\u003e {\n  let accountAddress = '';\n  try {\n    const body: { trustedData?: { messageBytes?: string } } = await req.json();\n    accountAddress = await getFrameAccountAddress(body, { NEYNAR_API_KEY: 'NEYNAR_API_DOCS' });\n  } catch (err) {\n    console.error(err);\n  }\n\n  return new NextResponse(`\u003c!DOCTYPE html\u003e\u003chtml\u003e\u003chead\u003e\n    \u003cmeta property=\"fc:frame\" content=\"vNext\" /\u003e\n    \u003cmeta property=\"fc:frame:image\" content=\"https://zizzamia.xyz/park-2.png\" /\u003e\n    \u003cmeta property=\"fc:frame:button:1\" content=\"Address: ${accountAddress}\" /\u003e\n    \u003cmeta property=\"fc:frame:post_url\" content=\"https://zizzamia.xyz/api/frame\" /\u003e\n  \u003c/head\u003e\u003c/html\u003e`);\n}\n\nexport async function POST(req: NextRequest): Promise\u003cResponse\u003e {\n  return getResponse(req);\n}\n\nexport const dynamic = 'force-dynamic';\n```\n\n## Resources\n\n- [Official Farcaster Frames docs](https://warpcast.notion.site/Farcaster-Frames-4bd47fe97dc74a42a48d3a234636d8c5)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details\n# lemon-frame\n# lemon-frame\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flimone-eth%2Fairstack-frame","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flimone-eth%2Fairstack-frame","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flimone-eth%2Fairstack-frame/lists"}