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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@aelatgt/hubs

v0.0.1-0

Published

Duck-themed multi-user virtual spaces in WebVR.

Downloads

3

Readme

Build Status

The client-side code for https://hubs.mozilla.com/, a multi-user experience in WebVR. Built with A-Frame.

Getting Started

To run the client, run:

git clone https://github.com/mozilla/hubs.git
cd hubs
npm ci
npm start

Then visit https://localhost:8080 (note: HTTPS is required)

Note: When running the Hubs client locally, you will still connect to the development versions of our Janus WebRTC and reticulum servers.

Building Static Files

To bundle javascript and generate the html templates, run:

npm run build

Sharing Your Changes

When running a local copy of Hubs as-is, you'll use Mozilla's "dev" Reticulm and Janus servers for storing your room information and relaying messages between users in the room.

This also means you can upload a modified copy of Hubs to a hosting provider as-is, and use it without having to set up your own servers. Simply run:

npm run build

and then upload the files in the dist folder to your hosting provider.

If you are running your own servers, you can modify the environment variable RETICULUM_SERVER when building to point Hubs to your own infrastructure.

See .env.defaults for the full set of environment variables that can modify Hubs' behavior at build time.

hubs.local Host Entry

When running the full stack for Hubs (which includes Reticulum) locally it is necessary to add a hosts entry pointing hubs.local to your local server's IP. This will allow the CSP checks to pass that are served up by Reticulum so you can test the whole app. Note that you must also laod hubs.local over https.

Query Params

  • allow_multi - Allow multiple instances off the app in the same browser session
  • allow_idle - Disable the idle detector timeout
  • idle_timeout - Idle timeout in seconds
  • avatar_scale - Scale your self!
  • quality - Either "low" or "high". Force assets to a certain quality level
  • mobile - Force mobile mode
  • no_stats - Disable performance stats
  • vr_entry_type - Either "2d", "vr", or "daydream". Used internally to force a VR entry type. Add "_now" to the end of the value to skip the audio check.
  • disable_telemetry - If true disables Sentry telemetry.
  • log_filter - A debug style filter for setting the logging level.
  • debug - If true performs verbose logging of Janus and NAF traffic. Also enables debug mode on the physics system.
  • vrstats - If true shows stats in VR.
  • debug_log - If true, enables an on-screen debug log and console. Useful for debugging on mobile devices.
  • userinput_debug - If true, enables an on-screen userinput debug status panel. Press "L" on your keyboard to show the panel.
  • thirdPerson - Enables experimental third person mode.

Additional Resources