clone

push a directory of html from the terminal and get a four-character url back. a deno cli on cloudflare

doc: fix README rendering on args.io, add args link, tidy description

Dami committed 6824b66
- drop raw <div align=center> and <details> blocks that args.io renders
  as literal text; convert to plain markdown headings
- add args.io/cat/nzip link to the README and the landing page
- replace the em-dash in the JSR description with a period
commit
6824b66e55fffb4351ffd128309f67a0e33b59e8
parent
bb395f860b32fc4beaec085a9d933926ea9946e2
author
Dami <dami.etoile@gmail.com>
3 files changed, +6 -16
MREADME.md16+++-------------
Mcli/deno.json2+-
Mworker/src/serve.ts4++--
M README.md +3 -13
@@ -1,5 +1,3 @@
1-<div align="center">2-31 # `nzip`42 53 **Push a directory of HTML from the terminal. Get a four-character URL back.**
@@ -7,9 +5,7 @@
75 _A personal share tool. Deno CLI → Cloudflare Worker → R2 + D1. No daemon, no build step, no86 redeploys._97 10-[![JSR](https://jsr.io/badges/@nzip/cli)](https://jsr.io/@nzip/cli)11-12-</div>8+[![JSR](https://jsr.io/badges/@nzip/cli)](https://jsr.io/@nzip/cli) · [args.io/cat/nzip](https://args.io/cat/nzip)139 1410 ```console1511 $ nzip push ./demo work:demo --ttl 30d
@@ -153,8 +149,7 @@ sites pushed from this machine.)
153149 service. Use the same URL you set as `vars.PUBLIC_BASE` in your Wrangler config. Standing up that154150 server is the one-time setup below.155151 156-<details>157-<summary><b>Self-hosting: one-time Cloudflare setup</b></summary>152+## Self-hosting: one-time Cloudflare setup158153 159154 See [`worker/setup.md`](worker/setup.md) for the full checklist. In short:160155
@@ -187,10 +182,7 @@ Two gotchas learned the hard way:
187182 "custom_domain": true }]`) needs the zone on your188183 account; it provisions DNS and the cert automatically on deploy.189184 190-</details>191-192-<details>193-<summary><b>Development</b></summary>185+## Development194186 195187 ```sh196188 deno task check # typecheck CLI + shared
@@ -203,5 +195,3 @@ nzip auth --server http://localhost:8787 --token dev-token-local-only
203195 204196 Test the GC cron: `npx wrangler dev --test-scheduled`, then205197 `curl "http://localhost:8787/__scheduled?cron=0+4+*+*+*"`.206-207-</details>
M cli/deno.json +1 -1
M worker/src/serve.ts +2 -2