# Share a local website with the vibe-share skill

Run this workflow in the author's local macOS or Linux environment, where the website files live. Friends open a link in their browsers. The author confirms the device on first use.

## Get the skill on first use

Reuse an installed `vibe-share` whose `scripts/share -help` includes `-open-dashboard`. For a first install or an older version, fetch the [complete skill bundle](https://vibe-coding-product.com/vibe-share/vibe-share.zip) and extract it into the private tools directory. Keep the device profile so existing links survive the upgrade. If the old process is still serving, arrange its replacement with the new connector under the same account. The archive contains the Skill, `scripts/share` and the native runtimes.

Use your agent's user-local skills directory if available. An agent with shell access can alternatively extract the ZIP into a private tools directory outside the site, such as `~/.local/share/vibe-share/skills/`, and read `vibe-share/SKILL.md` there. Preserve executable permissions when extracting (for example, with `unzip`). Run the bundled launcher directly from that directory in the current session.

## Share the website

Use the site's finished static output directory containing `index.html` and relative assets. Follow `SKILL.md`, passing this service's origin explicitly. For example, from the extracted `vibe-share` directory:

```sh
./scripts/share -open-dashboard -server "https://vibe-coding-product.com" -dir "/absolute/path/to/dist" -title "My website"
```

Keep the process running in a persistent local terminal or background job. Give the author the verification URL and code as soon as they appear so they can approve the device in their browser. Return the stable `/live/` visitor link when ready. It chooses an available route automatically. The command opens the private owner dashboard once. If the host has no desktop browser, give the author the printed dashboard URL separately. The public QR and current visitor count are on that dashboard. Advanced holds the LAN link and QR when available.

To resume saved sites on the same computer, use `./scripts/share -open-dashboard -server "https://vibe-coding-product.com"` under the same OS account and profile. To restore a particular share on a replacement computer, let the author confirm their original agent identity during pairing and pass the supplied `-share-id` along with `-dir` to the launcher. Add `-autostart` only when the author requests automatic sharing after login. Owners can pause, replace or revoke links at [vibe-share](https://vibe-coding-product.com/vibe-share).
