尚未收集仓库信息。
尚未检测到更新。GitHub 发布版本后会显示在这里。
制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗Any AI agent publishes HTML pages ("artifacts"); the whole team opens, comments on and uses them, without a Claude account. Everything runs on your own Cloudflare account.
/@name, with share cards and search-engine indexing for those pages only.The interface speaks Chinese and English; see Languages.
License. Open Artifact is source-available under the PolyForm Noncommercial License 1.0.0. It is free for noncommercial use. Commercial use, including a company running it for its own staff, needs a separate license: https://ui.xiaoxiaodong.ai/license
Requires Node 22 and pnpm 9.
pnpm install
pnpm dev:setup # writes .dev.vars with local secrets, applies the D1 migrations
pnpm dev # usercontent :8789, app :8787, MCP :8788
Open http://localhost:8787 and sign in with an @example.com address (local setup allows that domain; change ALLOWED_EMAIL_DOMAINS in apps/app/.dev.vars). Locally the sign-in code is printed in the terminal running pnpm dev (look for [mail]). Everyone who signs in gets a personal workspace and is its admin; invite others from 设置 › 成员, or create a shared workspace from the workspace menu at the top left of the home page.
Stop the servers with Ctrl-C. If a port is still taken afterwards, pkill -f workerd.
Artifacts live in workspaces. A workspace can hold one person or many, and a person can belong to several and switch between them from the workspace menu. Sharing, tokens and the admin log all work per workspace; an agent's token publishes into the workspace it was created in.
workspace_deleted), admins can restore it for 30 days from 最近删除 in the workspace menu, and the daily job then deletes it with its artifacts and files.Upgrading a self-hosted deployment. Earlier versions put every new account into the deployment's first workspace. That no longer happens: new colleagues land in their personal workspace. After upgrading, have an admin create a never-expiring invite link under 设置 › 成员 and post it where colleagues find it, such as the team chat or onboarding doc. Existing members keep their workspace and get a personal one on their next visit.
In the app, open 设置 › Agent 接入 and create a personal API token.
Add the MCP server shown there, for example for Claude Code:
claude mcp add --transport http open-artifact http://localhost:8788/mcp --header "Authorization: Bearer oa_pat_…"
Ask the agent to publish something. Agents without MCP can use the HTTP API described at http://localhost:8787/llms.txt.
pnpm run check # storage boundary, type checks, all tests (Workers runtime, local D1 and R2)
| Path | What it holds |
|---|---|
packages/core | Domain types, repository interfaces, access rules (ArtifactAccess), token and signature secrets |
packages/storage-cloudflare | D1 and R2 repositories and the migrations; the only code that touches D1 or R2 |
apps/app | Web pages, HTTP API, sign-in (Better Auth), the viewer's postMessage proxy |
apps/usercontent | Serves artifact files on their own origin through signed URLs, and injects the page SDK; reads files through the app's ArtifactFileReader RPC entrypoint and has no storage binding |
apps/mcp | Remote MCP server; each tool is one call to the app's HTTP API with the agent's token |
以上为 README 的开头部分。其余内容请阅读原文。 查看完整 README ↗