Install htmlark
Node 22.13 or newer, or a standalone binary. Then put a page under a key.
npx
npx htmlark
Node 22.13+. Then npx htmlark setup --json and npx htmlark put --key demo --file ./page.html --json.
Download
curl -fsSL https://htmlark.com/install.sh | sh
- macOS Apple silicon
htmlark-darwin-arm64 - macOS Intel
htmlark-darwin-x64 - Linux x64
htmlark-linux-x64 - Linux ARM64
htmlark-linux-arm64 - Windows x64
htmlark-windows-x64.exe
chmod +x the file and put it on your PATH. Source:github.com/nichenqin/htmlark.
Then
htmlark setup --json htmlark put --key demo --file ./page.html --json htmlark open --id art_…