diff --git a/README.md b/README.md index a13872e..96025d1 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ - + # termcade website @@ -14,3 +14,11 @@ komizo describe # Inspect tools and commands ``` Ctrl-C stops development. The capture checker verifies the pinned released CLI before executing it. This website needs no runtime credentials or credential `.env` file. + +## Install the CLI + +```sh +curl -fsSL https://www.termca.de/install | sh +``` + +See [termcade](https://github.com/aviorstudio/termcade#readme) for setup and installation options. diff --git a/src/pages/index.astro b/src/pages/index.astro index 56cd679..3c83c0a 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -105,6 +105,7 @@ const contract = [ { term: 'Dependencies', def: 'the sdk module, which depends on nothing outside the standard library' }, { term: 'Boundary', def: 'wasm ABI v1, frozen. A host refuses a guest whose version it does not speak' }, ]; +const installCommand = "curl -fsSL https://www.termca.de/install | sh"; --- @@ -168,7 +169,7 @@ const contract = [ have.

- go run github.com/aviorstudio/termcade@latest +
{installCommand + '\ntermcade'}
TRUECOLOR TERMINAL / 80×24 OR LARGER / PLAY OFFLINE
@@ -1118,4 +1119,15 @@ const contract = [ gap: 20px; } } + + .cli-install { + max-width: 100%; + margin: 18px 0; + padding: 14px; + border: 1px solid currentColor; + white-space: pre-wrap; + overflow-wrap: anywhere; + font-size: 12px; + line-height: 1.6; + } diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..c2256b8 --- /dev/null +++ b/vercel.json @@ -0,0 +1,10 @@ +{ + "$schema": "https://openapi.vercel.sh/vercel.json", + "redirects": [ + { + "source": "/install", + "destination": "https://raw.githubusercontent.com/aviorstudio/termcade/main/install.sh", + "permanent": false + } + ] +}