From 56772895045414bcafc281d86ddd37e2980abab1 Mon Sep 17 00:00:00 2001 From: multipleof4 Date: Fri, 10 Oct 2025 07:44:54 -0700 Subject: [PATCH] Update README.md --- docs/README.md | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/docs/README.md b/docs/README.md index 13ebb06..354324b 100644 --- a/docs/README.md +++ b/docs/README.md @@ -21,39 +21,6 @@ No servers to maintain, no cron jobs, no expiration dates. - **KV** – key/value lookups for lightning-fast redirects - **reCAPTCHA v2** – stop bots from burning your quota -## Quick deploy - -1. Clone the repo -2. Create a D1 database named D1_EV and a KV namespace named KV_EV -3. Add the secret RECAPCHA_KEY (Google reCAPTCHA v2 secret) -4. npx wrangler deploy - -That's it—your own instance is live. - -## Local dev - -~~~ -npm install -g wrangler # if you don't have it -wrangler dev # serves on localhost:8787 -~~~ - -## API in two lines - -Create: - -~~~ -curl -X POST 127.0.0.1:8787/api/links/create \ - -H 'content-type: application/json' \ - -d '{"username":"bob","pass_hash":"","destination_url":"https://example.com/very/long","slug":"ex","g-recaptcha-response":""}' -~~~ - -List: - -~~~ -curl -X POST 127.0.0.1:8787/api/links/list \ - -H 'content-type: application/json' \ - -d '{"username":"bob","pass_hash":""}' -~~~ ## Security notes