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

fwdcast

v1.2.14

Published

Temporary file sharing - stream local files as a public website without uploading

Readme

fwdcast

Temporary file sharing - Stream local files as a public website without uploading anything.

Features

  • Instant sharing - Get a public URL in seconds
  • No upload - Files stream directly from your machine
  • VS Code-style UI - Beautiful dark theme file browser
  • File preview - View text, code, and images in-browser
  • ZIP download - Download entire directories with one click
  • Password protection - Secure your share with a password
  • QR code - Easy mobile sharing with terminal QR code (shown by default)
  • Live stats - View count and bandwidth in real-time
  • Custom duration - Sessions from 1-120 minutes
  • Exclude files - Skip .git, node_modules, etc.

Installation

Using npx (no install required)

npx fwdcast

Global install

npm install -g fwdcast
fwdcast

Usage

Basic - Share current directory

fwdcast

Share a specific folder

fwdcast /path/to/folder

Password protect your share

fwdcast -p mysecretpassword

Hide QR code (shown by default)

fwdcast --no-qr

Custom session duration (60 minutes)

fwdcast -d 60

Exclude additional files/folders

fwdcast -e .git node_modules dist

Use a custom relay server

fwdcast --relay wss://your-relay.com/ws

Combine options

fwdcast ~/Documents -p secret123 -d 60 -q

CLI Options

| Option | Description | Default | |--------|-------------|---------| | -p, --password <pass> | Require password to access | None | | -d, --duration <mins> | Session duration (1-120) | 30 | | -q, --qr | Show QR code in terminal | true | | --no-qr | Hide QR code | false | | -e, --exclude <patterns> | Exclude files/folders | See below | | -r, --relay <url> | Custom relay server | Public relay |

Default Excludes

These are always excluded: .git, node_modules, .DS_Store, __pycache__, .env

How It Works

  1. You run fwdcast - CLI scans your directory and connects to relay
  2. Get a URL - Relay assigns a unique session URL
  3. Share the URL - Anyone with the link can browse your files
  4. Files stream on-demand - When someone requests a file, it streams from your machine
  5. Session ends - When you stop the CLI or session expires, files become inaccessible

Live Stats

While sharing, fwdcast shows real-time statistics:

[2 viewers] Total: 15.3 MB | Requests: 42 | 1.2 MB/s

Limits

  • Maximum total size: 100 MB
  • Maximum file size: 50 MB per file
  • Session duration: 1-120 minutes (default: 30)
  • Maximum concurrent viewers: 3

Security Considerations

  • Password protection - Add -p flag to require authentication
  • Passwords hashed - Passwords are hashed with bcrypt, never stored in plain text
  • Rate limiting - 5 failed password attempts triggers a 30-second lockout
  • Temporary by design - Sessions auto-expire, reducing exposure window
  • No persistence - Nothing is stored on the relay server
  • Path traversal protection - CLI validates all file paths
  • Default excludes - Sensitive files like .env are excluded by default
  • Secure cookies - HttpOnly, Secure, SameSite flags enabled
  • Minimal logging - No session IDs, URLs, or passwords in server logs

Warning: Without a password, anyone with your session URL can access your shared files.

Self-Hosting

You can run your own relay server. See the relay documentation for setup instructions.

License

MIT