An open API service indexing awesome lists of open source software.

https://github.com/ctnicholas/v0-realtime-code-editor


https://github.com/ctnicholas/v0-realtime-code-editor

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

## Liveblocks real-time code editor

This demo shows you how to use [Liveblocks](https://liveblocks.io/) to build a real-time code editor. The UI was generated by [v0.dev](https://v0.dev/r/M7WGHpdFFJr).

https://github.com/CTNicholas/v0-realtime-code-editor/assets/33033422/f1f84c31-5750-4525-8199-0ae457eda269

### Set up Liveblocks

- Install all dependencies with `npm install`
- Create an account on [liveblocks.io](https://liveblocks.io/dashboard)
- Copy your **secret** key from the [dashboard](https://liveblocks.io/dashboard/apikeys)
- 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](http://localhost:3000)