{"_id":"@avr00/clawd-html","_rev":"2-e625129c5a1572a98d0ffe63276e5562","name":"@avr00/clawd-html","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.0":{"name":"@avr00/clawd-html","version":"0.0.0","keywords":["clawd","html","cli","share","agent","llm","publish"],"author":{"name":"avr00"},"license":"MIT","_id":"@avr00/clawd-html@0.0.0","maintainers":[{"name":"avr00","email":"avrivadeneira1@gmail.com"}],"homepage":"https://github.com/avr00/clawd-html/tree/main/packages/cli#readme","bugs":{"url":"https://github.com/avr00/clawd-html/issues"},"bin":{"clawd":"dist/index.js"},"dist":{"shasum":"1c5813c0afc4b06d886415175b757b6bfbd1bf37","tarball":"https://registry.npmjs.org/@avr00/clawd-html/-/clawd-html-0.0.0.tgz","fileCount":13,"integrity":"sha512-qC1EwMpoEe1gzrDOYruWiSBaMDdAf9HHZ2ZDMrGoo6JOotiODsJnBj5y8DYFYgP8wPsUzwQvXs77f2hvs0YUdw==","signatures":[{"sig":"MEQCIHzA/IgBV+dBnjr1bwko4DOaOIHKZS/fd41b9+/jAeGWAiBJKNYbrilgAgiHMYmgj3xASJQO4oSdOZF4hwRgBBF+bA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15834},"type":"module","engines":{"node":">=20"},"gitHead":"231340d9c02994d656b4420a6047e2915c856b2f","scripts":{"dev":"tsc -p tsconfig.json --watch","build":"tsc -p tsconfig.json","check-types":"tsc -p tsconfig.json --noEmit","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"avr00","email":"avrivadeneira1@gmail.com"},"repository":{"url":"git+https://github.com/avr00/clawd-html.git","type":"git","directory":"packages/cli"},"_npmVersion":"10.9.3","description":"Publish HTML pages to clawd.html from your terminal or an agent","directories":{},"_nodeVersion":"22.20.0","dependencies":{"commander":"14.0.3"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"typescript":"catalog:","@types/node":"^20"},"_npmOperationalInternal":{"tmp":"tmp/clawd-html_0.0.0_1778881043442_0.10124794433076723","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@avr00/clawd-html","version":"0.1.0","description":"Publish HTML pages to clawd.html from your terminal or an agent","type":"module","license":"MIT","author":{"name":"avr00"},"homepage":"https://github.com/avr00/clawd-html/tree/main/packages/cli#readme","repository":{"type":"git","url":"git+https://github.com/avr00/clawd-html.git","directory":"packages/cli"},"bugs":{"url":"https://github.com/avr00/clawd-html/issues"},"keywords":["clawd","html","cli","share","agent","llm","publish"],"bin":{"clawd":"dist/index.js"},"engines":{"node":">=20"},"publishConfig":{"access":"public"},"dependencies":{"commander":"14.0.3"},"devDependencies":{"@types/node":"^20","typescript":"^6"},"scripts":{"build":"tsc -p tsconfig.json","dev":"tsc -p tsconfig.json --watch","check-types":"tsc -p tsconfig.json --noEmit"},"_id":"@avr00/clawd-html@0.1.0","_integrity":"sha512-kEsGijR69j/TJrxciBcgFRzy6DBRgS3woE6r1lO45pN6tHzevLcruI0LVSmCWO61qGVmDvXfJYmrKH0blFgDVQ==","_resolved":"/tmp/56bb41988a09a74c17982a5e5c8f77f7/avr00-clawd-html-0.1.0.tgz","_from":"file:avr00-clawd-html-0.1.0.tgz","_nodeVersion":"24.15.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-kEsGijR69j/TJrxciBcgFRzy6DBRgS3woE6r1lO45pN6tHzevLcruI0LVSmCWO61qGVmDvXfJYmrKH0blFgDVQ==","shasum":"cb5c47152d5d8bcefcd28f79fb378210936971d0","tarball":"https://registry.npmjs.org/@avr00/clawd-html/-/clawd-html-0.1.0.tgz","fileCount":13,"unpackedSize":15763,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEMCIDqMcNnOK68Oyw5Z/ih4bBmMFu9fLpGS0rTRLBC2JAnVAh92qQYAuMErh3XyAhAHBVWfgDtpOQTPDYHVum0b03PZ"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:8eb08748-89f1-4cc3-a360-2ea21d55f9e8"}},"directories":{},"maintainers":[{"name":"avr00","email":"avrivadeneira1@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/clawd-html_0.1.0_1778882113623_0.9527279341192132"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-15T21:37:23.386Z","modified":"2026-05-15T21:55:13.878Z","0.0.0":"2026-05-15T21:37:23.611Z","0.1.0":"2026-05-15T21:55:13.761Z"},"bugs":{"url":"https://github.com/avr00/clawd-html/issues"},"author":{"name":"avr00"},"license":"MIT","homepage":"https://github.com/avr00/clawd-html/tree/main/packages/cli#readme","keywords":["clawd","html","cli","share","agent","llm","publish"],"repository":{"type":"git","url":"git+https://github.com/avr00/clawd-html.git","directory":"packages/cli"},"description":"Publish HTML pages to clawd.html from your terminal or an agent","maintainers":[{"name":"avr00","email":"avrivadeneira1@gmail.com"}],"readme":"# clawd\n\nPublish HTML pages to [clawd.html](https://clawd-html-puce.vercel.app) from your terminal or an AI agent.\n\n## Install\n\n```bash\nnpm install -g @avr00/clawd-html\n```\n\nThe installed command is `clawd`. Requires Node.js 20+.\n\n## Authenticate\n\nCreate a token in **Settings → API tokens** in the web app, then:\n\n```bash\nclawd login clawd_live_xxxxxxxx\n# or, non-interactively:\nexport CLAWD_TOKEN=clawd_live_xxxxxxxx\n```\n\n## Usage\n\n```bash\n# Publish a file\nclawd publish index.html --title \"Pitch deck\" --visibility unlisted\n\n# Publish from stdin (great for agents / pipelines)\ncat report.html | clawd publish --title \"Q3 report\"\nsome-llm | clawd publish -t \"Generated UI\" -v public\n\n# List your pages\nclawd list\n\n# Print a page's HTML back out\nclawd get aj3p2k9q > saved.html\n\n# Delete\nclawd rm aj3p2k9q\n\n# Who am I\nclawd whoami\n```\n\n### Options\n\n`publish`:\n\n| Flag | Description | Default |\n|------|-------------|---------|\n| `-t, --title <title>` | Page title | `<title>` tag → filename → \"Untitled\" |\n| `-v, --visibility <vis>` | `private` \\| `workspace` \\| `unlisted` \\| `public` | `unlisted` |\n| `-w, --workspace <slug>` | Publish into a workspace | — |\n| `-e, --expires <dur>` | `never`, `12h`, `7d`, … | `never` |\n| `--json` | Emit the full result as JSON | — |\n\nGlobal:\n\n| Flag / env | Description |\n|------------|-------------|\n| `--token` / `CLAWD_TOKEN` | API token |\n| `--api-url` / `CLAWD_API_URL` | Override API base URL |\n\n### Agent-friendly behavior\n\n- Human messages go to **stderr**; the shareable URL (or `--json` payload) goes to **stdout**, so `URL=$(clawd publish page.html)` works.\n- `--json` on every read command for structured parsing.\n- Non-zero exit code on any error, with the message on stderr.\n\n## HTTP API\n\nThe CLI is a thin wrapper over a REST API. Any agent can call it directly:\n\n```bash\ncurl -X POST https://dynamic-falcon-5.convex.site/api/v1/pages \\\n  -H \"Authorization: Bearer clawd_live_xxxxxxxx\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"title\":\"Hello\",\"content\":\"<h1>hi</h1>\",\"visibility\":\"unlisted\"}'\n```\n\nEndpoints: `GET /api/v1/me`, `GET|POST /api/v1/pages`, `GET|DELETE /api/v1/pages/:slug`.\n","readmeFilename":"README.md"}