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

barechat-cli

v2.0.2

Published

Anonymous chat anywhere with commandline - CLI Package

Readme

BareChat CLI

Anonymous chat anywhere with commandline

|project |version | |--------|--------| | terminal (this) | NPM Version | | web | NPM Version |

Features

  • IRC like anonymous chat, fully p2p, no server required
  • Minimalist, single command to start
  • Can public a topic with hashcode, anyone with that hashcode can join the chat, even when the origin hoster left
  • With commandline UI, flexible to extend with other UI

Prerequisite

Need bare runtime installed through npm. Could install globally using:

npm i -g bare

Normal Usage with commandline

Could install with command npm i -g barechat or run directly with npx barechat.

To test this chat app, in one terminal run:

> npx barechat
[info] Created new chat room: a1b2c35fbeb452bc900c5a1c00306e52319a3159317312f54fe5a246d634f51a

In another terminal use the hashcode received from the first terminal's output:

> npx barechat a1b2c35fbeb452bc900c5a1c00306e52319a3159317312f54fe5a246d634f51a
[info] Joined chat room a1b2c35fbeb452bc900c5a1c00306e52319a3159317312f54fe5a246d634f51a

By anouncing the hashcode somewhere you can chat anonymously.

And its fully compatible to chat with barechat-web

Extra arguments

If you want to record the log of this chat, can add --store argument to save chat into a text file.

# Store logs in default file (./barechat.txt)
npx barechat --store

# Store logs in specific file
npx barechat --store /tmp/chatlog.txt

Development

This package is part of the BareChat monorepo. See the root README for development setup instructions.

Local Development

# From the packages/cli directory
npm run dev

# Or from the root directory
bun run cli:start

Generate Documentation

npm run doc

Using BareChat as a Package

To make varient chat experience, you can also import barechat/lib/chat-core in your project.

import { getBackend } from 'barechat/lib/chat-core'
const {
  swarm,
  getMemberId,
  createRoom,
  joinRoom,
  sendMessage
} = getBackend()

Read chat-core API in API doc

Reference

License

MIT