← sher.sh

Set Up OpenClaw to Build and Deploy Frontend Projects

February 2026

OpenClaw is an open-source AI agent that you can message on Signal, Telegram, Discord, or WhatsApp. You send it a message in natural language, and it can write code, run shell commands, install packages, and even teach itself new skills on the fly. It is essentially a coding agent that lives in your existing messaging apps rather than requiring a separate IDE or terminal.

One of the more interesting things you can do with OpenClaw is have it build frontend projects and deploy them to live URLs, all without you ever opening a code editor. By installing sher on the machine running OpenClaw, the agent gains the ability to turn any frontend project into a shareable preview link in seconds.

How the pieces fit together

The setup is straightforward. OpenClaw handles the code generation and command execution, while sher handles the build and deploy step. When you ask OpenClaw to build something, it scaffolds the project and writes the code. When it is time to show you the result, it runs sher link in the project directory to get a live preview URL, and sends that URL back to you in the chat.

The whole interaction happens inside your messaging app. You describe what you want, OpenClaw builds it, deploys it, and gives you a link to click—no terminal, no editor, no context switching required on your end.

Setting it up

Getting this working takes three steps, and none of them require much configuration.

1. Install OpenClaw

Follow the setup instructions in the OpenClaw GitHub repository to get the agent running on your machine or server. OpenClaw supports multiple messaging platforms, so pick whichever one you already use.

2. Install sher globally

On the same machine where OpenClaw is running, install sher so the agent can access it as a command-line tool:

npm i -g shersh

This makes the sher command available system-wide, which means OpenClaw can call it from any project directory it creates.

3. Optionally install the agent skill

To help OpenClaw understand when and how to use sher, you can install the agent skill:

npx skills add sherdotsh/sher

This is not strictly required since OpenClaw can figure out how to use CLI tools on its own, but the skill gives it clearer instructions about framework detection, build output, and when to run the deploy command. It tends to make the results more consistent.

Example workflow

Here is what a typical interaction looks like once everything is set up. You open your messaging app and send OpenClaw a message:

You: Build me a landing page for my bakery called Golden Crust. Include a hero section, a menu with prices, and a contact form.

OpenClaw: I will scaffold a Vite + React project for that. Give me a moment.

OpenClaw: The landing page is ready. I have deployed it for you to preview: https://k4m2x8p1.sher.sh

Behind the scenes, OpenClaw created a new project directory, installed dependencies, wrote the components, ran sher link to build and upload the site, and sent you the resulting URL. You click the link, see the landing page in your browser, and can immediately send back feedback like “make the hero image bigger” or “change the font to something more rustic.” OpenClaw makes the changes and deploys a new preview, continuing the loop until you are happy with the result.

Why this matters for non-developers

This setup is particularly powerful for people who are not developers but want to get things built. Instead of learning a framework, setting up a development environment, and figuring out how to deploy, they can describe what they want in plain language through an app they already use every day. The agent handles all the technical work, and the preview URL lets them see and evaluate the result without needing to understand what is happening under the hood.

Even for developers, this workflow is useful for quick prototyping. If you want to explore an idea without the overhead of setting up a new project yourself, you can describe it to OpenClaw and have a working preview in minutes.

Iterating on the result

Because sher preview URLs are temporary and quick to generate, the feedback loop stays tight. Each time you ask OpenClaw for a change, it can deploy a fresh preview in seconds. There is no build queue to wait in, no deployment pipeline to trigger, and no stale URLs accumulating over time. The preview link from the latest iteration is always the one that matters, and the old ones expire on their own.

If you want to keep a preview around longer—for example, to share with a client who might not look at it until the next day—you can have OpenClaw run sher login first to authenticate, which extends link lifetimes to 24 hours on the free tier or up to 7 days on Pro.

FAQ

Does OpenClaw need an account to use sher?

Not for basic usage. Without any authentication, sher allows one upload per day with a 6-hour link lifetime. If OpenClaw runs sher login to authenticate with GitHub, it can make 25 uploads per day with 24-hour links. For heavier usage, the Pro plan provides 100 uploads per day and 7-day link lifetimes.

What messaging platforms does OpenClaw support?

OpenClaw currently supports Signal, Telegram, Discord, and WhatsApp. You can use whichever platform you prefer, and the experience is essentially the same across all of them. Check the OpenClaw GitHub repository for the latest list of supported platforms.

Can OpenClaw deploy projects built with any frontend framework?

Yes, as long as the framework produces static output. Sher auto-detects Vite, Next.js, Astro, Create React App, and plain HTML projects. Since OpenClaw typically scaffolds new projects from scratch, it tends to use well-supported frameworks like Vite or Next.js, which work seamlessly with sher.

Is this secure? Can other people see projects OpenClaw builds?

Sher preview URLs use randomly generated subdomains that are not indexed or discoverable through search engines. Only people who have the exact URL can access the preview. For additional security, the Pro plan supports password-protected previews. The source code is never uploaded, only the built static output.

Get started

Install sher globally:

npm i -g shersh