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

create-vordr

v1.1.1

Published

Auto-deployment webhook setup

Readme

create-vordr

NPM installer for vordr webhook deployment server.

Install

npx create-vordr
cd vordr-server
./tools/start.sh

What You Get

vordr-server/
├── docker/               # Docker config
├── scripts/              # Your deployment logic
│   ├── init.sh          # Runs after git pull
│   ├── shutdown.sh      # Runs before git pull
│   ├── post-init.sh     # (optional) Post-deployment hook
│   └── run-tests.sh     # (optional) Quality gate
├── tools/
│   ├── start.sh         # Server management
│   └── generateNewSecret.sh
├── _project/            # Your repo clones here
├── logs/
├── server.js
└── .env

Configuration

Edit .env or use VORDR_* environment variables during install.

See envexample.vordr.md for all options.

Non-Interactive Install

[email protected]:user/repo.git \
VORDR_WEBHOOK_PORT=3000 \
VORDR_VPN_USER=vpn_user \
VORDR_VPN_PASS=vpn_pass \
npx create-vordr

Available vars:

  • VORDR_GIT_REPO (required for non-interactive)
  • VORDR_WEBHOOK_PORT (required for non-interactive)
  • VORDR_VPN_USER (required for non-interactive)
  • VORDR_VPN_PASS (required for non-interactive)
  • VORDR_GITHUB_BRANCH (default: master)
  • VORDR_VPN_PROVIDER (default: protonvpn)
  • VORDR_WEBHOOK_SECRET (auto-generated if not provided)
  • VORDR_APP_PATH (default: ../_project)
  • VORDR_SCRIPTS_PATH (default: ${APP_PATH}/scripts)

Setup Steps

  1. Install:

    npx create-vordr
    cd vordr-server
  2. Customize scripts:

    nano scripts/init.sh      # Add your deploy commands
    nano scripts/shutdown.sh  # Add your teardown
  3. Start server:

    ./tools/start.sh
  4. Configure GitHub webhook:

    • Go to repo settings → Webhooks → Add webhook
    • URL: http://your-server:PORT/webhook
    • Secret: (from .env)
    • Content type: application/json
    • Events: Push only
  5. Test:

    git push
    ./tools/start.sh logs  # Watch deployment

Deployment Scripts

init.sh Examples

Docker Compose:

#!/bin/bash
set -e
cd /app
docker compose up -d --build

Node.js:

#!/bin/bash
set -e
cd /app
npm install && npm run build
pm2 restart app

Static site:

#!/bin/bash
set -e
cd /app
rsync -av . /var/www/html/

shutdown.sh Examples

Docker Compose:

#!/bin/bash
set -e
cd /app
docker compose down

Node.js:

#!/bin/bash
set -e
pm2 stop app

Static site:

#!/bin/bash
# Usually empty

Commands

./tools/start.sh              # Start server
./tools/start.sh stop         # Stop server
./tools/start.sh restart      # Restart server
./tools/start.sh logs         # View logs
./tools/generateNewSecret.sh  # Rotate webhook secret

Troubleshooting

Webhook not triggering:

  • Check secret matches: grep WEBHOOK_SECRET .env
  • Test endpoint: curl http://your-server:PORT/health
  • Check GitHub webhook delivery logs

Git operations failing:

  • Verify SSH keys: docker exec -it vordr ssh -T [email protected]
  • Check VPN: docker logs gluetun

Self-Updating Variant

For managing vordr itself, see create-vordr-updater.

License

MIT