Native Shell
Native Shell:AI 生成的 UI,在你的应用中原生呈现,覆盖每个平台。iOS、Android、macOS、Windows 与 Linux 上的应用、GPUI 应用与网页在运行时加载已签名、沙箱隔离的 TSX 模块并绘制 th
AI 翻译
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证UI cards for your chatbot
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗genuicn is a shadcn registry of generative UI cards that render inside a chatbot. The chat uses json-render, so the model writes a small spec that names a card and its props, and the card fetches its own live data.
These cards are ready to install:
The other cards in the docs sidebar are planned. To add the chat and cards to your own Next.js app, follow the Installation page at /docs/installation.
Some cards call services that ask for credit, and some call endpoints that have no public API. The Installation page lists which cards these are. Check each service's terms before you ship.
This repo is the docs site and the registry source. We use pnpm.
pnpm install
pnpm dev
Then open http://localhost:3000. The docs playgrounds replay recorded chats along with the data each card loaded, so browsing the site calls neither the model nor the quote and weather services.
To try /api/chat locally, copy .env.example to .env.local and add an AI_GATEWAY_API_KEY from the Vercel dashboard under AI Gateway, API Keys.
pnpm registry:build runs shadcn build, which writes the installable items in registry.json to public/r/. pnpm build runs it before next build.pnpm record <name> "<prompt>" sends one prompt to the running dev server and saves the reply to content/recordings/<name>.json for a docs playground, together with the data each card in the reply loaded. It needs pnpm dev running and the key in .env.local.pnpm record:data [name...] refreshes the card data in every recording, or in the ones named, without calling the model. It needs pnpm dev running. Run it before a deploy to bring the playground numbers up to date.pnpm check and pnpm fix run Ultracite.The changelog lives in content/changelog/, one file per month. The format is in content/changelog/README.md.