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

@simplepg/cli

v1.0.6

Published

A simple tool for publishing apps on ENS.

Readme

SimplePage CLI

A command-line developer tool for publishing decentralized applications on ENS (Ethereum Name Service) using the SimplePage protocol.

Overview

SimplePage CLI allows you to publish static websites and applications to ENS domains with IPFS storage. It handles the entire process from file upload to ENS content hash updates, making it easy to deploy censorship-resistant web applications.

Features

  • ENS Integration: Publish content directly to ENS domains
  • IPFS Storage: Content is stored on IPFS for decentralization
  • Subscription Management: Check subscription status for ENS domains
  • File Upload: Support for both single files and entire directories
  • CAR File Generation: Creates Content Addressable aRchive (CAR) files for efficient IPFS uploads

Installation

Global Installation

npm install -g @simplepg/cli

Usage

Basic Commands

The CLI provides two main commands:

publish - Publish content to an ENS domain

simplepage publish <ens-name> <path>

Arguments:

  • ens-name: The ENS domain name (e.g., myapp.eth)
  • path: Path to the directory or file to publish

Options:

  • -r, --rpc <url>: Ethereum RPC URL (optional)
  • -c, --chain-id <number>: Chain ID (optional)
  • -d, --dservice <url>: SimplePage DService URL (optional)

Examples:

# Publish a directory
simplepage publish myapp.eth ./dist

# Publish a single file
simplepage publish myapp.eth ./index.html

# Use custom RPC and dservice
simplepage publish myapp.eth ./dist \
  --rpc https://eth-mainnet.alchemyapi.io/v2/YOUR_KEY \
  --dservice https://custom-dservice.com

info - Show subscription information for an ENS domain

simplepage info <ens-name>

Arguments:

  • ens-name: The ENS domain name to check

Options:

  • -r, --rpc <url>: Ethereum RPC URL (optional)
  • -c, --chain-id <number>: Chain ID (optional)

Example:

simplepage info myapp.eth

Output Examples

Successful Publish

Successfully published content for myapp.eth!
Preview: https://bafybeieffej45qo3hqi3eggqoqwgjihscmij42hmhqy3u7se7vzgi7h2zm.ipfs.inbrowser.link
Explore: https://explore.ipld.io/#/explore/bafybeieffej45qo3hqi3eggqoqwgjihscmij42hmhqy3u7se7vzgi7h2zm

To update your ENS name, set your contenthash to this url within 1 hour:
ipfs://bafybeieffej45qo3hqi3eggqoqwgjihscmij42hmhqy3u7se7vzgi7h2zm

Subscription Info

=== myapp.eth ===
Unit #0 - ACTIVE, until 2024-01-15 14:30:00
Unit #1 - EXPIRED
Latest sponsor: 0x70997970C51812dc3A010C7d01b50e0d17dc79C8
Content hash: ipfs://bafybeieffej45qo3hqi3eggqoqwgjihscmij42hmhqy3u7se7vzgi7h2zm

Requirements

ENS Subscription

Before publishing, you need an active SimplePage subscription for your ENS domain. You can subscribe at:

https://simplepage.eth.limo/spg-subscription?domain=yourdomain.eth

Supported File Types

The CLI supports publishing:

  • Static HTML files
  • CSS, JavaScript, and other web assets
  • Images and media files
  • Any file type that can be served over HTTP

File Structure

When publishing a directory, the CLI will:

  1. Create an IPFS directory structure
  2. Add all files recursively
  3. Generate a CAR file for efficient upload
  4. Upload to the SimplePage DService

Contrubuting

Running Tests

# Run all tests
pnpm test

License

GPL-3.0-only

Related