forked from
lewis.moe/bspds-sandbox
I've been saying "PDSes seem easy enough, they're what, some CRUD to a db? I can do that in my sleep". well i'm sleeping rn so let's go
1#!/bin/bash
2echo "Downloading haileyok/cocoon"
3git clone --depth 1 https://github.com/haileyok/cocoon reference-pds-hailey
4rm -rf reference-pds-hailey/.git
5echo "Downloading bluesky-social/atproto pds package"
6mkdir reference-pds-bsky
7cd reference-pds-bsky
8git init
9git remote add origin https://github.com/bluesky-social/atproto.git
10git config core.sparseCheckout true
11echo "packages/pds" >> .git/info/sparse-checkout
12git pull --depth 1 origin main
13mv packages/pds/* .
14rm -rf packages .git
15cd ..
16echo "Downloads complete!"