@shakespeare.diy/cli
v0.1.0
Published
Deploy static sites to Shakespeare
Maintainers
Readme
@shakespeare.diy/cli
Deploy static sites to Shakespeare.
Quick Start
npx -y @shakespeare.diy/cli deployThis deploys the dist/ directory in your current working directory. The
subdomain defaults to the name of the current directory.
Usage
shakespeare deploy [subdomain]| Argument | Description |
| ------------- | ------------------------------------------------ |
| [subdomain] | Subdomain for the site (default: directory name) |
Your site will be available at https://<subdomain>.shakespeare.wtf.
Environment Variables
| Variable | Required | Description |
| ------------------ | -------- | ---------------------------------------------- |
| NSEC | Yes | Nostr secret key in nsec format (NIP-19) |
| SHAKESPEARE_HOST | No | Deploy host (default: shakespeare.wtf) |
How It Works
- Zips the contents of
dist/in your current directory - Signs the upload request with NIP-98 HTTP Auth using your Nostr key
- Uploads the zip to Shakespeare Deploy
Install Globally
npm i -g @shakespeare.diy/cli
shakespeare deploy my-app