@activeset/assets-alt
v0.1.0
Published
Webflow Image Assets ALT text CLI powered by local Ollama (Gemma 4 by default).
Maintainers
Readme
@activeset/assets-alt
Webflow Image Assets ALT text generator, powered by local Ollama (Gemma 4 by default). No API keys. No cloud AI.
Quick start
# 1. Pull a vision-capable model (one-time)
ollama pull gemma4:e4b
# 2. Run against your Webflow site
export WEBFLOW_API_TOKEN=your_token
npx @activeset/assets-alt run --site <siteId>The dashboard generates the exact command for you — pick filters, copy, paste, go.
Commands
assets-alt run — generate + apply ALT text for image assetsOptions
-s, --site <siteId> Webflow site ID (or set WEBFLOW_SITE_ID)
-t, --token <token> Webflow API token (or set WEBFLOW_API_TOKEN)
--folder <folderId> restrict to a single asset folder
--all process all images, not only missing ALT (default: missing only)
--ollama-host <url> Ollama base URL (default http://localhost:11434)
--model <name> Ollama model tag (default gemma4:e4b)
--site-name <name> site name for prompt context
--max <n> max assets to process this run (default 200)
--concurrency <n> parallel Ollama requests (default 3)
--dry-run log results without writing back to WebflowAuth
Set WEBFLOW_API_TOKEN in .env.local (or pass --token).
Set WEBFLOW_SITE_ID (or pass --site).
Ollama config
- Host:
OLLAMA_HOSTenv or--ollama-host(defaulthttp://localhost:11434) - Model:
OLLAMA_MODELenv or--model(defaultgemma4:e4b)
Requirements
- Node.js ≥ 20
- Ollama running locally
- A model with vision/JSON capability —
gemma4:e4brecommended
License
MIT
