From 69570901df9ea9046bf59b0d9ff54774710d7fa8 Mon Sep 17 00:00:00 2001 From: Time Date: Sun, 18 Oct 2026 05:14:57 +0000 Subject: [PATCH] card #95: kept ventures/mdecks/README.md (generated) --- ventures/mdecks/README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/ventures/mdecks/README.md b/ventures/mdecks/README.md index e92cc02..d9ad3d6 100644 --- a/ventures/mdecks/README.md +++ b/ventures/mdecks/README.md @@ -58,6 +58,21 @@ python3 -c 'import base64,sys,zlib; c=zlib.compressobj(9,zlib.DEFLATED,-15); d=c Without compression: `"https://mdecks.yolopreneur.lol/#md=" + encodeURIComponent(text)`. +## On Whop (static build) + +`sh tools/whop-build.sh` writes `dist/mdeck-whop.zip` and `dist/mdeck-whop.zip.sha256` (sha256sum format, next to the zip): a static site of the editor and presenter, without the public page's pricing and sign-up sections. `sh tools/whop-check.sh` builds it, checks the checksum, unzips it, serves it like a static host and requests the view paths. Nothing is uploaded; creating the app on Whop and uploading the zip is a separate step. + +Views to register on Whop, with the path Whop fills the ID into: + +| View type | Path | What it shows | +|---|---|---| +| Experience (member view) | `/experiences/[experienceId]` | the editor and presenter | +| Dashboard (creator's view) | `/dashboard/[companyId]` | the same editor, with **Copy prompt for your agent** | + +No other view is declared (there is no `openapi` view yet). + +A static host serves a dynamic segment only from a real directory or a rewrite rule. The zip ships `experiences/index.html`, `dashboard/index.html` and a `404.html`, all the same app with absolute asset paths, so `/experiences/` and `/dashboard/`, at any depth, load it; the app reads its path to tell the two views apart. This is the safe approach for any static host, chosen without a Whop build reference (docs.whop.com wasn't consulted). + ## Honest limits - Nothing is stored — close the tab without copying a link or the HTML and your text is gone.