Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
register preston hashes and urls with hash archive
# Register all preston urls with
# Please replace "deeplinker\.bio" instances below with you own escaped hostname of your Preston instance.
# see on how to install preston
preston ls -l tsv | grep Version | cut -f1,3 | tr '\t' '\n' | grep -v "deeplinker\.bio/\.well-known/genid" | sort | uniq | sed -e 's/hash:\/\/sha256/https:\/\/' | sed -e 's/^/https:\/\/\/api\/enqueue\//g' | xargs -L1 curl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment