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

tabsync-cli

v1.1.1

Published

Sync browser tabs instantly between desktop and mobile over local Wi-Fi - no cloud needed.

Readme

Quick Note

Download extension and alternative of CLI (Windows,Linux)

Sources extension and tabsync-desktop


Quick Start

# Install globally (recommended)
npm install -g tabsync-cli

# Start the local server
tabsync

Once started, the CLI will:

  • Detect your local IP address
  • Launch a lightweight Express + WebSocket server
  • Show a QR code - scan it on your mobile to open the TabSync page

What It Does

  • The server (server.js) keeps track of all connected devices and their open tabs.
  • Each device (desktop or mobile) connects via WebSocket and automatically syncs tab URLs.
  • When a device goes offline for more than 5 minutes, it’s cleaned up automatically and disappears from the screen (may require refresh).
  • You can also add URLs manually using the input box on the web page.

CLI Options

Usage: tabsync [options]

Options:
  --port <num>         Use a specific port instead of a random one
  --no-qr              Skip showing QR code
  --env <path>         Load environment variables from a custom file
  --version, --v       Show the current version
  --help               Show this help message

Examples:
  tabsync
  tabsync --port 3210
  tabsync --env .env
  tabsync --no-qr --port 8080

Web Interface

Open your browser at:

http://<your-local-ip>:port

You’ll see:

  • A list of devices connected to your TabSync session
  • Their open tabs as clickable links
  • A field to add new URLs to sync instantly

The UI updates in real time whenever devices connect, disconnect (may require refresh), or share new tabs.


How It Works

  • server.js -> Express + WebSocket server handling connections and sync
  • index.html -> Frontend UI that receives live updates and renders devices/tabs
  • CLI script -> Spawns the server, detects IP, and shows QR code for easy connection

Auto Cleanup

Inactive devices (no activity for 5 minutes) are automatically removed, and all clients update instantly (may require refresh).

Stop the Server

Press Ctrl + C in the terminal to shut it down gracefully.


Changelog

What's fixed in v1.1.1:

  • Use absolute static directory
  • Detect HTML with no title (more rigid)
  • Only treat HTTP failures as “Error”
  • Above, fixed the port issue, now ports reflect immediately

For all the important changelog vist Changelog

Contributing

Contributions are always welcome!

See Contributing for ways to get started.

Please adhere to this project's Code Of Conduct.

Support

Support the developers for this project to live long.For issues, open a new issue or use discussion.

License

This project is licensed under the MIT License