diff --git a/README.md b/README.md index fa91b78..84f1e26 100644 --- a/README.md +++ b/README.md @@ -37,10 +37,11 @@ npm i -g @pollinations/cli **Step 2:** Connect OpenClaw to Pollinations: ```bash -polli harness openclaw on +npx @pollinations/cli harness openclaw on ``` -This opens a browser login on first run (or use `--no-browser`), creates a +This published CLI command replaces the retired shell installer. It opens a +browser login on first run (or use `--no-browser`), creates a dedicated key, initializes OpenClaw when needed, and writes the provider into `~/.openclaw/openclaw.json`. Choose a different default model with `--model ` (any tool-calling text model from `polli models`): @@ -73,16 +74,6 @@ removes only the Pollinations provider, the dedicated key, a `pollinations/*` default model, and the skill — leaving the rest of your OpenClaw configuration untouched. -## Legacy one-liner - -The old `curl ... | bash -s -- KEY` script still works and forwards to the -same published CLI. The key is passed through the process environment; the -website never receives it: - -```bash -curl -fsSL https://raw.githubusercontent.com/pollinations/openclaw/main/setup-pollinations.sh | bash -s -- YOUR_API_KEY -``` - ## Links - **API Docs:** https://gen.pollinations.ai/docs diff --git a/build.mjs b/build.mjs index b2ff57a..d464c7b 100644 --- a/build.mjs +++ b/build.mjs @@ -9,7 +9,6 @@ for (const path of [ "public", "logo-text-white.svg", "openclaw-logo.svg", - "setup-pollinations.sh", "skills", ]) { cpSync(path, `dist/${path}`, { recursive: true }); diff --git a/index.html b/index.html index 48059a2..d786a4d 100644 --- a/index.html +++ b/index.html @@ -90,9 +90,10 @@

Connect your account

-
polli harness openclaw on
+
npx @pollinations/cli harness openclaw on
-

Run this in your terminal. Polli opens browser sign-in when needed, +

Run this published CLI command in your terminal; it replaces the old shell installer. + Polli opens browser sign-in when needed, configures the Pollinations provider, fetches compatible models and installs the Polli skill. Credentials stay in your local CLI and OpenClaw configuration.

Generation uses your account's Pollen. See current diff --git a/setup-pollinations.sh b/setup-pollinations.sh deleted file mode 100644 index fe9dec9..0000000 --- a/setup-pollinations.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env bash -# Preserve the published installer URL; setup is maintained in the npm CLI. -# New users: npx @pollinations/cli harness openclaw on -set -e - -if [ -n "${1:-}" ]; then - export POLLINATIONS_API_KEY="$1" -fi - -exec npx -y @pollinations/cli harness openclaw on