Wafflebase
Wafflebase is a web-based collaborative office suite — spreadsheets, word
documents, presentations, markdown notes, and an infinite canvas, plus viewers
for uploaded PDFs, images, and other files. It offers real-time collaboration
and scalable performance, and bridges the gap between traditional spreadsheets
and database tools for handling large datasets.
Status: Actively developed, pre-1.0. Wafflebase ships tagged releases,
publishes @wafflebase/cli to npm and a
yorkieteam/wafflebase image to Docker Hub, and runs the public site at
wafflebase.io. Every document type below works
today, including external PostgreSQL and lakehouse data sources — but there
is no 1.0 release and we don't call it production-ready yet.
Demo: https://wafflebase.io/shared/bed3dbe8-bdce-46ef-a76e-65fd67178cde
Features
Sheets
- High-performance rendering — Canvas-based virtualized grid that handles
large row/column counts smoothly.
- Formulas — ANTLR4-based formula engine with a 462-entry catalog
(445 functions plus 17 operators) spanning math, statistical, lookup,
text, date, financial, engineering, and database categories.
- Cell formatting — Font, color, alignment, freeze panes, conditional
formatting, and data validation with in-cell checkbox / dropdown / date
controls.
- Charts & pivot tables — Bar, line, area, pie, and scatter charts
anchored to the grid, plus pivot tables.
- File import —
.xlsx (including styles), CSV, JSON, and Parquet.
- Undo/Redo & Copy/Paste — Google Sheets-compatible clipboard handling.
- Data Source integration — Query an external PostgreSQL database from a
datasource tab, or read Iceberg / Delta tables out of object storage (S3,
S3-compatible, GCS, Azure, or a local path) through the lakehouse
connector.
Docs
- Canvas-based word processor — Rich text editing with inline formatting
(bold, italic, underline, font size, color).
- Pagination — Word-processor-style pages with configurable paper size
and margins.
- Block editing — Paragraph-level operations with alignment and line
height controls, plus tables, images, headers/footers, and spell check.
- Import & export — DOCX import and export, and PDF export.
Slides
- Free-position canvas — Place text boxes, images, tables, connectors,
and any of 137 insertable shapes anywhere on a slide; reuses the Docs
rich-text engine inside text boxes.
- Themes & layouts — 23 built-in themes and 11 Google Slides–parity
layouts with placeholder identity tracking.
- Canvas + DOM editor — Two-pane editor (slide list + main canvas) with
a DOM overlay for inline text editing.
- Presentation mode — Fullscreen player with keyboard and click
navigation.
- Import & export — Best-effort PPTX import, plus PPTX and PDF export.
Notes
- Markdown editor — CodeMirror 6 source editor with a live preview,
backed by a single Yorkie
Text CRDT.
Board
- Infinite canvas — Boundless pan/zoom plane reusing the Slides scene
engine, with sticky notes, shapes, images, and connectors.
- Miro import — Best-effort structured import of a Miro board.
Files
- PDF, image, and generic file documents — Upload any file as a
document; PDFs and images get dedicated viewers, everything else is
stored and downloadable.
Shared
- Real-time collaboration — Multi-user editing powered by
Yorkie CRDT.
- Peer cursor labels — See collaborators' cursors with name tags in
real time.
- Comments — Threaded comments with
@user mentions and in-app
notifications.
- Version history — Browse, preview, and restore past revisions of any
CRDT document type.
- Sharing — URL-based share links with viewer/editor roles and
anonymous access, on top of workspaces, folders, and a template gallery.
- CLI & REST API — Workspace-scoped API keys, a
/api/v1/ surface, and
the wafflebase command-line client.
Tech Stack
| Layer | Technology |
|---|
| Frontend | React 19, Vite, TailwindCSS, Radix UI |
| Sheets engine | Canvas rendering, ANTLR4 formula parser, Yorkie CRDT |
| Docs engine | Canvas rendering, custom layout & pagination |
| Slides engine | Canvas + DOM-overlay editor, theme/master/layout model, reuses Docs rich-text engine in text boxes |
| Notes engine | CodeMirror 6 source editor, single Yorkie Text CRDT |
| Board engine | Slides scene engine under an injected pan/zoom viewport |
| Backend | NestJS, Prisma, PostgreSQL, GitHub OAuth + JWT |
Project Structure