README.md

wisp #

Source for https://wisp.psingletary.com — a mirror of https://psingletary.com (Carrd export) hosted on wisp.place under the site rkey wisp.

Everything here is a byte-for-byte copy of the live source site: index.html plus every assets/ path it references (fonts, images, videos). There is no build step.

Refresh from the source site #

cd "$(mktemp -d)"
curl -sL https://psingletary.com -o index.html
for a in $(grep -o 'assets/[A-Za-z0-9./_-]*' index.html | sort -u); do
  mkdir -p "$(dirname "$a")"
  curl -sf "https://psingletary.com/$a" -o "$a" || echo "FAIL $a"
done
find . -size 0 -delete          # zero-byte files break wisp mime checks
rsync -a ./ ~/dev/ATProtocol-Playground/wisp/

Deploy #

wispctl's OAuth session is unreliable on this machine (re-login aborts with The specified item already exists in the keychain). Deploy headlessly with an app password from the Bitwarden item 01 - psingletary.com — the field App Password - Fedica is the one that still authenticates:

cd ~/dev/ATProtocol-Playground/wisp
APPPW=$(bw get item "01 - psingletary.com" --session "$BW_SESSION" \
  | jq -r '.fields[] | select(.name=="App Password - Fedica") | .value')
wispctl deploy --path . --site wisp --yes --password "$APPPW" psingletary.com

Record: at://did:plc:stznz7qsokto2345qtdzogjb/place.wisp.fs/wisp

Verify #

HTML parity alone is not proof the clone is complete — a copy missing its self-hosted assets/fonts/*.woff2 still renders, just in the fallback typeface. Check the hash and then every asset (append a cache-buster; the edge caches ~600s):

md5 -q index.html <(curl -sL https://psingletary.com)      # must match
curl -s "https://wisp.psingletary.com/?cb=$(date +%s)" | md5
for a in $(grep -o 'assets/[A-Za-z0-9./_-]*' index.html | sort -u); do
  curl -s -o /dev/null -w "%{http_code} $a\n" \
    "https://wisp.psingletary.com/$a?cb=$(date +%s)"
done                          # every line must be 200

Warning #

Do not deploy an older revision of this folder — it contains the full page (home, CV, pay, music, atmosphere, subdomains, AT ProtoCalls). A partial build uploaded to --site wisp replaces the live site.