Lattice
A workspace for your research.
Share and collaborate on standalone HTML files in real time. Leave comments, drop sticky notes, and edit files directly in your browser.
ProductivityTypeScript · CSSGitHub @Mason-LevyyOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Share interactive HTML files with a link. Then explore the page, leave comments, and edit it directly in your browser.
Taken from the repository README
Loading the full README.
Read the full README ↗coeditHTML turns one self-contained HTML file into a link that other people can view, comment on, and edit in their browser, with no account or install. It is built for the HTML files AI tools like Claude, ChatGPT, and Gemini produce: decks, dashboards, reports, and prototypes. Free for individual use.
https://app.coedithtml.com/mcpDrop in any self-contained HTML file up to 5MB, including embedded styles and scripts. No build steps or configuration required.
Set access to view, comment, or edit. You can also add an optional password to protect sensitive files.
Collaborators open the live file directly in their browser. They can highlight text to comment, drop sticky notes anywhere, or edit copy in place.
Review all comments and edits in an organized sidebar. Copy everything as clean markdown or download the updated HTML file with changes applied.
The project uses two origins:
app.coedithtml.com): UI chrome, share controls, comment rail, and file lists. Holds session cookies.coedit.coedithtml-worker.workers.dev): Serves uploaded HTML inside a sandboxed <iframe>. Holds no credentials.Communication between origins uses origin-checked postMessage or same-origin requests. CORS is not used.
| Package | Description |
|---|---|
app/ | React and Vite web application |
worker/ | Cloudflare Worker API, artifact storage, and Durable Objects |
runtime/ | Editor script with zero dependencies |
protocol/ | Shared types, message schemas, and anchor definitions |
website/ | Public site using Next.js static export |
ARTIFACT_STORE): Artifact files, deduplicated by content hash.ARTIFACT_METADATA): Document metadata and share tokens.DocRoom for room state and websockets; RateLimiter and UsageLedger for rate limits.Prerequisites: Node 22+ and pnpm.
pnpm install
pnpm dev
Local URLs:
sandbox.localhost:8787For MCP endpoints, copy worker/.env.example to worker/.dev.vars and set MCP_SIGNING_SECRET.
| Command | Description |
|---|---|
pnpm dev | Start app and worker |
pnpm test | Run tests |
pnpm typecheck | Run TypeScript checks |
pnpm lint | Run ESLint and Prettier |
pnpm build | Build all packages |
Requirements: Cloudflare account with Workers, R2, KV, and Durable Objects.
worker/wrangler.jsonc.APP_HOST and SANDBOX_HOST to two different origins.wrangler secret put MCP_SIGNING_SECRET --env production.pnpm run deploy. (Bare pnpm deploy is pnpm's own command, not this script.)pnpm --filter @coedithtml/website run deploy.Pushes to main run both deploys automatically through .github/workflows/deploy.yml, after the CI checks pass. It needs two repository secrets: CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID.
See CONTRIBUTING.md for contribution guidelines.
Report security issues according to SECURITY.md.
MIT — see LICENSE.