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

@bostonuniversity/buwp-local

v0.7.4

Published

Local WordPress development environment for Boston University projects

Readme

BU WordPress Local Development

This repository contains resources and instructions for setting up a local WordPress development environment for Boston University projects. It uses the BU WordPress container image and provides the additional resources needed to run it locally with Docker.

The package can be installed in a specific repo for development of that one package, or standalone for more general use, mapping local code into the container as needed.

Why buwp-local over VM sandboxes?

Traditional VM sandboxes require monthly rebuilds that wipe your development code. With buwp-local's Docker architecture, your code lives on your local filesystem while only WordPress core updates. This means:

  • Keep your work - No more monthly rebuild cycles that erase local changes
  • Update independently - Pull WordPress updates on your schedule, not a global calendar
  • Instant rollback - Switch between WordPress versions without losing work

Learn more: Migration from VM Sandboxes

Quickstart for plugin or theme development

  1. Install Docker: Make sure you have Docker Desktop installed and running on your machine.

  2. Login to GitHub Packages to access the BU WordPress Docker image (you will need a GitHub access token with read:packages scope):

    echo YOUR_GITHUB_TOKEN | docker login ghcr.io -u YOUR_GITHUB_USERNAME --password-stdin
  3. Install buwp-local CLI: Install the buwp-local CLI tool in your project directory:

    npm install @bostonuniversity/buwp-local --save-dev
  4. One time credential keychain setup: Install credentials in the macOS Keychain for secure storage (optional, macOS only right now):

    First, download a credentials JSON file through ssh from the dev server:

    scp user@devserver:/path/to/buwp-local-credentials.json ~/Downloads/

    Then run the setup command:

    npx buwp-local keychain setup --file ~/Downloads/buwp-local-credentials.json

    This will store all necessary credentials in your Keychain for future use, for this project and any other buwp-local projects (Keychain is global). (The global Keychain can also be overridden by .env.local files in each project.)

  5. Initialize your project: Run the interactive setup to create your .buwp-local.json configuration file:

    npx buwp-local init

    This will guide you through setting up your project name, hostname, port mappings, volume mappings, and service options.

    If you choose plugin, theme, or mu-plugin project type, the setup will automatically add volume mappings for your current directory into the appropriate WordPress location in the container.

    If you choose sandbox project type, you will need to manually add volume mappings to your .buwp-local.json file later, or you can run without any volume mappings.

  6. Setup local hostname: Add your project's local hostname (e.g. myproject.local) to your /etc/hosts file

  7. Start your local environment:

    npx buwp-local start

    This will read your configuration, load credentials from Keychain (or .env.local if present), and start the Docker containers for your WordPress project.

Your local WordPress site should now be accessible at the hostname you configured (e.g. http://myproject.local).

Basic Local setup

  1. Setup local user: Create a local WordPress user and add it to the super admin role:

    If running with Shibboleth enabled, you can set up a local WordPress user with super admin privileges:

    Create the user:

    npx buwp-local wp user create username [email protected] --role=administrator

    Promote to super admin:

    npx buwp-local wp super-admin add [email protected]
  2. Pull snapshot site content:

    You can pull a snapshot of the production or staging site database and media files into your local environment for testing and development.

    npx buwp-local wp site-manager snapshot-pull --source=https://www.bu.edu/admissions/ --destination=http://myproject.local/admissions

    This will download the latest snapshot from the specified source and import it into your local WordPress environment.

Documentation

Features

  • ✅ One-time credential setup with macOS Keychain
  • ✅ Isolated environments for multiple projects
  • ✅ Pre-configured BU infrastructure (Shibboleth, S3, Redis)
  • ✅ Smart initialization for plugins, themes, and mu-plugins
  • ✅ Volume mapping for live code sync
  • ✅ Xdebug support for step debugging