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

@lindale/porch

v0.2.5

Published

Manage shared VPS edge deployments with Docker, Caddy, and provider-backed DNS.

Readme

Porch

Porch manages multiple public services on a shared VPS. It gives humans a readable CLI and gives agents stable JSON output for host bootstrap, DNS mapping, Caddy routing, Docker deployment, and service status.

The first provider implementation is DigitalOcean DNS. Droplets and domain ownership stay human-created; Porch automates the host and records inside zones you already control.

Install

npx @lindale/porch --help

Host Setup

Run this on the VPS after SSH access is configured:

npx @lindale/porch host init \
  --acme-email [email protected] \
  --host-ip 203.0.113.10 \
  --default-domain example.com \
  --provider digitalocean

Porch stores host config in /etc/porch, generated edge files in /opt/porch, creates the porch Docker network, and runs Caddy as the edge container. Caddy owns Let's Encrypt certificates.

Use --dry-run to inspect planned changes and --json for agent-friendly output.

Reboot Persistence

Porch relies on Docker's normal boot behavior instead of installing a separate startup script. host init enables and starts the Docker systemd service when systemctl is available, then starts the Porch edge stack.

Generated edge and app compose files use:

restart: unless-stopped

After a VPS reboot, Docker restarts the existing Caddy edge container and app containers automatically as long as the containers existed before reboot and were not manually stopped. The shared porch Docker network persists across reboot, and Caddy certificate/config state is stored in Docker volumes.

Check reboot readiness with:

npx @lindale/porch host doctor --json

host doctor reports whether Docker is installed, whether Docker Compose is available, and whether the Docker service is active and enabled at boot on systemd hosts.

Register A Service

From the VPS, or from CI over SSH:

npx @lindale/porch service register \
  --service-id my-app \
  --domain my-app.example.com \
  --container my-app-web \
  --port 3000 \
  --image ghcr.io/acme/my-app:latest \
  --deploy-path /opt/my-app \
  --json

If DigitalOcean is configured, Porch upserts DNS records. If --image and --deploy-path are provided, Porch writes the app compose file, pulls the image, starts the app container on the porch network, renders Caddy, reloads Caddy, and reports the result.

Scaffold An App Repo

npx @lindale/porch scaffold app \
  --kind astro-node \
  --service-id my-app \
  --domain my-app.example.com \
  --port 4321

This creates a Dockerfile, docker-compose.yml, GitHub deploy workflow, and PORCH.md agent instructions. Supported v1 archetypes are static-astro, astro-node, and node.

GitHub Action

This repo also exposes a thin composite action. It delegates host mutation to the same CLI humans and agents use:

- uses: lindale-labs/[email protected]
  with:
    host: ${{ secrets.PORCH_HOST }}
    user: ${{ secrets.PORCH_USER }}
    ssh-key: ${{ secrets.PORCH_SSH_KEY }}
    service-id: my-app
    domain: my-app.example.com
    container: my-app-web
    port: "3000"
    image: ghcr.io/${{ github.repository }}:${{ github.sha }}
    deploy-path: /opt/my-app