···11# pds-dash
2233+A fork of [pds-dash](https://git.witchcraft.systems/scientific-witchery/pds-dash) for [selfhosted.social](https://selfhosted.social). The top part of the readme is about this fork.
44+See after [Original Readme](#original-readme) to see the original readme for setup
55+66+This fork is much the same but a few differences:
77+- [New theme](/themes/dark/theme.css)
88+- Uses the CDN for loading images and videos instead of `com.atproto.sync.getBlob`
99+- Caches a couple of things like did -> handle and PDS user profile lexicon inside localstorage. Not the best, but was simpler and has a expire on get.
1010+- The text "Home to x accounts" only shows active accounts.
1111+- I did add a sponsor button for my GitHub.
1212+1313+An example of a caddy file you can use
1414+```caddyfile
1515+ # Should be all the endpoints a PDS calls
1616+ @pds {
1717+ path /xrpc/*
1818+ path /account/*
1919+ path /.well-known/*
2020+ path /@atproto/*
2121+ path /oauth/*
2222+ }
2323+2424+ handle @pds {
2525+ reverse_proxy http://localhost:3000
2626+ }
2727+2828+ # If none matches goes to landing page
2929+ handle /* {
3030+ root * /srv/landing
3131+ try_files {path} /index.html
3232+ file_server
3333+ }
3434+3535+```
3636+3737+3838+# Original Readme
3939+340a frontend dashboard with stats for your ATProto PDS.
441542## setup