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

tunnelup

v1.0.0

Published

Universal dev server + Cloudflare tunnel launcher

Readme

tunnelup

Universal dev server + Cloudflare tunnel launcher

Node.js

FeaturesInstallationQuick StartUsageConfigurationSupported Frameworks

tunnelup automatically detects your project type, starts your development server, and creates a Cloudflare tunnel to expose it to the internet. Perfect for sharing local development builds with teammates or testing webhooks.

Features

  • Auto-detection - Automatically detects Next.js, Vite, Expo, Remix, Python/FastAPI, Django, Go, Docker Compose, Rust, and more
  • Cloudflare Tunnels - Instantly create public URLs to share your local development server
  • Multi-service Support - Run multiple services simultaneously, each with its own tunnel
  • Zero Config - Works out of the box with smart defaults; optional configuration file for full control
  • Port Detection - Automatically detects the port your dev server is running on

Installation

npm install -g tunnelup

You also need to install cloudflared:

# macOS
brew install cloudflared

# Linux (Arch)
yay -S cloudflared

# Other platforms
# See https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/installation/

Quick Start

# Just run in your project directory
tunnelup

# Or initialize a config file first
tunnelup init

Usage

# Start dev server with tunnel (auto-detect project type)
tunnelup

# Override port
tunnelup -p 8080

# Override dev command
tunnelup -c "npm run dev"

# Initialize configuration file
tunnelup init

Configuration

Create a tunnelup.config.json in your project root:

{
  "services": [
    {
      "name": "web",
      "port": 3000,
      "cmd": "npm run dev",
      "cwd": "."
    },
    {
      "name": "api",
      "port": 4000,
      "cmd": "uv run uvicorn main:app --reload",
      "cwd": "./api"
    }
  ]
}

Configuration Options

| Option | Type | Description | |--------|------|-------------| | services | array | Array of services to start | | services[].name | string | Service name for display | | services[].port | number | Expected port number | | services[].cmd | string | Dev command to run | | services[].cwd | string | Working directory (default: .) |

Supported Frameworks

tunnelup automatically detects and configures these frameworks:

| Framework | Detected By | Default Command | |-----------|-------------|-----------------| | Next.js | package.json + next dependency | npm run dev | | Vite | vite.config.js/ts | npm run dev | | Expo | expo dependency | npm run dev | | Remix | remix dependency | npm run dev | | Node.js | package.json + dev script | npm run dev | | Python FastAPI | pyproject.toml + fastapi | uv run uvicorn main:app --reload | | Django | manage.py | python manage.py runserver | | Go | go.mod | go run . | | Docker Compose | docker-compose.yml | docker compose up | | Rust | Cargo.toml | cargo run | | Maven (Spring Boot) | pom.xml | mvn spring-boot:run | | Gradle (Spring Boot) | build.gradle | ./gradlew bootRun |

How It Works

  1. Detection - Scans your project for configuration files to identify the framework
  2. Port Discovery - Monitors network ports to find the one your dev server opens
  3. Server Start - Runs your dev command and waits for the server to be ready
  4. Tunnel Creation - Launches Cloudflare tunnel to expose your local server
  5. URL Display - Shows the public URL where your app is accessible

Requirements

  • Node.js 18+
  • cloudflared (installed and authenticated with cloudflared tunnel login)

[!NOTE] If you're not authenticated with Cloudflare, run cloudflared tunnel login before using tunnelup.