GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - BaseMax/liveblocks-javascript-demo: Showcasing how to use Liveblocks to create collaborative real-time experiences in a web application. The project shows how you can display the number of users currently online in a room using the Liveblocks API.

BranchesTags
Open more actions menu

Latest commit

 

History

32 Commits
32 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
index.html
index.html
 
 
index.js
index.js
 
 
liveblocks.config.ts
liveblocks.config.ts
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
room.js
room.js
 
 

Repository files navigation

Liveblocks JavaScript Demo

This is a simple demo showcasing how to use Liveblocks to create collaborative real-time experiences in a web application. The project shows how you can display the number of users currently online in a room using the Liveblocks API.

https://liveblocks.io

Features

Real-time Collaboration: Displays the number of other users currently connected to the same Liveblocks room.

Live Updates: The user count updates automatically as other users join or leave the room.

Prerequisites

To run this project, you'll need to have the following installed on your machine:

  • Node.js: Download and install Node.js
  • Liveblocks API Key: Sign up for a free Liveblocks account and get your API key.

Installation

Clone this repository to your local machine:

git clone https://github.com/BaseMax/liveblocks-javascript-demo.git
cd liveblocks-javascript-demo

Install the required dependencies using npm:

npm install

Edit liveblocks.config.ts file with your Liveblocks API key:

export default {
  publicKey: "your-liveblocks-public-key"
};

Running the Project

To start the local development server:

npm run dev

Open your browser and navigate to http://localhost:5173/. You should see a message displaying how many users are currently online.

Copyright 2024, Max Base

About

Showcasing how to use Liveblocks to create collaborative real-time experiences in a web application. The project shows how you can display the number of users currently online in a room using the Liveblocks API.

liveblocks.io

Topics

collaborativecollaborative-developmentcollaborative-editingcollaborative-editorcollaborative-frameworkcollaborative-learningjavascriptjsliveblockliveblocks

Resources

Readme
GPL-3.0 license
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.