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

@rizom/brain

v0.2.0-alpha.19

Published

Brain runtime + CLI — scaffold, run, and manage AI brain instances

Downloads

3,915

Readme

@rizom/brain

AI brain runtime + CLI. Scaffold, run, and manage personal AI brain instances.

Quick Start

# Install globally
bun add -g @rizom/brain

# Create a new brain instance
brain init mybrain
cd mybrain

# Add your API key
echo "AI_API_KEY=your-key-here" > .env

# Start the brain
brain start

If you plan to deploy behind Kamal with Cloudflare Origin CA TLS, scaffold with brain init mybrain --deploy, then run brain secrets:push --push-to 1password for the env-backed secrets (or --dry-run to preview them with required-vs-optional grouping) and brain cert:bootstrap --push-to 1password for the TLS cert before deploying. When working locally with 1Password, export OP_SERVICE_ACCOUNT_TOKEN; the GitHub Actions secret name stays OP_TOKEN.

brain init generates a 1Password-backed varlock schema by default. Pass --backend if you need a different secret backend plugin.

Requirements

  • Bun 1.3.3 or later

What is a Brain?

A brain is a personal AI agent with persistent memory, tools, and integrations. It manages your content (blog posts, notes, projects), publishes to your website, and exposes an MCP interface for AI-native workflows.

Commands

| Command | Description | | ----------------------- | ------------------------------------------ | | brain init <dir> | Scaffold a new brain instance | | brain cert:bootstrap | Issue a Cloudflare Origin CA certificate | | brain secrets:push | Push local env-backed secrets to a backend | | brain start | Start the brain server | | brain chat | Start in interactive chat mode | | brain list <type> | List entities (posts, notes, etc.) | | brain get <type> <id> | Get a specific entity | | brain search <query> | Search across all content | | brain sync | Sync content from connected sources | | brain build | Build the static site | | brain status | Show brain status | | brain eval | Run evaluation suite | | brain pin | Pin @rizom/brain version (local install) |

Remote Mode

Operate against a running brain instance:

brain list posts --remote mybrain.example.com
brain search "typescript" --remote mybrain.example.com --token $TOKEN

Configuration

brain.yaml

brain: rover
model: gpt-4o-mini
preset: default

The brain field selects the brain model. The model field sets the AI model — the provider is auto-detected from the model name:

| Model prefix | Provider | | ----------------------- | --------- | | gpt-*, o1-*, o3-* | OpenAI | | claude-* | Anthropic | | gemini-* | Google | | llama-*, mistral-* | Ollama |

Explicit provider override: model: openai:gpt-4o-mini

Environment Variables

| Variable | Required | Description | | ---------------- | -------- | --------------------------------------- | | AI_API_KEY | Yes | API key for your AI provider | | AI_IMAGE_KEY | No | Separate key for image generation | | GIT_SYNC_TOKEN | No | GitHub PAT for content sync | | MCP_AUTH_TOKEN | No | Token for MCP HTTP authentication | | CF_API_TOKEN | Yes* | Cloudflare API token for cert bootstrap | | CF_ZONE_ID | Yes* | Cloudflare zone ID for cert bootstrap |

  • Only required when running brain cert:bootstrap.

Brain Models

v0.1.0 ships with rover — a personal knowledge management brain for independent professionals. It manages blog posts, presentations, portfolio projects, social media, newsletters, and a professional website.

Documentation

License

Apache-2.0