Phase 0 foundation for Docwell, an open-source knowledge base: - Database: PocketBase v0.40.6 with initial schema migrations; users is the built-in auth collection, plus a hook for token checks and env-driven app URL/SMTP settings - Server: Go API (health, version, auth endpoints forwarded to PocketBase, admin user list) with an embedded Vue admin panel - Web-App: Go static server and Vue/Tailwind app with Tiptap editor, sign-in, sign-up, password reset and email verification (EN/PL) - Desktop-App: Wails v3 host reusing the web app - Phone-App: Flutter app with sign-in - Shared packages (editor, ui, api-client), OpenAPI spec, Docker compose (separate services and all-in-one), GitHub Actions CI - Docs: feature inventory and architecture/build plan Licensed under AGPL-3.0-or-later. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
11 KiB
11 KiB
Docwell — Competitive Feature Inventory
Research date: 2026-10-30. Sources: product sites and GitHub READMEs of the five reference apps, plus prior product knowledge. Notion is closed source; the other four are open source.
1. Reference apps at a glance
| Docmost | Outline | AppFlowy | AFFiNE | Notion | |
|---|---|---|---|---|---|
| Repo | docmost/docmost |
outline/outline |
AppFlowy-IO/AppFlowy (+ AppFlowy-Cloud) |
toeverything/AFFiNE (+ blocksuite) |
closed |
| Stars (Oct 2026) | ~22k | ~41k | ~78k | ~74k | — |
| License | AGPL-3.0 core + separate EE license (ee/ dirs) |
BSL 1.1 (converts to Apache 2.0 after a delay) | AGPL-3.0 | MIT (Community Edition) | proprietary |
| Frontend | React + Mantine, Vite | React + MobX + styled-components | Flutter (desktop + mobile), Next.js web | React + Jotai, Vite | React |
| Backend | NestJS (TypeScript), PostgreSQL, Redis | Node.js/Koa (TypeScript), PostgreSQL (Sequelize), Redis | Rust (Actix) — Postgres, Redis, S3/MinIO, GoTrue auth | NestJS + Rust via napi-rs, PostgreSQL, Redis | — |
| Editor | Tiptap (ProseMirror) | ProseMirror (custom) | appflowy_editor (Flutter) | BlockSuite (custom, Lit web components) | custom block editor |
| Realtime/CRDT | Yjs + Hocuspocus | Yjs (y-prosemirror) | Rust Yrs ("collab" crate) | Yjs on web, y-octo (Rust Yjs port) natively | operational model, proprietary |
| Desktop | — (web/PWA) | — (web; unofficial wrappers) | Flutter native | Electron | Electron |
| Mobile | responsive web | responsive web | Flutter native | native apps | native |
| Local-first / offline | no | no | yes | yes | partial (offline pages) |
| Monorepo tooling | pnpm + Nx | yarn | Cargo + Flutter | yarn + Cargo | — |
What this tells us: the open-source wikis (Docmost, Outline) all use ProseMirror/Tiptap + Yjs and a server-authoritative model. The "Notion alternatives" (AppFlowy, AFFiNE) are local-first apps with their own CRDT engines and native clients. Docwell starts with the first model and adds the second step by step.
2. Feature inventory
Columns show which reference app has each feature: Docmost, Outline, AppFlowy, aFFiNE, Notion. The Docwell column gives our priority: M = MVP, 1 = v1.0, 2 = v2.x, X = out of scope or later.
2.1 Editor and content blocks
| Feature | D | O | A | F | N | Docwell |
|---|---|---|---|---|---|---|
| Rich text (bold/italic/underline/strike/code/highlight/color) | ✓ | ✓ | ✓ | ✓ | ✓ | M |
| Headings, lists (bullet/numbered/todo), quotes, dividers | ✓ | ✓ | ✓ | ✓ | ✓ | M |
Slash command menu (/) |
✓ | ✓ | ✓ | ✓ | ✓ | M |
Markdown shortcuts (#, -, [], ```) |
✓ | ✓ | ✓ | ✓ | ✓ | M |
| Floating / bubble formatting toolbar | ✓ | ✓ | ✓ | ✓ | ✓ | M |
| Drag handle to move blocks | ✓ | ✓ | ✓ | ✓ | ✓ | M |
| Code blocks with syntax highlighting | ✓ | ✓ | ✓ | ✓ | ✓ | M |
| Tables (resizable, merge cells) | ✓ | ✓ | ✓ | ✓ | ✓ | M |
| Callouts / info panels | ✓ | ✓ | ✓ | ✓ | ✓ | M |
| Toggle / collapsible blocks | ✓ | ✓ | ✓ | ✓ | ✓ | 1 |
| Columns / multi-column layout | – | – | ✓ | ✓ | ✓ | 2 |
| Images (upload, paste, resize, caption) | ✓ | ✓ | ✓ | ✓ | ✓ | M |
| File attachments, video, audio | ✓ | ✓ | ✓ | ✓ | ✓ | M |
| Math / LaTeX (inline + block) | ✓ | ✓ | ✓ | ✓ | ✓ | 1 |
| Mermaid diagrams | ✓ | ✓ | – | – | ✓ | 1 |
| Draw.io / Excalidraw diagrams | ✓ | – | – | – | – | 1 |
| Embeds (YouTube, Figma, Loom, Miro, Airtable, Google Docs…) | ✓ | ✓ | ✓ | ✓ | ✓ | 1 |
| Link previews / bookmark cards | – | ✓ | ✓ | ✓ | ✓ | 1 |
| @mentions (users, pages, dates) | ✓ | ✓ | ✓ | ✓ | ✓ | M (users/pages), 1 (dates/reminders) |
| Emoji picker, page icon and cover | ✓ | ✓ | ✓ | ✓ | ✓ | M |
| Table of contents block | – | ✓ | ✓ | – | ✓ | 1 |
| Synced / transcluded blocks | – | – | – | ✓ | ✓ | 2 |
| Block links (deep link to a block) | – | ✓ | ✓ | ✓ | ✓ | 1 |
| Find and replace in page | ✓ | ✓ | ✓ | – | ✓ | 1 |
| Page width toggle, font choice | ✓ | ✓ | ✓ | ✓ | ✓ | 1 |
| Whiteboard / edgeless canvas | – | – | – | ✓ | – | X (Excalidraw embed covers it) |
| Slides / presentation mode | – | – | – | ✓ | – | X |
2.2 Organization and navigation
| Feature | D | O | A | F | N | Docwell |
|---|---|---|---|---|---|---|
| Workspaces (tenant) | ✓ | ✓ | ✓ | ✓ | ✓ | M |
| Spaces / collections / teamspaces | ✓ | ✓ | ✓ | – | ✓ | M |
| Nested page tree, drag-and-drop reorder | ✓ | ✓ | ✓ | ✓ | ✓ | M |
| Favorites / starred | ✓ | ✓ | ✓ | ✓ | ✓ | M |
| Recently viewed / edited | ✓ | ✓ | ✓ | ✓ | ✓ | M |
| Breadcrumbs | ✓ | ✓ | ✓ | ✓ | ✓ | M |
| Backlinks ("linked from") | – | ✓ | – | ✓ | ✓ | 1 |
| Tags | – | – | – | ✓ | – | 2 |
| Templates (workspace and space level) | ✓ | ✓ | ✓ | ✓ | ✓ | 1 |
| Trash with restore | ✓ | ✓ | ✓ | ✓ | ✓ | M |
| Archive | – | ✓ | – | – | ✓ | 1 |
| Command palette / quick switcher (Ctrl+K) | ✓ | ✓ | ✓ | ✓ | ✓ | M |
| Journals / daily notes | – | – | – | ✓ | – | 2 |
| Pinned docs on space home | – | ✓ | – | – | – | 1 |
2.3 Collaboration
| Feature | D | O | A | F | N | Docwell |
|---|---|---|---|---|---|---|
| Real-time co-editing (CRDT) | ✓ | ✓ | ✓ | ✓ | ✓ | M |
| Live cursors and presence avatars | ✓ | ✓ | ✓ | ✓ | ✓ | M |
| Inline comments on selections | ✓ | ✓ | ✓ | – | ✓ | M |
| Threads, resolve, reactions | ✓ | ✓ | ✓ | – | ✓ | 1 |
| Page history and version restore | ✓ | ✓ | ✓ | ✓ | ✓ | M |
| Version diff view | – | ✓ | – | – | – | 1 |
| Notifications (in-app + email) | ✓ | ✓ | ✓ | ✓ | ✓ | 1 |
| Watch / subscribe to page | – | ✓ | – | – | ✓ | 1 |
| Suggesting mode (tracked changes) | – | – | – | – | ✓ | 2 |
| Page analytics (views, who viewed) | – | ✓ | – | – | ✓ | 2 |
| Verified pages / expiry reminders | – | – | – | – | ✓ | 2 |
2.4 Databases (Notion-style structured data)
| Feature | D | O | A | F | N | Docwell |
|---|---|---|---|---|---|---|
| Inline + full-page databases | – | – | ✓ | ✓ | ✓ | 2 |
| Views: table/grid | – | – | ✓ | ✓ | ✓ | 2 |
| Views: board / kanban | – | – | ✓ | ✓ | ✓ | 2 |
| Views: calendar | – | – | ✓ | – | ✓ | 2 |
| Views: gallery, list, timeline/Gantt, chart | – | – | partial | – | ✓ | X / later |
| Property types (text, number, select, multi-select, date, person, checkbox, URL, files) | – | – | ✓ | ✓ | ✓ | 2 |
| Relations, rollups, formulas | – | – | partial | – | ✓ | X / later |
| Filters, sorts, grouping | – | – | ✓ | ✓ | ✓ | 2 |
| Row opens as a full page | – | – | ✓ | ✓ | ✓ | 2 |
| Forms that write to a database | – | – | – | – | ✓ | X |
| Automations / buttons | – | – | – | – | ✓ | X |
2.5 Search and AI
| Feature | D | O | A | F | N | Docwell |
|---|---|---|---|---|---|---|
| Full-text search across workspace | ✓ | ✓ | ✓ | ✓ | ✓ | M |
| Search filters (space, author, date) | ✓ | ✓ | – | – | ✓ | 1 |
| Search in attachments (PDF/DOCX text) | EE | – | – | – | ✓ | 2 |
| AI writing assistant (rewrite, summarize, translate) | EE | ✓ | ✓ | ✓ | ✓ | 2 |
| AI Q&A over the workspace (RAG with citations) | EE | ✓ | ✓ | ✓ | ✓ | 2 |
| Bring-your-own model / local LLM (Ollama) | – | – | ✓ | – | – | 2 |
| AI agents / automations | – | – | – | – | ✓ | X |
2.6 Sharing, permissions, security
| Feature | D | O | A | F | N | Docwell |
|---|---|---|---|---|---|---|
| Roles: owner / admin / member / guest | ✓ | ✓ | ✓ | ✓ | ✓ | M |
| User groups | ✓ | ✓ | – | – | ✓ | M |
| Space-level permissions | ✓ | ✓ | ✓ | – | ✓ | M |
| Page-level permissions / restrictions | EE | ✓ | – | – | ✓ | 1 |
| Public share links (read-only) | ✓ | ✓ | ✓ | ✓ | ✓ | M |
| Publish as public site / custom domain | – | ✓ | ✓ | ✓ | ✓ | 2 |
| Guest / external collaborators | – | ✓ | ✓ | ✓ | ✓ | 1 |
| Email + password, magic link | ✓ | ✓ | ✓ | ✓ | ✓ | M |
| OAuth (Google, GitHub, Microsoft) | – | ✓ | ✓ | ✓ | ✓ | 1 |
| OIDC / SAML SSO | EE | ✓ | ✓ | – | ✓ | 1 (OIDC), 2 (SAML) |
| LDAP | EE | – | – | – | – | 2 |
| MFA (TOTP) | EE | – | – | – | ✓ | 1 |
| SCIM provisioning | – | – | – | – | ✓ | 2 |
| Audit log | EE | ✓ | – | – | ✓ | 1 |
| Domain allow-list for signups | ✓ | ✓ | – | – | ✓ | M |
2.7 Import, export, integrations, API
| Feature | D | O | A | F | N | Docwell |
|---|---|---|---|---|---|---|
| Import Markdown / HTML | ✓ | ✓ | ✓ | ✓ | ✓ | M |
| Import Notion export (zip) | ✓ | ✓ | ✓ | ✓ | – | 1 |
| Import Confluence | EE | ✓ | – | – | ✓ | 2 |
| Import DOCX | ✓ | ✓ | – | – | ✓ | 1 |
| Export Markdown / HTML | ✓ | ✓ | ✓ | ✓ | ✓ | M |
| Export PDF | ✓ | ✓ | ✓ | ✓ | ✓ | 1 |
| Export whole space / workspace (zip) | ✓ | ✓ | ✓ | ✓ | ✓ | 1 |
| Public REST API + API tokens | EE | ✓ | ✓ | – | ✓ | 1 |
| Webhooks | – | ✓ | – | – | ✓ | 1 |
| Slack integration (unfurl, notifications, search) | – | ✓ | – | – | ✓ | 2 |
| GitHub / Linear / Figma unfurls | – | ✓ | – | – | ✓ | 2 |
| MCP server (AI-agent access to docs) | – | ✓ | – | – | ✓ | 2 |
| Plugin / extension system | – | ✓ (internal) | ✓ | planned | – | 2 |
2.8 Platform and UX
| Feature | D | O | A | F | N | Docwell |
|---|---|---|---|---|---|---|
| Dark mode | ✓ | ✓ | ✓ | ✓ | ✓ | M |
| i18n (10+ languages) | ✓ | ✓ | ✓ | ✓ | ✓ | M (framework + EN/PL), 1 (more) |
| Responsive web / PWA | ✓ | ✓ | ✓ | ✓ | ✓ | M |
| Native desktop app | – | – | ✓ | ✓ | ✓ | 1 (Wails) |
| Native mobile apps | – | – | ✓ | ✓ | ✓ | 1 (Flutter) |
| Offline editing + sync | – | – | ✓ | ✓ | partial | 2 (desktop first) |
| Keyboard shortcuts and help sheet | ✓ | ✓ | ✓ | ✓ | ✓ | M |
| Self-host via Docker / docker-compose | ✓ | ✓ | ✓ | ✓ | – | M |
| Admin panel (users, settings, usage, license) | ✓ | ✓ | ✓ | ✓ | ✓ | M |
| Storage backends: local disk / S3 | ✓ | ✓ | ✓ | ✓ | – | M |
| Email (SMTP) configuration | ✓ | ✓ | ✓ | ✓ | – | M |
3. Where Docwell can stand out
- Single-binary simplicity. Go server + PocketBase (SQLite) needs no Postgres, Redis or Node. You can self-host it on a $5 VPS or a Raspberry Pi. None of the five competitors offers this.
- Truly native clients for every platform from day one: web, Wails desktop (small binaries, ~15 MB vs Electron's ~150 MB) and Flutter mobile.
- Wiki-first, databases second. Ship the Docmost/Outline feature set first, because that is where users switch. Add AppFlowy/Notion-style databases in v2.
- Open core without crippled security. Docmost and Outline put SSO, MFA or page permissions behind paid tiers. Docwell can include OIDC, MFA and page permissions in the open-source core.