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

learnhouse

v1.4.8

Published

The official LearnHouse CLI — deploy, manage, and operate your LearnHouse instance

Downloads

1,189

Readme

LearnHouse CLI

The official LearnHouse CLI — deploy, manage, and operate your LearnHouse instance.

Website | Documentation | GitHub

Quick Start

One-line install

macOS / Linux:

curl -fsSL https://raw.githubusercontent.com/learnhouse/learnhouse/main/apps/cli/install.sh | bash

Windows (PowerShell):

irm https://raw.githubusercontent.com/learnhouse/learnhouse/main/apps/cli/install.ps1 | iex

Using npx

npx learnhouse@latest setup

Install a specific version

npx [email protected] setup

Requirements

  • Node.js >= 18
  • Docker

Commands

| Command | Description | |---------|-------------| | learnhouse setup | Interactive setup wizard | | learnhouse start | Start all services | | learnhouse stop | Stop all services | | learnhouse update | Update to the latest version | | learnhouse update --version <x.y.z> | Update to a specific version | | learnhouse logs | Stream service logs | | learnhouse config | Show current configuration | | learnhouse status | Show service status | | learnhouse health | Run health checks | | learnhouse backup | Backup database | | learnhouse restore <archive> | Restore database from a backup | | learnhouse deployments | View deployments and set resource limits | | learnhouse doctor | Diagnose common issues | | learnhouse shell | Open a shell in a running container | | learnhouse env | Edit environment variables | | learnhouse dev | Start local development environment |

Setup

The setup wizard walks through:

  1. Install directory — where files are generated
  2. Domain — hostname, port, HTTPS/SSL
  3. Database & Redis — local (Docker) or external
  4. Organization — name for your instance
  5. Admin account — email and password
  6. Features — AI, email, S3, OAuth, Unsplash

You can go back to any step, and edit from the summary before confirming.

Updating

# Back up first
npx learnhouse backup

# Update to latest
npx learnhouse update

# Or a specific version
npx learnhouse update --version 1.2.0

The update command pulls the new image, restarts services, and asks if you want to run database migrations. Check docs.learnhouse.app for migration guides before proceeding.

Generated Files

learnhouse/
  docker-compose.yml       # Service definitions
  .env                     # Configuration
  learnhouse.config.json   # CLI metadata
  extra/
    nginx.prod.conf        # Reverse proxy (or Caddyfile for auto-SSL)

CI / Non-interactive Mode

All commands support non-interactive usage for CI pipelines:

# Setup without prompts
npx learnhouse setup --ci \
  --name production \
  --domain example.com \
  --port 80 \
  --admin-email [email protected] \
  --admin-password secretpass123

# Update with auto-migration
npx learnhouse update --version 1.2.0 --migrate

# Update without migrations
npx learnhouse update --no-migrate

# Setup without starting services
npx learnhouse setup --ci --admin-password pass123 --no-start

Testing

# Unit tests (no Docker required)
bun run test

# E2E tests (requires Docker)
bun run test:e2e

# All tests
bun run test:all

Unit tests cover template generation (docker-compose, .env, nginx, caddyfile) and config store operations.

E2E tests run the full lifecycle with real Docker containers: setup → start → status → health → doctor → stop → restart. They use --ci mode to run without prompts.

Not yet tested:

  • Interactive commands (backup create/restore, env editor, shell, deployments scaling)
  • update with actual version swap between two published images
  • update --migrate with pending Alembic migrations
  • logs (streams indefinitely)
  • dev mode (requires full monorepo source)
  • Multi-installation discovery (findInstallDir with multiple ~/.learnhouse/* entries)
  • Error recovery (Docker daemon down, port conflicts, corrupted config)

License

GPL-3.0