Monorepo for Tangled tangled.org
900
fork

Configure Feed

Select the types of activity you want to include in your feed.

at f0f169fcfb438ca857962b1ee8c99aa377370c14 11 lines 391 B view raw
1#!/usr/bin/env bash 2 3IMG_URL="https://catoftheday.com/archive/2024/November/17.jpg" 4SECRET="f3e27203049b6cb685670c9d8393783e57a0db33f90494c0ccb303721e36137e" 5 6HEX_URL=$(echo -n "$IMG_URL" | xxd -p | tr -d '\n') 7SIG=$(echo -n "$IMG_URL" | openssl dgst -sha256 -hmac "$SECRET" -binary | xxd -p | tr -d '\n') 8 9 10echo "Signed URL:" 11echo "https://camo.anirudh-s-account.workers.dev/$SIG/$HEX_URL"