mirror of
https://github.com/PluralKit/dashboard.git
synced 2026-10-21 19:23:55 +00:00
Pull mirror of https://github.com/PluralKit/dashboard
- Svelte 71.1%
- TypeScript 23.1%
- SCSS 4.7%
- JavaScript 0.8%
- Dockerfile 0.2%
| .github/workflows | ||
| .husky | ||
| .vscode | ||
| src | ||
| static | ||
| .dockerignore | ||
| .eslintignore | ||
| .eslintrc.cjs | ||
| .gitignore | ||
| .npmrc | ||
| .prettierignore | ||
| .prettierrc | ||
| Dockerfile | ||
| package.json | ||
| pnpm-lock.yaml | ||
| postcss.config.js | ||
| README.md | ||
| svelte.config.js | ||
| tailwind.config.js | ||
| tsconfig.json | ||
| vite.config.ts | ||
This the SvelteKit rewrite of PluralKit's dashboard. It uses svelte 5.
Development
Developing the dashboard requires node.js v20 and pnpm.
Create a .env file in the repository root with the following variables
PUBLIC_BASE_API_URL: the default base API url (not ending in a/)PUBLIC_REPOSITORY_URL: url of the git repository (use https://github.com/PluralKit/dashboard or your fork)
Building
Building can either be done using pnpm build or docker build.
Example docker build command
docker build -t pluralkit-dashboard \
--build-arg="base_api_url=https://api.pluralkit.me" \
--build-arg="repository_url=https://github.com/PluralKit/dashboard" \
.