an static landing page for your PDS that displays users & their bluesky posts.
pds.wlo.moe
bluesky
pds
atproto
atproto pds landing page#
i wanted something pretty on my pds' home page :p
inspired by pds-dash by the witches over at witchcraft.systems!!
preview#
deploying#
# clone the repository
git clone git@tangled.sh:wlo.moe/pds-landing
git clone https://tangled.sh/@wlo.moe/pds-landing
cd pds-landing
bun i
mkdir config
cp example.json config/production.json
# edit config/production.json to your liking
# you can find the config schema in src/config/schema.ts
bun run build
then, point your web server to serve dist on the root / path.
as an example, here's the relevant part of my caddyfile:
pds.wlo.moe {
@backend {
path /xrpc/* /.well-known/* /robots.txt /oauth/* /@atproto/*
}
handle @backend {
reverse_proxy localhost:8090
}
handle {
root * /var/www/sites/pds-landing
try_files {path} /index.html
file_server
}
}
i'm not sure if @backend contains all the routes that need to be proxied to
the pds as to not break anything, but it seems to work fine for me so far.
copying#
this project is licensed under the gpl v3.0, you can find a copy of the license in LICENSE.GPL-3.0.md.