npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@single-studio/provider-supabase

v0.3.6

Published

Collaboration for Single Studio over Supabase Realtime: bring your own key, no backend to deploy.

Downloads

1,010

Readme

@single-studio/provider-supabase

npm licence

Multi-operator collaboration for Single Studio, over a service you own, with a key nobody else holds.

Install it alongside the framework; it does nothing until somebody pastes an invite link.

npm install @single-studio/provider-supabase

Why this one

A studio deploys as static files. Whatever carries edits between machines has to work from a browser with no backend of any kind — and the vendor of the studio must never hold a credential for it.

| Option | Verdict | | --------------------- | -------------------------------------------------------------------------------------------------------------------------------- | | Supabase Realtime | Broadcast channels work from the browser with a project's anon key. Free tier is ample. This. | | Pusher | Client-to-client needs private channels, which need an auth endpoint — a backend, which is the thing being avoided. | | Trystero | Genuinely zero setup, but WebRTC cannot be created in a SharedWorker and the whole store lives in one. | | Your own relay | Run your own — one deploy, for anyone who wants it. |

The publishable key (anon on older projects) is public by design; it is in the page of every Supabase app ever shipped, and it is the user's key in the user's project. What guards a show is its room key: frames are sealed with it, and the channel name is derived from it, so there is no room name for anyone to guess.

Setup, for whoever runs the show

  1. Make a free project at supabase.com.
  2. Project Settings: copy the Project ID. API Keys: copy the publishable key (an older project shows anon under Legacy).
  3. Paste both into the board's Collaborate dialog and press Go. There is no room to name — the key generated for you is the room.
  4. Send the resulting link to each operator.

An operator pastes that link into an OBS custom browser dock. That is their whole setup — no key to type, no account to make, and OBS remembers the URL.

Wiring

import { createVelcroHost } from '@single-studio/core/worker'
import { connectSupabase } from '@single-studio/provider-supabase'

createVelcroHost({ name: STUDIO_ID, mutations, sync: { connect: connectSupabase } })

url is the project URL, token is the publishable key, room is the channel — derived from the room key by core before the provider ever sees it, so the provider takes it exactly as it did when somebody typed one.

To accept either a Supabase project or a relay, dispatch on the address:

const connect = (context) => (/^https?:/.test(context.url) ? connectSupabase(context) : connectWebsocket(context))

What it gives up

There is no relay holding the document, so an operator who opens their board while every other machine is off sees an empty show until somebody comes up. During a broadcast that cannot happen — the machine running OBS is on by definition — and it is the price of needing nothing deployed.

Everything else holds: concurrent edits merge, two operators tapping +1 make +2, and a peer that drops keeps working from its own copy and converges when it returns.