← Back to Skills Marketplace
mailo037

Publish Website Traefik

by Mailo037 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
31
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install publish-website-traefik
Description
Manages static website deployments to subdomains under *.sites.friendify.cloud using Traefik reverse proxy and Docker. Provides functions to deploy, list, an...
README (SKILL.md)

Publish Website via Traefik

This skill allows you to publish static websites to subdomains under *.sites.friendify.cloud using a Traefik reverse proxy and Docker.

How to Use

Example Usage:

To publish a website, you will run the `deploy_site.sh` script with two arguments:\
\
`./scripts/deploy_site.sh \x3Cpath_to_website_files> \x3Csubdomain_name>`\
\
**Example:**\
\
`./scripts/deploy_site.sh /data/.openclaw/workspace/landingpages/new-deutscheschuleonline my-german-school`\
\
This would deploy the website to `https://my-german-school.sites.friendify.cloud`.

Architecture: One Website, One Container

This skill operates on the principle of "one website per Docker container." When you deploy a website, a dedicated Nginx container is launched. Traefik, acting as a reverse proxy, routes traffic from your specified subdomain ({subdomain}.sites.friendify.cloud) to this container. This approach ensures:

  • Isolation: Each website runs independently, preventing conflicts.
  • Dynamic Routing: Traefik uses Docker labels to automatically configure routing, simplifying management.
  • Scalability: Individual websites can be scaled or updated without affecting others.

Managing Deployments

The skill provides the following commands for managing your website deployments:

Deploying a Website

To deploy a website, you will run the deploy_site.sh script with two arguments:

./scripts/deploy_site.sh \x3Cpath_to_website_files> \x3Csubdomain_name>

Example:

./scripts/deploy_site.sh /data/.openclaw/workspace/landingpages/new-deutscheschuleonline my-german-school

This would deploy the website to https://my-german-school.sites.friendify.cloud.

Listing Deployed Websites

To see all currently deployed websites managed by this skill, use the list_sites.sh script:

./scripts/list_sites.sh

This will display a list of subdomains and their corresponding URLs.

Deleting a Website

To remove a deployed website, use the delete_site.sh script, providing the subdomain name:

./scripts/delete_site.sh \x3Csubdomain_name>

Example:

./scripts/delete_site.sh my-german-school

This will stop and remove the associated Docker container and its resources, effectively undeploying the website.

Usage Guidance
Review before installing. Use this only on a deployment host where the agent is allowed to manage Docker. Before each deploy, verify the exact local directory and subdomain, and avoid pointing it at broad or private folders. Before deletion, confirm the directory and containers that will be removed. Consider adding path allowlists, subdomain validation, image pinning, and explicit confirmation prompts.
Capability Analysis
Type: OpenClaw Skill Name: publish-website-traefik Version: 1.0.0 The skill provides scripts for deploying static websites using Docker and Traefik, but contains significant shell injection vulnerabilities in `scripts/deploy_site.sh` and `scripts/delete_site.sh`. Specifically, the `SUBDOMAIN` and `WEBSITE_PATH` arguments are used within double-quoted strings and heredocs without sanitization, allowing for arbitrary command execution (e.g., via backticks or command substitution) when the variables are evaluated by the shell. While the functionality aligns with the stated purpose of website management, these flaws could be exploited to execute unauthorized commands on the host system.
Capability Assessment
Purpose & Capability
The purpose and code are coherent for publishing static sites, but the deploy script can copy any supplied local path into a publicly reachable website with no built-in path allowlist, preview, or confirmation step.
Instruction Scope
The instructions present deploy, list, and delete commands directly, but they do not require explicit confirmation before public publishing or destructive deletion, nor do they describe input validation boundaries.
Install Mechanism
There is no install spec and metadata declares no required binaries, while the scripts depend on Docker, Docker Compose, jq, and an unpinned nginx:alpine container image.
Credentials
The skill mutates the local Docker environment by creating networks, starting containers, and copying local files into containers that Traefik may expose publicly.
Persistence & Privilege
Deployments persist as running Docker containers and as entries in deployments.json; the delete script trusts that persistent state to choose a directory for docker compose down -v and rm -rf.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install publish-website-traefik
  3. After installation, invoke the skill by name or use /publish-website-traefik
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release with deploy, list, and delete functionality.
Metadata
Slug publish-website-traefik
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Publish Website Traefik?

Manages static website deployments to subdomains under *.sites.friendify.cloud using Traefik reverse proxy and Docker. Provides functions to deploy, list, an... It is an AI Agent Skill for Claude Code / OpenClaw, with 31 downloads so far.

How do I install Publish Website Traefik?

Run "/install publish-website-traefik" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Publish Website Traefik free?

Yes, Publish Website Traefik is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Publish Website Traefik support?

Publish Website Traefik is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Publish Website Traefik?

It is built and maintained by Mailo037 (@mailo037); the current version is v1.0.0.

💬 Comments