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

linuxdo

v0.4.0

Published

Public Linux.do forum reader CLI and MCP server

Readme

linuxdo

npm version license

linuxdo is a JSON-first CLI and stdio MCP server for public Linux.do forum endpoints. Use it from a terminal, or expose the same public forum reading tools to AI clients with linuxdo mcp serve.

Features

  • Shared CLI and MCP tool catalog from one definition source
  • Public topic listing for latest, hot, top, and category views
  • Public topic reading through Discourse topic JSON pages
  • Public search command with the same JSON-first output contract
  • Automatic Cloudflare handling with TLS, Playwright, and real Chrome CDP transports
  • linuxdo doctor for runtime checks and optional public endpoint probing

Install

npm install -g linuxdo
# or
pnpm add -g linuxdo

Requires Node.js >=18. Playwright and Chrome are optional and are used only when Cloudflare blocks the primary transport.

Quick Start

linuxdo topics list --filter latest
linuxdo topics list --filter hot
linuxdo topics list --filter top --period weekly
linuxdo topics read --topic-id 2264744 --max-pages 2

Run a public endpoint probe:

linuxdo doctor --verify-public

MCP

Add linuxdo to your MCP client config:

{
  "mcpServers": {
    "linuxdo": {
      "command": "linuxdo",
      "args": ["mcp", "serve"],
      "type": "stdio"
    }
  }
}

CLI Overview

Tool-backed commands default to JSON output and return a non-zero exit code on failure. Use linuxdo <command> --help for command-specific options.

Public Commands

linuxdo topics list --filter latest
linuxdo topics list --filter category --category Development
linuxdo topics read --topic-id 2264744
linuxdo topics search --term "MCP in:title"

Static Commands

linuxdo doctor --verify-public
linuxdo mcp serve

Discovery and Generic Calls

linuxdo tools
linuxdo describe topics search
linuxdo call list_topics filter=latest page=1
  • linuxdo tools lists generated command metadata as JSON.
  • linuxdo describe ... shows one command or tool schema as JSON.
  • linuxdo call ... invokes a tool by MCP tool name with key=value, --json-args, or @payload.json.

MCP Tools

| MCP tool | CLI path | Purpose | | --- | --- | --- | | list_topics | linuxdo topics list | List public topics by filter | | read_topic | linuxdo topics read | Read public topic posts | | search_topics | linuxdo topics search | Search public forum content |

Runtime Notes

Linux.do is protected by Cloudflare. linuxdo handles public endpoint requests with a 3-stage transport chain:

  1. TLS transport with a Chrome-like fingerprint
  2. Playwright transport when enabled and CDP is disabled
  3. Real Chrome CDP transport when enabled

When CDP transport is required, a real Chrome window opens so you can complete the Cloudflare check. The verified browser profile is cached under ~/.cache/linuxdo/chrome-profile by default.

Selected Environment Variables

| Variable | Default | Purpose | | --- | --- | --- | | LINUXDO_PROXY_URL | unset | HTTP proxy for outbound requests | | LINUXDO_CDP_FALLBACK | true | Enable real Chrome CDP transport | | LINUXDO_CDP_PORT | 9222 | Chrome remote debugging port | | LINUXDO_CDP_CHROME_PATH | auto-detect | Override Chrome executable path | | LINUXDO_CDP_USER_DATA_DIR | ~/.cache/linuxdo/chrome-profile | Override the dedicated Chrome profile directory |

Development

pnpm install
pnpm typecheck
pnpm build
pnpm exec vitest run

References

License

MIT