Back to Browse

I turned ProseMirror into Cursor for documents in 15 min using SuperDocs (open source)

38 views
Apr 30, 2026
16:36

I took raw ProseMirror — the editor engine behind The New York Times, Atlassian, GitLab, and The Guardian — and wired it to edit documents with AI in less than 15 minutes using SuperDocs. On-screen timer running the whole build. No backend code. No SDK. No agent framework. I open sourced the entire thing. Repo + starter prompt below. Stack: • Next.js 16 + TypeScript • Tailwind • Raw ProseMirror (no TipTap, no wrapper) • Native fetch • SuperDocs REST API What it does: • Chat with the AI to edit any section of the document • Surgical edits — only the section you point at changes, the rest stays exactly as it was • Review mode — live diff in the editor, approve or deny per change • Word (.docx) export Why this matters: Building real document AI from scratch — context-aware editing where the AI changes only what you ask, a live diff you can approve or deny, formatting that survives every edit — takes most teams weeks of work. So most teams give up and ship copy-paste: the AI writes in a chat panel, the user copies text into Word, edits it, copies it back. That's the experience most "AI document" products ship today. SuperDocs gives you the entire editing infrastructure as one API call. Free for up to 500 operations a month. Paid plans from $20/month for production use. The reference implementation is fully open source — repo below. Works with any editor your users already use: • Web — TipTap, BlockNote, Lexical, Quill, CKEditor, Atlaskit (change one file) • Microsoft Word — via Office.js add-in • Google Docs — via Apps Script add-on • LibreOffice — via extension • Anywhere your users edit documents Follow-up video coming: Cursor for Microsoft Word in less than 15 minutes using SuperDocs. Same API, different host. Subscribe. Everything you saw in this video is in the repo. The starter prompt is published on the SuperDocs docs — paste it into your coding agent (Claude Code, Cursor, Windsurf, anything), give it the SuperDocs API reference, and you'll have the same app inside an hour. Repo: https://github.com/superdocsapp/prosemirror-superdocs-demo Starter prompt: https://docs.superdocs.app/guides/integration-starter-prompt SuperDocs (free, 500 ops/month, no credit card): https://superdocs.app API docs: https://docs.superdocs.app Book a call: https://cal.com/superdocs Email: [email protected] Built by Omkar Kadam. Solo founder. Shipping every day. #SuperDocs #AI #DocumentEditing #ProseMirror #NextJS #API #Developer #ClaudeCode #OpenSource

Download

0 formats

No download links available.

I turned ProseMirror into Cursor for documents in 15 min using SuperDocs (open source) | NatokHD