Loading...
Loading...
Mask a URL behind a custom domain for demos and recordings. Adds a trusted HTTPS reverse proxy so the browser shows a clean display domain with a green padlock while serving content from the real target URL. Handles /etc/hosts, mkcert certificates, and cleanup automatically. Triggers on: "domain mask", "mask domain", "mock domain", "proxy URL", "demo URL", "fake domain", "demo proxy", "mask URL for demo", "domain-mask".
npx skill4agent add adobe/skills domain-maskwknd.adventureshttps://main--mysite--org.aem.pagebrew install mkcert && mkcert -installif [[ -n "${CLAUDE_SKILL_DIR:-}" ]]; then
DOMAIN_MASK="${CLAUDE_SKILL_DIR}/scripts/domain-mask.mjs"
else
DOMAIN_MASK="$(find ~/.claude -path "*/domain-mask/scripts/domain-mask.mjs" \
-type f 2>/dev/null | head -1)"
fi
if [[ -z "$DOMAIN_MASK" || ! -f "$DOMAIN_MASK" ]]; then
echo "Error: domain-mask.mjs not found." >&2
fiwknd.adventureshttps://gabrielwalt.github.iowhich mkcert || echo "Install mkcert: brew install mkcert && mkcert -install"mkcert -installsudo node "$DOMAIN_MASK" <display-domain> <target-url>127.0.0.1 <display-domain>/etc/hostshttps://<display-domain>sudo sed -i '' '/<display-domain>/d' /etc/hosts/etc/hostsbrew install mkcert