Skip to content

CTNicholas/v0-realtime-code-editor

Repository files navigation

Liveblocks real-time code editor

This demo shows you how to use Liveblocks to build a real-time code editor. The UI was generated by v0.dev.

cE3m32preO.mp4

Set up Liveblocks

  • Install all dependencies with npm install
  • Create an account on liveblocks.io
  • Copy your secret key from the dashboard
  • Create an .env.local file and add your secret key as the LIVEBLOCKS_SECRET_KEY environment variable
  • Run npm run dev and go to http://localhost:3000