Skip to content
Plain

Plain

Simple notes, minimal UI, with collaboration

Created on 8th November 2025

•

Plain

Plain

Simple notes, minimal UI, with collaboration

The problem Plain solves

Real-time collaborative note-taking without the bloat. Built for teams who need to work on notes together - think meeting notes, project docs, brainstorming sessions. The UI is clean and minimal, no distractions, just your content. Has RAG-enhanced search so you can find notes using natural language instead of exact keywords. Supports version history so you never lose work. Everything syncs instantly across all users with zero conflicts thanks to CRDT.

Challenges I ran into

Setting up Tiptap with real-time collaboration + version history + rich text editing was complex. The extensions are tightly coupled - you can't just modularize everything into separate components because the Snapshot extension needs direct access to the provider, and the editor needs the Y.Doc instance. Had to integrate it all in one component.

Initially planned to use Pinecone for RAG but explored pgvector with local embeddings instead - way simpler, no external service needed. Just added the vector extension to Postgres and it works.

The infinite re-render loops with Svelte 5's $effect were tricky. Effects tracking their own state changes caused issues. Fixed it using untrack() to break the cycle - only track the specific dependencies you need, untrack everything else.

Navigation between notes was broken initially because the Y.Doc was created once and reused. Had to recreate the doc + provider for each note switch, which required proper cleanup and $effect dependency management.

Rest was standard full-stack work - wiring up Prisma, Better-auth, Remote Functions, integrating Tiptap Cloud SDK, managing WebSocket connections, debouncing updates, handling race conditions with timestamps.

Cheer Project

Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.

Discussion

Builders also viewed

See more projects on Devfolio