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

openbrowser-ai

v0.1.1

Published

Managed authenticated browser for AI agents. Persistent Chrome sessions with CDP access, session health monitoring, and cross-platform service management.

Readme

OpenBrowser

Managed authenticated browser for AI agents. Persistent Chrome sessions with CDP access, session health monitoring, and cross-platform service management.

Supports macOS and Linux. Windows is not supported.

Quick Start

# Install and configure
npx openbrowser setup

# Log into websites (opens Chrome GUI on macOS, VNC on Linux)
npx openbrowser login

# Check status
npx openbrowser status

# Full diagnostics
npx openbrowser doctor

Commands

openbrowser setup

Installs a Chrome service (systemd on Linux, launchd on macOS), creates the profile directory, saves default config, and outputs MCP configuration.

openbrowser login

Opens Chrome with the managed profile for manual login.

  • macOS: Opens a Chrome window directly. Log into your accounts, then close the window.
  • Linux (headless): Starts Xvfb + Chrome + VNC. Connect via SSH tunnel and VNC client.

openbrowser status

Shows Chrome status and session health for Google, GitHub, and LinkedIn. Sessions are verified via CDP cookies (decrypted, live values).

openbrowser doctor

Runs diagnostics: Chrome binary, profile directory, CDP connection, session health, stale locks, config file. Each failure includes a fix suggestion.

Output Format

All commands support --format json|text. Default: text when interactive (TTY), JSON when piped.

JSON output uses a typed envelope:

{
  "command": "status",
  "version": "0.1.0",
  "timestamp": "2026-03-03T00:00:00.000Z",
  "success": true,
  "data": { ... },
  "summary": "Chrome running, 3 active sessions"
}

MCP Integration

After openbrowser setup, add to your claude_desktop_config.json:

{
  "mcpServers": {
    "browser": {
      "command": "npx",
      "args": ["@playwright/mcp@latest", "--cdp-endpoint=http://localhost:9222"]
    }
  }
}

Programmatic Usage

import { OpenBrowser } from 'openbrowser';

const ob = new OpenBrowser();
const status = await ob.getStatus();
console.log(status.sessions);

// Direct CDP connection
const browser = await ob.connect();
const page = await browser.contexts()[0].newPage();
// ... use authenticated browser
await browser.close(); // disconnects only, Chrome stays running

Configuration

Config file: ~/.openbrowser/config.json

{
  "cdpPort": 9222,
  "profileDir": "~/.openbrowser/chrome-profile",
  "timezone": "Europe/Berlin",
  "vncPassword": "temp1234",
  "vncPort": 5900,
  "xvfbDisplay": ":98"
}

License

MIT