
artifact-site
io.github.lexmount由 GitHub 帳號 lexmount 發布v0.4.0更新於 Oct 24, 2026
One place for every AI agent's pages and docs: versioned links to share, search and update.
概覽
可自架或使用雲端的作品工作區,讓助理把產生的頁面與文件發布、更新、搜尋,並以帶版本的連結分享。
- 可以做什麼
- 發布 HTML、靜態網站資料夾、ZIP、PDF 與 Office 文件,大型網站可分塊上傳
- 更新已發布網站、編輯 HTML 文字或原始碼,並回復或另存歷史版本
- 依內容搜尋已發布作品(含中文),並讀取可擷取的文字
- 管理分享與存取:主連結可見性、指定人員、通關密碼,以及匯出與刪除
- 適用情境
- 適合多個代理產出的報告、儀表板或文件需要一個可分享、可連結、具版本紀錄與存取控制的統一存放處,而不是散落在本機檔案與對話紀錄中。也適合想把這類內容放在自有基礎設施或使用託管雲端版本的團隊。
- 執行需求
- 使用部署位址下的 /mcp 遠端端點,或在本機執行 npm CLI 套件(CLI 需 Node 24+)。需要部署位址 ARTIFACT_SITE_URL 與個人權杖 ARTIFACT_SITE_TOKEN,或透過伺服器同意頁進行 OAuth 登入;CLI 登入後權杖可省略。自架需 Git、Make、Bash、Docker 24+ 與 Compose 2.24+,可選配 OIDC 提供者。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 artifact-site,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.github.lexmount%2Fartifact-site/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"artifact-site": {
"type": "http",
"url": "https://artifact-site.app.lexmount.com/mcp"
}
}
}README
artifact-site
English | 简体中文 | 日本語 | Deutsch | Français | Español
[CI] [License: Apache-2.0 OR MIT] [Node 24] [Roadmap] [npm] [GitHub Release]
There are now so many AI agents to choose from, but their output is scattered across your computer, chat histories and different platforms’ clouds, making it hard to organize, share and revisit.
artifact-site is a self-hosted workspace for individuals and teams, similar to Claude Artifacts or OpenAI Sites. Your various agents create the work; artifact-site brings it together, turning pages and documents into links for sharing, comments and feedback, access control and version history. The agents you already use can keep editing, publishing, searching and updating that work through the CLI or MCP.
You can self-host artifact-site or use the cloud version hosted by Lexmount.
Use the cloud version — hosted by Lexmount, with no deployment required. Drag and drop a file to publish it and get a shareable link. Upload without signing in, or sign in with Google or GitHub to keep your sites, organize them in folders and control who can open each link.
Anonymous uploads expire after a few days.
Drop a file, get a link, share it. View your published work online and choose who can open it in the sharing settings.
Why artifact-site
- Keep work in one place. Organize pages and documents in folders and find them with full-text search, including Chinese. Team members and agents can find the work they have permission to access.
- Drop it in and share it. Upload HTML, a build folder, a ZIP or a document to get a link. Large sites upload in chunks. Share with everyone, signed-in users, named people or passcode holders.
- Keep improving published work. Edit HTML text or source in the browser, or let an agent update the whole site. Each change keeps a version, with rollback and the option to save a copy.
- Let agents pick up where they left off. Publish and update through the guide, CLI or MCP, then search by content and read extractable text. For example, find a previous report and update it at the same address for your team to view.
How it compares
¹ Office online preview requires Gotenberg. artifact-site hosts finished files; it does not run application backends or build jobs.
Claude Artifacts and ChatGPT Sites combine creation and hosted sharing. artifact-site complements those workflows with a shared home on your own infrastructure for pages and documents produced by different tools.
Product scope and sharing vary by plan and evolve; see the official Claude Artifacts and ChatGPT Sites guides.
Contents
- What you can publish
- Quick start (local deployment)
- Connect a coding agent
- Deploy for your team
- How it works
- Documentation
- Contributing
- License
What you can publish
Build web projects into static files before uploading; the platform does not run application backends or build jobs. PDF and Office documents do not support visual HTML editing, and scanned images are not automatically OCRed.
Hosted pages run in a sandbox and cannot use the platform's login session. External API connections require an origin allowlist. See the runtime limits and security design.
Quick start (local deployment)
You can use the cloud version without installing anything. To deploy locally, run the three commands below. You need Git, Make, Bash, Docker 24+ and the Compose plugin 2.24+. On macOS, use Docker Desktop; on Windows, run the commands inside WSL2 with Docker Desktop’s WSL integration enabled. No Node installation, domain or identity provider is needed.
Once started, open http://127.0.0.1:4300 and drop in HTML, a static site folder or a PDF to view your work. New sites are private by default; change main-link access in Sharing before sending it to someone else.
The first run downloads dependencies and builds the image, then starts the app and Postgres. Use these commands in a fresh clone. The service is local-only by default; make down stops it and retains data. To make it reachable by your team, follow Deploy for your team.
Need a file to try? Create a sample page
Drop hello.html onto the home page (or choose Upload). You should see “Hello, artifact-site!”. Copy a link from the sharing settings; local-deployment links only open on the same machine.
Connect a coding agent
Choose the entry point that fits your agent:
- Skill:
npx skills add lexmount/artifact-site— install the agent skill and give your agent your server URL. - CLI:
npm install -g @artifact-site/cli— requires Node 24+; use the commands below. - MCP:
https://your-server/mcp— connect ChatGPT, Claude or another MCP client through the server’s OAuth sign-in; no CLI installation required. A client that only starts local MCP servers can run the CLI’sartifact-site mcpinstead.
CLI and MCP create private artifacts by default, without independent share links. Use artifact-site visibility <slug> unlisted or MCP artifact_site_set_visibility when the user asks to share the main link.
[A coding agent publishes a build folder with the artifact-site CLI and hands back the share link]
Or let your coding agent do it. With the agent guide (/for-agents.md), the CLI or the MCP server, "publish this and give me a link" is one instruction — and the site can be updated, searched and read the same way.
Give this instruction to Claude Code, Cursor, Codex or another coding agent that can read URLs, using a server address it can reach. The home page also provides a copy button with your server address filled in:
CLI examples (login requires OIDC):
Authentication details
Open Agent guide on your deployment to choose the prompt, CLI or MCP path. /for-agents#cli and /for-agents#mcp provide server-specific commands, authentication steps and client configuration. Remote MCP authenticates every request: ChatGPT, Claude and other OAuth-capable clients sign in through the server's own consent page, other clients carry a personal token. Publishing is private by default; open main-link access explicitly with the visibility operation. Advanced independent links are opt-in.
Team deployments with OIDC support device sign-in approval; the anonymous local setup above does not require it. The agent follows the guide and the server's publishing policy to choose authentication. A cloud agent cannot directly reach 127.0.0.1 on your computer.
The login example requires OIDC. Remote MCP is a separate, complete entry point at
https://your-server/mcp: no CLI installation is required. ChatGPT, Claude and any client that
implements MCP authorization connect with the address alone and sign in through the server's
OAuth consent page; for other clients, the deployment's /for-agents#mcp page creates a
personal token and copies the authenticated configuration. It supports publishing, updating,
search, read, sharing, versions, export and deletion, including binary files and directory
uploads through MCP tools.
See CLI commands and remote MCP setup and tools.
Deploy for your team
Start from .env.example and follow SELFHOST.md for a production deployment. Use a stable public address for ARTIFACT_PUBLIC_URL: sign-in callbacks, request-origin checks and the address given to agents derive from it:
- Set a reachable
ARTIFACT_PUBLIC_URLand configure a reverse proxy, or setARTIFACT_WITH_CADDY=onwithARTIFACT_DOMAINto enable Caddy and automatic certificates. - Choose a publishing policy.
loginrequires OIDC;tokenserves scripts or agents with a Bearer token;openlets anyone who can reach the service publish and suits trusted internal networks. Anonymous publishing supports separate quotas and expiry. - Connect Google or an OIDC provider such as Keycloak, Logto, Authentik, Okta or Auth0. Accounts own sites and folders; agents can receive long-lived tokens through device sign-in. The default
ARTIFACT_ENFORCE_OWNERSHIP=onenables account-based access control once OIDC is configured. Add administrators' verified sign-in emails toARTIFACT_ADMIN_EMAILSto enable the admin console. - Enable Office preview with
ARTIFACT_WITH_GOTENBERG=on. The admin console manages take-downs, quotas, anonymous-site expiry and policy switches. Choose default visibility and schedule backups.
The app ships as one Docker image with bundled Postgres in the single-host setup. To use an available prebuilt image, set ARTIFACT_IMAGE and run make pull. make doctor checks configuration; make backup and make restore handle backups and recovery. For multiple replicas, external Postgres and S3-compatible storage, see DEPLOY.md.
How it works
- Application and storage. Next.js serves the UI and API, Postgres stores metadata, and files live on local disk or S3-compatible storage. External database and object storage support multiple app replicas.
- Immutable versions. Each upload or edit writes a new file version, preserving historical content. Optimistic locking (
expected_version) detects concurrent update conflicts. - Content isolation. Previews use sandboxed iframes without
allow-same-originand a restrictive CSP to isolate uploaded content from the platform. Path checks and decompression limits defend against path traversal and ZIP bombs.
See ARCHITECTURE.md for the architecture, data model and request flows.
Documentation
Contributing
Local development requires Node 24+ and Docker:
See CONTRIBUTING.md for the contribution process, DCO sign-off and CI requirements. Report bugs and ideas in issues; ask questions in discussions.
If artifact-site is useful to you, a ⭐ helps others find it. Using it with your team? Say hi in Discussions — we’d love to list you.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE)
- MIT license (LICENSE-MIT)
at your option. Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you shall be dual-licensed as above, without any additional terms or conditions.
© 2025–2026 LexMount. Third-party components are listed in NOTICE.
File packages
Folder and ZIP/RAR/7z/TAR/TAR.GZ/TGZ uploads now open a file directory; click an HTML/HTM file to render it in the sandbox. Archive uploads default to a 50 MiB compressed limit and retain the original bytes for downloads by users with source-export permission. Ordinary readers cannot download the package. Folder downloads are ZIPs and preserve empty directories when the upload client can enumerate them. Existing website versions and legacy API modes keep their original behavior. See deployment and archive runtime details.
來源:README.md,提交 5c88b93
工具
0版本歷史
2- v0.4.0最新Sep 24, 2026
- v0.3.0Sep 24, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具必需15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分