A beautiful Tangled client with Catppuccin colors. snarled.at
catppuccin atproto tangled
Something went wrong. Try again.
1234567891011121314#!/bin/shset -eu
: "${PUBLIC_URL:?Set PUBLIC_URL to the public HTTPS origin of snrld}"
if ! printf '%s\n' "$PUBLIC_URL" | grep -Eq '^https://[A-Za-z0-9]([A-Za-z0-9.-]*[A-Za-z0-9])?$'; then echo 'PUBLIC_URL must be a bare HTTPS origin without a port or trailing slash.' >&2 exit 1fi
sed "s|__PUBLIC_URL__|${PUBLIC_URL}|g" \ /usr/share/nginx/html/client-metadata.template.json \ > /usr/share/nginx/html/client-metadata.json