Publishing Websites with the Simple Page CLI
For developers and advanced users, Simple Page provides a powerful CLI tool. This tool enables you to publish any static website and have it persisted by the Simple Page indexer nodes.
Installation
npm install -g @simplepg/cli
Usage
# Publish a static website
simplepage publish myapp.eth ./dist
# Publish a single file
simplepage publish myapp.eth ./index.html
# Check subscription status
simplepage info myapp.eth
Supported Content
- Static HTML: Any HTML, CSS, and JavaScript files
- Images and Media: All common web media formats
- Web Apps: Single-page applications and complex web apps
- Documentation: Technical docs, blogs, portfolios