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

lumifyhub-cli

v0.2.4

Published

CLI tool for LumifyHub - sync and manage your pages locally as markdown files

Readme

LumifyHub CLI

Sync your LumifyHub pages locally as markdown files. Search, edit with your favorite editor, and push changes back to the cloud.

Installation

npm install -g lumifyhub-cli

Quick Start

lh login    # Authenticate with your account
lh pull     # Download your pages as markdown
# Edit files in ~/.lumifyhub/pages/
lh push     # Push changes back to LumifyHub

Authentication

# Log in with your CLI token
lh login

# Check current user
lh whoami

# Log out
lh logout

To get a CLI token:

  1. Go to Account Settings in LumifyHub
  2. Navigate to the CLI tab
  3. Generate a new token

Syncing Pages

# Pull all pages from LumifyHub
lh pull

# Pull pages from a specific workspace
lh pull -w my-workspace

# Force pull (overwrite local changes)
lh pull --force

# Push local changes to LumifyHub
lh push

# Push changes from a specific workspace
lh push -w my-workspace

# Check sync status
lh status

Searching

# Search through local pages
lh search "query"

# Search in a specific workspace
lh search "query" -w my-workspace

Local Storage

Pages are stored as Markdown files with YAML frontmatter:

~/.lumifyhub/pages/
├── workspace-slug/
│   ├── page-one.md
│   └── page-two.md
└── another-workspace/
    └── notes.md

Each file includes metadata:

---
id: "uuid"
title: "Page Title"
workspace_id: "uuid"
workspace_slug: "workspace-slug"
slug: "page-slug"
updated_at: "2025-01-06T..."
local_hash: "abc123"
remote_hash: "abc123"
---

Your page content here...

Creating New Pages

Add a new markdown file with frontmatter to create a page:

---
title: My New Page
workspace_slug: my-workspace
---

# My New Page

Your content here...

Then run lh push to create it on LumifyHub.

Documentation

Full documentation at lumifyhub.io/cli

Development

# Install dependencies
npm install

# Build
npm run build

# Watch mode
npm run dev

# Link globally for testing
npm link

License

MIT