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

@sifxprime/kshare

v1.0.3

Published

Turn any localhost port into a public HTTPS link — KShare by KODELYTH

Readme

KShare

by KODELYTH

Turn any localhost port into a public HTTPS link — in one command.
No config, no cloud account, no port forwarding. Just run it.

npm License Node Self-hostable


Install

# Install globally
npm install -g @sifxprime/kshare

# Or run without installing
npx @sifxprime/kshare --port 3000

The binary is always called kshare. After a global install, run kshare --port 3000.

Works on macOS, Linux, and Windows. Node 18+ required.


Quick start

kshare --port 3000

Anyone on the internet can now open your app at that HTTPS link.


How it works

KShare opens one outbound WebSocket to the tunnel server. No inbound ports, no firewall rules, no cloud account. When someone hits your public URL, the request travels back through that WebSocket to your local server.


Usage

# Share any port
kshare --port 3000
kshare --port 5173
kshare --port 8080

# Short form — no flag needed
kshare 3000

# Password-protect the link
kshare --port 3000 --password mysecret

# Show QR code in terminal (great for mobile testing)
kshare --port 3000 --qr

# Point at your own self-hosted server
kshare --port 3000 --server wss://api.yourdomain.com

# View active tunnels on this machine
kshare status

# Stop tunnels
kshare stop

Local dashboard

While a tunnel is running, open http://localhost:4040 to see:

  • Live request log with method, path, and timestamp
  • Public URL, local port, and request count
  • Expiry countdown with visual progress bar
  • No browser extension required

Environment variables

| Variable | Default | Description | |---|---|---| | KSHARE_SERVER | wss://api.kodelyth.net | WebSocket server URL (overridden by --server flag) | | KSHARE_PASSWORD | — | Default password (overridden by --password flag) |


Works with everything

| Framework | Command | |-----------|---------| | React / CRA | kshare 3000 | | Vite / Vue | kshare 5173 | | Next.js | kshare 3000 | | Express / Node | kshare 3000 | | Django | kshare 8000 | | Flask | kshare 5000 | | Laravel | kshare 8000 | | Rails | kshare 3000 | | FastAPI | kshare 8000 | | Spring Boot | kshare 8080 |


Self-host

KShare works two ways:

Managed — connect to KODELYTH's server, zero setup:

kshare --port 3000
# → https://ab12x.kodelyth.net

Self-hosted — deploy on your own VPS, your domain:

git clone https://github.com/sifxprime/kshare.git
cd kshare/packages/server
cp .env.example .env   # set BASE_DOMAIN and REDIS_URL
pnpm install && pnpm start

# Then point the CLI at your server:
kshare --port 3000 --server wss://api.yourdomain.com
# → https://ab12x.yourdomain.com

Self-hosted instances must display KODELYTH branding — the logo and "KShare by KODELYTH" appear on the homepage and error pages by default and should not be removed.

Full setup guide: docs/vps-setup.md
DNS and SSL guide: docs/dns-setup.md


Security

  • One outbound WebSocket — no inbound ports opened
  • No code injected into your app
  • URL rewriting on raw text only — no DOM manipulation
  • Tunnels auto-expire after 24 hours
  • Password protection available
  • Self-host for full traffic control

SECURITY.md — vulnerability disclosure policy.


Links


MIT — KODELYTH