···11+# PDS Home
22+33+Very simple single-file PDS home page.
44+55+## Why?
66+77+By default, the PDS home page isn't very nice, especially on mobile.
88+It's fine as a default, but we can do better.
99+1010+The approach here is to make it into a single glorious HTML file to avoid overriding too many routes on the PDS,
1111+and make deployment as simple as possible.
1212+1313+There's still a build step involved because there's some dependencies involved (`atcute`),
1414+and working with types and CSS/JS in separate files is so much nicer.
1515+1616+## How to use
1717+1818+Before you deploy, you may want to fork this repository to customise the welcome message and/or PDS owner listed.
1919+2020+- Install dependencies with `pnpm i`
2121+2222+- Build the file with `pnpm run build`
2323+2424+- Upload the `dist/index.html` file to static hosting.
2525+2626+The most straighforward solution is to host it on the same server as your PDS.
2727+2828+You can simply add this directive to your Caddyfile:
2929+3030+```Caddyfile
3131+@home path /
3232+handle @home {
3333+ root /<the directory where the file is>
3434+ file_server
3535+}
3636+```
3737+3838+You will now see a pretty little home page for your PDS!