Skip to content

Reference

Complete reference documentation for Roselite CLI, gateway, and APIs.

CLI Reference

Gateway Reference

Quick Reference

Common Commands

# Bundle a site
roselite bundle ./site --name "My Site" --version "1.0.0"

# Publish to DHT
roselite publish my-site.veilidpkg

# Start gateway
roselite-gateway --port 8080 --domain localhost:8080

# Check status
roselite status

Gateway URLs

http://[slug].[domain]/[path]
https://my-site.localhost:8080/index.html
https://docs.localhost:8080/guide/

Package Structure

{
  "name": "Site Name",
  "version": "1.0.0",
  "entry": "index.html",
  "files": ["index.html", "style.css", "app.js"]
}