Flake to setup a local env for atproto development
8
fork

Configure Feed

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

add create-invite script

+21 -3
+4 -3
flake.nix
··· 121 121 caddy 122 122 mkcert 123 123 curl 124 + jq 124 125 bluesky-pds 125 126 openssl 126 127 mailhog 127 128 postgresql 128 - bluesky-pdsadmin 129 - goat 129 + atproto-goat 130 130 tmux 131 + bash 131 132 ]; 132 133 133 134 shellHook = '' ··· 138 139 echo " • DID PLC: https://plc.example.org:8444" 139 140 echo " • MailHog: http://localhost:8025" 140 141 echo "" 141 - echo "🛠️ Available tools: bluesky-pdsadmin, goat" 142 + echo "🛠️ Available tools: goat" 142 143 echo "" 143 144 echo "💡 Available packages:" 144 145 echo " nix run .#all - Start all services in tmux (recommended)"
+17
scripts/create-invite.sh
··· 1 + #!/usr/bin/env bash 2 + set -o errexit 3 + set -o nounset 4 + set -o pipefail 5 + 6 + PDS_HOSTNAME=${PDS_HOSTNAME:-"pds.example.org:8443"} 7 + PDS_ADMIN_PASSWORD=${PDS_ADMIN_PASSWORD:-"admin"} 8 + 9 + curl \ 10 + --fail \ 11 + --silent \ 12 + --show-error \ 13 + --request POST \ 14 + --user "admin:${PDS_ADMIN_PASSWORD}" \ 15 + --header "Content-Type: application/json" \ 16 + --data '{"useCount": 1}' \ 17 + "https://${PDS_HOSTNAME}/xrpc/com.atproto.server.createInviteCode" | jq --raw-output '.code'