Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

html-golive

БесплатноБез исполняемых скриптовНе проверен

Publish, update and manage HTML pages on a self-hosted golive instance through the local `golive` CLI. golive runs entirely on the user's own machine or…

songhongleiот songhonglei184 установки в других каталогах

Об этом скилле

html-golive

This Skill targets html-golive 0.9.8. Install the matching CLI from PyPI with python -m pip install "html-golive==0.9.8", and keep the running service and installed Skill on the same version. Use the matching 0.9.8 release assets for manual Skill installation.

golive is a self-hosted static-HTML deployment tool. One command turns a local HTML file into a URL served by the user's own machine. Everything — sites, database, uploads — lives under $GOLIVE_HOME (default ~/.golive/). There is no vendor account, no cloud tenancy and no remote control plane.

Scope boundary — read this first. This skill covers only the local golive CLI documented here. If a command below is missing from golive --help, you are looking at a different tool that happens to share the name; stop and tell the user instead of guessing. Never substitute another deployment platform's commands or URLs.

Step 1 — always probe the environment first

Never assume a path, a port, a config value or that golive is installed. Run this before your first action in a session:

golive --version          # installed? which version?
echo "$GOLIVE_HOME"       # empty means the default ~/.golive/
golive doctor             # home writable, registry readable, deps, port
golive list               # sites that already exist

Read the output before planning:

  • golive: command not found → not installed. Suggest pip install html-golive, then stop; do not fabricate a path.
  • golive doctor prints ❌ lines → fix those first; publishing on a broken home directory produces confusing failures.
  • golive list shows an existing slug → updating is almost always what the user wants, not creating a second site.

The bundled skill and CLI are released together. If an installed skill reports a different version, use golive skill install --force --target <skills-directory> to refresh it (the old copy is backed up). For a project virtual environment, activate it before running these commands. Use golive context to inspect effective paths and backends.

For CodeBuddy / WorkBuddy projects, open the project in that agent and run golive skill install --target .codebuddy/skills from its root. Reload the project so the agent loads this skill. MySQL setup and acceptance: references/mysql.md.

Step 2 — core workflows

Publish a new page

golive publish page.html --name "Report" --slug report
  • source may be an HTML file, a project directory or a .zip / .tar.gz archive. For directories and archives add --entry index.html when the entry point is not obvious.
  • --slug report makes the page reachable at /report. Without it the site is only addressable by its 32-char site_id at /s/<site_id>.
  • --name defaults to the page <title>.
  • --owner [email protected] records who owns the site (drives the permission model below).
  • --style <name> injects a built-in CSS theme; run golive styles to list them. Only use this when the user asks to restyle the page.
  • Output includes site_id, slug and the URL. Report the URL back.

Update an existing site

Updating means republishing to the same site, which also creates a rollback snapshot. Find the target first:

golive list
golive publish page.html --update report      # slug or site_id

Do not publish a modified copy as a new site to "update" it — that leaves two live pages and loses the snapshot chain.

Roll back

golive rollback report --dry-run    # list snapshots, change nothing
golive rollback report              # restore the newest snapshot
golive rollback report --snapshot 20260130-120000

Always run --dry-run first and show the user the snapshot list before restoring.

Serve

golive serve --host 127.0.0.1 --port 8787  # explicit local access
golive serve --port 8787 --host 0.0.0.0

When --host or --port is omitted, saved settings and configuration can change the listener. Pass both explicitly for a local verification.

--host 0.0.0.0 exposes every published site to the whole network. Only use it when the user explicitly asks to share, and when you do, say so and recommend GOLIVE_TOKEN or OIDC (see Permissions) in the same breath. It is a single-process stdlib server: put nginx or caddy in front for TLS or real traffic.

Preview locally without publishing

golive preview page.html            # live reload + style switcher

Step 3 — pages with data (window.TemplateAPI)

golive can inject a JS data layer so a static page gets real read/write persistence. Detection is automatic: if the HTML calls TemplateAPI.*, publishing injects the layer. --data-model <code> names the storage namespace (one per app is the norm):

golive publish app.html --slug notes --data-model notes_v1

The page must be served by golive serve for the data layer to work — opening the HTML file directly from disk gives it no endpoint to call.

Полный SKILL.md на ClawHub

Установить html-golive в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл html-golive?

Publish, update and manage HTML pages on a self-hosted golive instance through the local `golive` CLI. golive runs entirely on the user's own machine or server — it is not a hosted service and has no relation to any online deployment platform or to any similarly named internal tool. Use when the user wants to put an HTML file, project directory or archive online on their own infrastructure, update or roll back a site they already published, give a static page real data persistence via `window.TemplateAPI`, or administer sites, owners and maintainers. Trigger phrases include "publish this page", "deploy this HTML", "put this on golive", "update the site", "roll it back", "golive".

Как установить скилл html-golive?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл html-golive запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить html-golive с