weplan
v0.3.1
Published
Deploy a self-contained HTML file and get back a shareable link. Built for CLI and agent workflows.
Maintainers
Readme
weplan
Deploy a self-contained HTML file and get back a shareable link in one command, in under a second. Built for CLI and agent workflows.
$ npx weplan create report.html
Deployed uf6vxjhmbz4f (12.3 kB, public)
https://plan.wecodeph.dev/p/uf6vxjhmbz4fNo account needed to try it: anonymous uploads are public and expire after 12 hours. Sign in (weplan login, Google via WorkOS) to keep pages, name them, and make them private.
Commands
weplan create <file.html> [--name <name>] [--private] [--allow <entries>]
weplan update <slug> <file.html> # replace content, URL stays stable
weplan access <slug> [--public|--private] [--allow <entries>] [--revoke <entries>]
weplan list
weplan delete <slug>
weplan login | logout | whoami
weplan status--jsonon any command for machine-readable output; errors go to stderr as{"error": "..."}with exit code 1.- Pass
-as the file to read HTML from stdin. - Private pages are viewable by you and allow-listed emails or exact domains (they sign in in the browser); scripts can fetch them with
Authorization: Bearer <api key>.
Limits (free)
2 MB per page · 100 pages · 25 MB total · 200 uploads/day. Anonymous: 1 MB, 12-hour lifetime, 5 uploads/minute.
For agents
To share an HTML file as a link, run `npx weplan create <file.html> --json`
and give the user the `url` from the output. Add `--private --allow <email-or-@domain>`
for sensitive content. To revise a shared page without changing its link:
`npx weplan update <slug> <file.html> --json`.Zero runtime dependencies. Source and service: https://github.com/albertilagan/weplan.
