Astro Hackathon Showcase

🎨 Themes

astro-collab

by Chris

GitHub npm Live Preview

README.md

Astro collaborative starter

Astro Collaborative Starter

Astro Lit Open in CodeSandbox

Buckle up Astronauts 🚀 we’re going in together 👩‍🚀👨‍🚀

View Demo & Guide

Take a look at the full guide on the demo website. You can clone this repo to use it as a starter kit, or get the collaborative components straight from NPM:

npm i astro-collab

Quick start

Quick start guide

Components

Live cursors Live avatars Live users Live form Live user form Live drawing Random user info Liveblocks room

Technology

  • Liveblocks - Liveblocks powers all multiplayer features
  • Lit - Most components use Lit web components
  • tldraw - LiveDrawing component uses tldraw
  • Astro - Starter kit built for Astro
Powered by Liveblocks

Like what you see?

I build lots of collaborative fun, and write interactive articles too, follow me on Twitter for more. Here’s a few favourites:

Adding live cursors to Next.js Adding live cursors to Next.js Build a live piano Multiplayer Wordle

Extra links

Description

Buckle up Astronauts 🚀 we’re going in together 👩‍🚀👨‍🚀

This starter kit contains a set of Astro elements, mostly built with Lit, that allow for adding quick multiplayer presence. Live avatars, shared forms, a multiplayer drawing panel, and more. These are all the components you need to display everyone’s cursors moving about your screen:

<LiveblocksRoom room-id="my-room" public-key={key}>
  <LiveCursors />
</LiveblocksRoom>

There’s some more info about the project on my Twitter: https://twitter.com/ctnicholasdev/status/1526175957899390977