Real‑time collaboration, comments, presence indicators, and rich‑text editing—all in one lightning‑fast Next.js application.
SyncScribe is a Google Docs‑style web app that showcases how to glue together modern web technologies—Next.js 14 for routing & React Server Components , TypeScript for type‑safe development , Tailwind CSS for utility‑first styling , and Liveblocks to handle real‑time data sync, presence, and comments .
Under the hood, rich‑text editing is powered by Lexical, Meta’s high‑performance editor framework , while UI primitives come from shadcn/ui to keep the component markup minimal yet accessible .
Layer | Technology | Why it’s here |
---|---|---|
Framework | Next.js (App Router) | Hybrid rendering (SSR + RSC) out of the box |
Language | TypeScript | Safer code & editor IntelliSense |
Realtime | Liveblocks | Presence, optimistic updates, conflict‑free CRDTs |
Editor | Lexical | Composable, accessible rich‑text editing |
Styling | Tailwind CSS + shadcn/ui | Rapid theming plus pre‑styled headless components |
Auth | Clerk &/or NextAuth (GitHub provider) | Password‑less, OAuth‑based sign‑in |
CI Badges | Shields.io | Make your README pop while following badge best‑practices |
# 1· Clone
git clone https://github.com/shashank11yadav/collaborative-editor.git
cd collaborative-editor
# 2· Install deps
npm install # or pnpm / yarn
# 3· Environment
cp .env.example .env.local
# → fill in Clerk & Liveblocks keys
# 4· Run dev server
npm run dev
# open http://localhost:3000