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

nolmi

v0.1.0

Published

Self-hosted Nolmi AI-Twins — One-Command-Installer (npm i -g nolmi → nolmi onboard)

Readme

nolmi (CLI)

One-Command-Installer für selbst-gehostete Nolmi-AI-Twins.

npm i -g nolmi
nolmi onboard

Status: Phase 1 (Gerüst + Kern). Noch nicht auf npm publiziert — das ist ein eigener späterer Schritt nach VM-End-to-End-Verifikation.

Was nolmi onboard tut

Ein Node-Port der bewiesenen install/install.sh (7 Schritte, Frische-Test Block 27 bestanden), mit drei bewussten Abweichungen:

  1. Öffentliches Repo klonen statt git-archive — kein PAT nötig (Repo ist public).
  2. node:crypto statt openssl für die Secrets — kein openssl-Zwang.
  3. TTY-Passthrough (stdio: 'inherit') für die interaktive Onboard-Übergabe.

Ablauf: Vorbedingungen (git, Docker, Compose v2, Daemon) → Repo bereitstellen (in-repo / pull --ff-only / clone --depth 1) → Browser-Adresse auflösen (s.u.) → Secrets + docker/nolmi/.env (idempotent: vorhandene .env wird nie überschrieben) → docker compose -f docker-compose.single-host.yml up --build -d → warten bis Runtime lauscht → docker compose exec -it nolmi-runtime node dist/scripts/onboard.js → URLs.

Browser-Adresse (NEXT_PUBLIC_RUNTIME_URL)

Die Adresse, unter der dein Browser den Server erreicht, wird build-time ins Web-Bundle gebacken. Auf einem VPS (Browser vom Laptop) muss sie die Server-IP/Domain sein — localhost zeigt sonst auf den Laptop und der Login bricht mit „Failed to fetch".

Auflösung beim onboard:

  • --host <adresse> / NOLMI_HOST gesetzt → wird genommen, kein Prompt.
  • sonst, im Terminal (TTY) → die erkannte IP wird vorgeschlagen (os.networkInterfaces(), kein externer Dienst), Enter bestätigt, Eingabe überschreibt (IP/Domain).
  • sonst (kein TTY) → erkannte IP wird genommen + laut geloggt (Fallback localhost, ebenfalls geloggt).
  • https://… wird abgelehnt mit Hinweis: HTTPS/Domain ist der TLS-Pfad (Schritt 3b, Traefik + Secure-Cookie) — Phase 1 macht nur http+IP.

Adresse nachträglich ändern: nolmi reconfigure-host

Repariert den Fall „onboard hat localhost gebacken, Zugriff ist remote". Löst die Adresse neu auf (gleicher Prompt/Detect) und ersetzt ausschließlich die NEXT_PUBLIC_RUNTIME_URL-Zeile in der bestehenden .env, dann docker compose up -d --build (rebaut nur das web-Image mit neuem Build-Arg).

🔒 Datenverlust-Schutz: reconfigure-host fasst niemals NOLMI_ENCRYPTION_KEY, Session-Secret oder Bridge-Token an. Die Ersetzung läuft zeilenweise — nur NEXT_PUBLIC_RUNTIME_URL-Zeilen werden geändert, jede andere Zeile (inkl. der Secrets) wird verbatim durchgereicht. Gleicher Host = no-op (kein Schreiben, kein Rebuild).

SESSION_COOKIE_SECURE=false bleibt für den http+IP-Fall korrekt (host-only Cookie ohne Secure-Flag über http) — erst der TLS/Domain-Pfad (3b) braucht true.

⚠ DRY-Kopplung an install.sh

install.sh (bash) und dieser Wrapper (TS) sind zwei Türen zum selben Single-Host-Stack. Die .env-Vorlage in src/lib/env-template.ts ist byte-identisch zu install.sh Schritt 4. Ändert sich eine Seite (neue Single-Host-Variable, anderer Default, anderer Compose-Pfad), muss die andere mitgezogen werden — sonst driften die Onboarding-Wege.

Ein gemeinsamer Extract (ein von bash und Node gelesenes .env-Template-File) ist als Folge-Item vorgeschlagen, in Phase 1 aber bewusst nicht gebaut.

Auch die Host-Auflösung ist beidseitig gespiegelt: install.sh hat detect_ip() + resolve_host() (gleicher Default-Vorschlag, TTY-Prompt, http+IP). bash↔TS können keinen Code teilen — geteilt bleibt die Formel http://<host>:4000 (byte-identisch), parallel sind nur Detection + Prompt.

Noch nicht in dieser Phase

  • npm publish — eigener Schritt nach Verifikation.
  • --no-docker (Phase A, Single-Process) — Flag ist reserviert (Groove gelegt), meldet aktuell „noch nicht implementiert".
  • B1-Image-Pull — entfällt als primärer Weg (B1-Clone ist der Pfad).

Build

pnpm --filter ./packages/cli build      # tsc → dist/
node packages/cli/dist/cli.js --help