open-artifact
Health Uyari
- License — License: NOASSERTION
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 5 GitHub stars
Code Uyari
- network request — Outbound network request in deploy/docker-compose.yml
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
Publish, share and comment on the HTML and Markdown your coding agent writes. Self-hosted.
Open Artifact
Your coding agent writes a report, a design doc, a dashboard. Right now that
lands as a file on your laptop that nobody else can see.
Open Artifact gives it a URL. The agent publishes, you get a link, you share it
with the people who need to read it. They comment on the exact paragraph they
are reacting to, and the agent reads those comments back and revises. You host
all of it yourself.
- Publish from the agent. One command, or the bundled skill so the agent
does it without being asked. - HTML and Markdown. HTML runs in a sandbox with no access to your session.
Markdown is rendered with headings, tables and syntax highlighting. - Share deliberately. Private by default. Open it to named people, to
everyone at your email domain, or to anyone with the link. - Comment on a specific line, or a specific element. A Markdown comment
holds the passage you selected; an HTML comment holds the element you selected,
even though the page runs sandboxed. Both keep their position when the document
is republished, and say so plainly when what they pointed at is gone. - Feedback loop. The agent reads the comments back with the passage quoted —
and for an HTML page, the element's own source and line numbers, so it changes
the right bytes rather than guessing which part you meant. - Light and dark. Follows your system by default, or pick one and it sticks.
Readers with no account can change it too, from the bar above the document.
Use it free at open-artifact.com
Don't want to run a server? The hosted instance is live and free:
open-artifact.com. Sign up with your email,
connect your assistant, and start publishing — nothing to deploy. Everything
below this is for when you'd rather host your own.
Try it in two minutes
git clone https://github.com/iBala/open-artifact.git
cd open-artifact
pnpm install
pnpm --filter @open-artifact/server dev
Open http://localhost:3000. With no mail server configured, sign-in codes are
printed to the terminal, so you can sign in and click around without setting up
anything else.
Run it for real
Everything you need is in deploy/.
cp deploy/env.example .env # then fill in BASE_URL, SESSION_SECRET, SMTP
docker compose -f deploy/docker-compose.yml up -d
Two things to know before you go live:
Put a reverse proxy in front of it. The container binds to localhost only,
on purpose. Terminate TLS with Caddy, nginx or Traefik and forward to it.
You need a mail server. Sign-in codes and share notifications go out over
SMTP. Amazon SES, Postmark, Fastmail, your own — anything that speaks SMTP.
Without it, nobody can sign in.
Then prove the install works:
./deploy/smoke.sh https://artifacts.example.com
That signs in, publishes, checks the sandbox headers are really being sent,
shares, comments, republishes and confirms the comment kept its place. If it
passes, the instance is good.
Who can sign up
SIGNUP_MODE decides. invite-only is the default: an account is created only
for someone an artifact was shared with. domain-allowlist opens it to listed
email domains. open lets anyone in. Every setting is explained indeploy/env.example, and the server refuses to boot with a clear message if
something is missing or contradictory.
Connect your agent
Three ways in, depending on the assistant.
Claude Code — install the plugin. Two lines, and the skill arrives already
wired up:
/plugin marketplace add iBala/open-artifact
/plugin install open-artifact@open-artifact
The first time it runs, the skill installs the open-artifact command line and
walks you through signing in. To point it at your own instance rather than
open-artifact.com, add your fork's marketplace instead — the plugin is theskill/ folder, so a fork carries it along with everything else.
Any other terminal (Codex, Cursor, and friends) — hand your
assistant one sentence and let it set itself up:
Set up Open Artifact for me. Install the CLI —
npm install -g open-artifact --registry https://registry.npmjs.org/— then
readhttps://open-artifact.com/setup.mdand follow it.
Every instance serves its own /setup.md, so swap in your own address when you
self-host. That page walks the assistant through installing, signing you in, and
saving the skill. The skill itself lives in skill/.
No terminal (Claude on the web, ChatGPT) — the hosted MCP endpoint. Addhttps://artifacts.example.com/mcp as a custom connector in the app's
settings; the instance walks the connector through OAuth and shows a consent
page. A connection can publish, update and share its own documents and read
their comments — and deliberately cannot delete anything, make anything
public, or read documents other people shared with you. MCP_DESIGN.md has
the reasoning. Header-capable tools can skip OAuth: click your name at the
bottom of the sidebar to open "Where you are signed in", mint a token under
"Connect an assistant", and send it as Authorization: Bearer ….
How the pieces fit
| Folder | What it is |
|---|---|
packages/server |
Hono API, SQLite via Drizzle, auth, sharing, comments |
packages/web |
React and Vite front end |
packages/cli |
The open-artifact command the agent runs |
packages/shared |
Types and validation both sides use |
packages/e2e |
Playwright tests against a real browser |
skill/ |
The agent instructions, which double as the Claude Code plugin |
deploy/ |
Compose file, environment template, smoke test |
The database is one SQLite file. Back that file up and you have backed up the
whole instance. The compose file includes a nightly backup that uses SQLite's
own .backup command, not a file copy, because copying a live database gives
you a corrupt one.
Working on it
pnpm install
pnpm test # unit and integration
pnpm lint
pnpm typecheck
pnpm --filter @open-artifact/e2e test # browser tests
Tests come first here. If you are adding behaviour, the test that describes it
should exist before the code that satisfies it.
Found a bug, or want something?
Open an issue on GitHub: github.com/iBala/open-artifact/issues.
Bug reports, feature requests and rough ideas are all welcome — that's where we
track what to build next.
Licence
Open Artifact is fair-code, under the Sustainable Use License —
the same licence n8n uses. You can self-host and modify it for free, including
inside a company. You cannot sell it or run it as a commercial hosted service
without a commercial licence. For that, or for an enterprise arrangement
(SSO/SAML, audit logs, dedicated hosting), email
[email protected].
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi
