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

hacker-lobby

v1.1.4

Published

Multiplayer terminal chat application

Readme

📟 Hacker Lobby

A secure, real-time, multiplayer terminal chat application that connects hackers globally. The application runs entirely within your terminal, utilizing a serverless Cloudflare Workers and D1 database backend on the edge to deliver real-time messaging without latency.


🌍 Global Access & Connecting Globally

Hacker Lobby is designed to connect people globally. When you run the application, it connects to a production server deployed on Cloudflare's serverless edge network. This allows you to chat in real-time with developers and terminal enthusiasts from all around the world.

  • Global API Backend URL: https://hacker-lobby-backend.spidozx.workers.dev

📥 Prerequisites: Downloading Node.js and npm

To run the Hacker Lobby client, you need Node.js installed on your system.

When you install Node.js, it automatically installs:

  1. npm (Node Package Manager): Used for installing and managing Node.js packages.
  2. npx (Node Package Runner): Used to execute Node.js CLI packages directly without manual global installation.

How to Download and Install

🪟 Windows

  • Direct Installer: Download the recommended LTS installer from the official Node.js website. Run the downloaded .msi file and follow the installer prompts.
  • Terminal (Winget): Open PowerShell or Command Prompt as administrator and run:
    winget install OpenJS.NodeJS

🍎 macOS

  • Direct Installer: Download the macOS installer (.pkg) from the official Node.js website and run it.
  • Homebrew: Open Terminal and run:
    brew install node

🐧 Linux (Ubuntu/Debian)

Open Terminal and run the following commands to install Node.js and npm:

sudo apt update
sudo apt install nodejs npm -y

Verifying Your Installation

Once the installation is complete, restart your terminal application (PowerShell, Command Prompt, or bash) and verify the setup:

  1. Verify Node.js:
    node -v
  2. Verify npm:
    npm -v
  3. Verify npx:
    npx -v

🚀 How to Access Hacker Lobby

You can connect to the global chat room instantly using npx. There is no need to clone the repository, download files, or configure local databases.

Simply open your terminal and run:

npx hacker-lobby

This command runs the client and automatically connects to the global production server.

Using a Custom Server URL (Optional)

If you wish to connect to a custom/different backend, you can specify the API_URL environment variable:

  • PowerShell (Windows):
    $env:API_URL="https://your-custom-backend.workers.dev"; npx hacker-lobby
  • Command Prompt (Windows):
    set API_URL=https://your-custom-backend.workers.dev && npx hacker-lobby
  • macOS / Linux / Git Bash:
    API_URL="https://your-custom-backend.workers.dev" npx hacker-lobby

💬 How to Use

Once inside the lobby, you can interact with the global room:

  1. Choose an Alias: Type your nickname and press Enter.
  2. Lock Your Alias (Optional): If you choose to lock your alias, you will be prompted to create a password. For security, characters are hidden as you type.
  3. Chatting: Type your message and press Enter to broadcast it.
  4. Commands:
    • Type /exit or /quit to close the application.

✨ Features

  • Real-Time Messaging: Built on Server-Sent Events (SSE) for zero-latency multiplayer updates.
  • Secure Alias Locking: Register your nickname with a password. Passwords are salted and hashed using SHA-256 for secure database verification.
  • Input Masking: Passwords and confirmation queries are hidden on the terminal screen during entry.
  • Anti-Spam Rate Limiting: Token-bucket rate limiting prevents message spamming.
  • Terminal XSS Protection: Filters ANSI escape sequences to prevent control character injection attacks.