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

llka-deploy

v1.0.0

Published

One-command installer for the leih.lokal stack

Readme

██╗     ██╗     ██╗  ██╗ █████╗
██║     ██║     ██║ ██╔╝██╔══██╗
██║     ██║     █████╔╝ ███████║
██║     ██║     ██╔═██╗ ██╔══██║
███████╗███████╗██║  ██╗██║  ██║
╚══════╝╚══════╝╚═╝  ╚═╝╚═╝  ╚═╝

llka-deploy

One-command installer for leih.lokal — a management system for Libraries of Things (Leihladen).

npx llka-deploy

That's it. The interactive installer walks you through everything.

The LLKA Stack

| Component | What it does | Port | |-----------|-------------|------| | LLKA-B | PocketBase backend — API, database, auth, hooks | 8090 | | LLKA-V | Management UI — items, customers, rentals | 3000 | | LLKA-R | Public reservation portal (optional) | 3001 |

Everything is installed to ~/.leihlokal/.

What the Installer Does

  1. Component selection — choose which parts of the stack to install
  2. Configuration — name your library, set opening hours, configure your domain
  3. Prerequisites check — verifies git, curl, Node.js 20+
  4. LLKA-B — downloads the latest PocketBase binary for your platform
  5. LLKA-V / LLKA-R — clones, configures .env.local, and builds the Next.js apps
  6. Admin setup — creates your superuser, seeds settings, configures email templates
  7. Networking — optionally sets up Caddy (auto-HTTPS) or Cloudflare Tunnel
  8. Services — registers systemd (Linux) or launchd (macOS) services for auto-start
  9. CLAUDE.md — generates an agent-readable config file for AI-assisted maintenance

Requirements

  • Linux or macOS
  • Node.js 20+ (Bun auto-detected and preferred if available)
  • git and curl

Updating

npx llka-deploy@latest

The installer detects your existing installation and offers to update, reconfigure, start fresh, or uninstall.

Networking

When you provide a domain name, the installer offers three options:

  • Caddy (recommended) — downloads Caddy, generates a Caddyfile, handles HTTPS automatically
  • Cloudflare Tunnel — sets up a tunnel with cloudflared for Cloudflare-managed domains
  • Manual — prints the port map and example reverse proxy configs

Without a domain, everything runs on localhost.

Platform Support

| | Linux | macOS | |---|---|---| | Services | systemd (auto-start, auto-restart) | launchd (auto-start, auto-restart) | | Logs | journalctl --user -u leihbackend | ~/.leihlokal/logs/ | | Networking | Caddy, Cloudflare Tunnel, manual | Caddy, manual | | Production | Yes | Testing recommended |

Uninstalling

npx llka-deploy
# Select "Uninstall"

Stops all services, deregisters service files, and removes ~/.leihlokal/.

Development

git clone https://github.com/leih-lokal/llka-deploy
cd llka-deploy
npm install
npm run dev    # Run directly via tsx
npm run build  # Build for distribution

Tech stack: TypeScript, @clack/prompts (TUI), tsup (bundler), Node.js built-ins for everything else.

Related Repos

License

MIT