All checks were successful
Deploy / Deploy (push) Successful in 24s
Co-authored-by: Casey <hatkidchan@gmail.com> Co-authored-by: Ari <ariadna@hey.com> Reviewed-on: #7 Reviewed-by: Ariadna <ariadna@hey.com> |
||
---|---|---|
.forgejo/workflows | ||
.vscode | ||
public | ||
src | ||
themes | ||
.gitignore | ||
config.ts.example | ||
deno.lock | ||
index.html | ||
LICENSE | ||
package.json | ||
README.md | ||
svelte.config.js | ||
theming.ts | ||
tsconfig.app.json | ||
tsconfig.json | ||
tsconfig.node.json | ||
vite.config.ts |
pds-dash
a frontend dashboard with stats for your ATProto PDS.
setup
prerequisites
installing
clone the repo, copy config.ts.example
to config.ts
and edit it to your liking.
then, install dependencies using deno:
deno install
development server
local develompent server with hot reloading:
deno task dev
building
to build the optimized bundle run:
deno task build
the output will be in the dist/
directory.
deploying
we use our own CI/CD workflow at .forgejo/workflows/deploy.yaml
, but it boils down to building the project bundle and deploying it to a web server. it'll probably make more sense to host it on the same domain as your PDS, but it doesn't affect anything if you host it somewhere else.
configuring
config.ts
is the main configuration file, you can find more information in the file itself.
theming
themes are located in the themes/
directory, you can create your own theme by copying one of the existing themes and modifying it to your liking.
currently, the name of the theme is determined by the directory name, and the theme itself is defined in theme.css
inside that directory.
you can switch themes by changing the theme
property in config.ts
.
the favicon is located at public/favicon.ico
license
MIT