A server-side version of the Bluesky Backup app
HOT HOT HOT identity and data backup for your ATProto PDS
Please visit https://bsky.storage to get started!
.envFirst, please copy .env.tpl to .env and take a moment to review the contents and ensure they are correct for your dev plans.
On OSX you can do this with:
brew install postgresql
You may need to start the postgres service after installation with
brew services start postgresql
After setup you'll need to create your development database. Use psql to start a database session:
psql
If this is your first time setting up postgres on your machine. There's a chance the command above fails when you run it. If that happens, try the one below instead:
psql postgres
And then in the SQL console:
create database bsky_backups_dev;
create role admin with login password 'bluey';
grant all privileges on database bsky_backups_dev to admin;
These names and credentials match the examples in .env.tpl and should be customized for your setup.
When you start the dev server for ths first time, be sure to use this command, pnpm run atproto:generate-jwk to generate the JWK endpoint key so you don't encounter this:
missing endpoint error TOKEN_ENDPOINT_PRIVATE_KEY_JWK
ngrokpnpm dev.script/start-tunnel.
script/start-tunnel --url spicy-rooster-fondly.ngrok-free.app (replacing the URL with your own).For many types of UI development you don't need a running app. Simply run pnpm storybook and visit http://localhost:6006 to see our Storybook.
Deployment is handled via terrform using a Makefile.
Prerequisites:
aws cli toolbrew update
brew install opentofu
tofu -u version
To setup a deployment you can use for remote testing, do the following:
All commands for deployment should be run from the deploy directory, so do cd deploy before anything else.
From the deploy directory:
.env.terraform.tpl to .env.terraform.env.terraform (put your name in for TF_WORKSPACE for dev purposes)make apply -- the first time you run this, it will take a LONG time to deploy everything - also you'll have to confirm deploying various things a few times along the waymake wait-deploy to wait for that to completemake migrate to run migrations on the remote databaseYour environment should be deployed at ~your-name~.bsky.storage
atproto explorer - mirror to https://tangled.org/pds.ls/pdsls
Fix X/Twitter and Bluesky embeds! Use multiple images, videos, polls, translations and more on Discord, Telegram and others
AT Protocol Reference Implementation (TypeScript)
Git scraping of AT Protocol/Bluesky instances
Git scraping of Bluesky labelers/label providers
web interface for labeling content in atproto / Bluesky
Your Brand Here!
50K+ engaged viewers every month
Limited spots available!
📧 Contact us via email🦋 Contact us on Bluesky