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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@sktripamer/unifypass

v0.1.0

Published

Get Multipass instances with local domains on macOS in one command

Readme

UnifyPass

Get Multipass instances with local domains on macOS. One command to get up and running:

npm install -g unifypass
sudo unifypass start

Now try accessing your instance with http://my-multipass-instance.multipass

By default, ports 80 and 443 are used. Need a specific port? Try this:

sudo unifypass start --ports 8010,8011 # Comma-separated

Now you can access http://my-multipass-instance.multipass:8010

NOTE: Heavy WIP, but the basic start/stop/configs should be working.

Features

  • Automatic Resolution: Easy way to permanently access Multipass instances via instancename.multipass
  • HTTP/HTTPS Support: Automatic protocol detection and SSL passthrough
  • WebSocket Support: Full WebSocket proxy support
  • Process Management: Run as a daemon with PM2

Installation

npm install -g unifypass

Quick Start

  1. Start UnifyPass:
sudo unifypass start
  1. Access your instances:
http://myinstance.multipass   # HTTP
https://myinstance.multipass  # HTTPS (if your instance uses SSL)

Configuration

Create unify.config.js in your home directory:

module.exports = {
  mac: {
    // DNS settings
    dnsPort: 5355,
    domain: 'multipass', // Setting to local can cause issues
    
    // Proxy settings
    timeout: 5000,  // Global timeout in ms
    
    // Instance configurations
    instances: {
      'instancename': {
        port: 3000,      // Custom port (default: 80 for HTTP, 443 for HTTPS)
        timeout: 10000   // Instance-specific timeout
      }
    }
  }
};

SSL Support

SSL works automatically:

  • HTTP traffic is proxied normally
  • HTTPS traffic is passed through to your instance
  • No configuration needed in UnifyPass

To use SSL:

  1. Configure SSL in your instance/application
  2. Access via https://instancename.multipass

Commands

# Start UnifyPass
unifypass start

# Start as daemon
unifypass start --daemon

# Stop UnifyPass
unifypass stop

# View logs
unifypass logs

# View status
unifypass status

# Configure instance
unifypass instance myapp --port 3000

Troubleshooting

Common Issues

  1. Connection Refused

    • Check if your instance is running
    • Verify the port configuration
    • Ensure your app is listening on all interfaces (0.0.0.0)
  2. DNS Resolution

    • Run sudo unifypass setup to configure DNS resolver
    • Check /etc/resolver/local exists
    • Flush DNS cache: sudo killall -HUP mDNSResponder
  3. SSL Issues

    • Ensure your instance has SSL properly configured
    • Check your SSL certificates are valid
    • Verify your app is listening on HTTPS

Need help? Open an issue