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

botroom

v0.0.1

Published

Command-line entrypoint for starting a [qxbot](https://www.npmjs.com/package/qxbot) room server. Installs with the package and exposes the `botroom` binary.

Readme

botroom (CLI)

Command-line entrypoint for starting a qxbot room server. Installs with the package and exposes the botroom binary.

Install

  • Local dev: from this repo root, cd server && npm install. Run via npx botroom ....
  • As a package: npm install -g botroom (after publishing) or npx botroom --help.

Usage

Start a server and print a preconfigured client URL:

npx botroom --name "My Room" --api-key "$OPENAI_API_KEY"

Key flags:

  • --mqtt-host <url>: MQTT endpoint (default wss://mqtt.gafo.tech:8084/mqtt).
  • --mqtt-options <json>: JSON passed to mqtt.connect.
  • --name <string>: Label included in the generated client config.
  • --system/--model/--temperature/--max-tokens/--max-tool-calls: LLM tuning.
  • --api-key <key> / --base-url <url>: Override OpenAI credentials/endpoint.
  • --tool/--tools <key|path>: Tool sets to enable (defaults to none). Accepts built-in keys (BOT_TOOLS, OLLAMA_TOOLS, FS_TOOLS) or paths to modules exporting tools.

Defaults: no tools enabled unless you pass --tool/--tools.

Custom tool modules

Pass file paths to load your own tools:

npx botroom --tool ./my-tools.js
npx botroom --tool BOT_TOOLS --tool ./extra-tools.js

Each module should export either a tool object or an array of tools in the OpenAI function-calling shape:

// my-tools.js
module.exports = [{
  definition: {
    type: 'function',
    function: {
      name: 'hello',
      description: 'Say hello to someone.',
      parameters: {
        type: 'object',
        properties: {
          name: { type: 'string', description: 'Who to greet.' },
        },
        required: ['name'],
        additionalProperties: false,
      },
    },
  },
  handler: async ({ name }) => ({ message: `Hello, ${name}!` }),
}];

Environment variables

No .env is auto-loaded; set env vars directly:

  • MQTT_HOST (default wss://mqtt.gafo.tech:8084/mqtt)
  • HEARTBEAT_MS (default 5000)
  • CLIENT_URL (default http://localhost:5173)
  • OPENAI_API_KEY (required unless using a different provider)
  • Optional: OPENAI_MODEL, OPENAI_SYSTEM_PROMPT, OPENAI_TEMPERATURE, OPENAI_BASE_URL, MAX_HISTORY

Output

On start, the server prints a base64url ?config= link containing client/server credentials and MQTT settings. Open it in the React client (or any qxbot client) to connect to the session.