because i fucking hate myself.
Go to file
Arya 7fac466ee3
fix publapi url for registrations
2023-11-12 18:54:16 +05:30
.github/workflows better navbar 2023-02-03 19:55:33 +02:00
src fix publapi url for registrations 2023-11-12 18:54:16 +05:30
static add note about 10GB on pubnix, and add nc to instance list 2023-09-09 22:55:55 +05:30
.dockerignore docker 2022-08-27 19:38:41 +03:00
.gitignore v3 2023-01-25 19:11:11 +02:00
.npmrc v3 2023-01-25 19:11:11 +02:00
.prettierignore Run formatter 2023-08-05 14:15:14 -05:00
.prettierrc v3 2023-01-25 19:11:11 +02:00
Dockerfile improve docs (closes #94) 2023-01-10 20:58:52 +02:00
LICENSE add mit license 2022-08-04 20:35:27 +03:00 add ip header to README 2023-02-18 15:01:27 +05:30
compose.yml upper case P & S makes docker compose freak out 2023-02-17 21:52:18 +05:30
flake.lock Add NixOS flake 2023-08-05 13:15:51 -05:00
flake.nix Add NixOS flake 2023-08-05 13:15:51 -05:00
package.json Update packages 2023-08-05 13:17:05 -05:00
pnpm-lock.yaml Update packages 2023-08-05 13:17:05 -05:00
svelte.config.js better navbar 2023-02-03 19:55:33 +02:00
tsconfig.json v3 2023-01-25 19:11:11 +02:00
uno.config.ts Run formatter 2023-08-05 14:15:14 -05:00
vite.config.ts better navbar 2023-02-03 19:55:33 +02:00

Project Segfault website

Live at


You need a lot of infrastructure to run a complete version of the website including: Ghost CMS deployment and Authentik authentication.


Running a dev server.

  1. Clone the repository using git clone
  2. Change directory into the clone using cd ./website.
  3. Install dependencies using pnpm i.
  4. Run the dev server using pnpm dev.
  5. Open a browser on http://localhost:5173/ and you should see the website running locally!

Running in production

In production you can run the website through Docker Compose or locally. We strongly recommend using Docker since it makes everything 10 times easier.


First install Docker and Docker Compose on your system (use Linux if you are sane). After that add the environment variables from the environment variables section and run docker compose up -d in the directory of the source code (or just the compose.yml file if you aren't building from source). If you are using Portainer (if you aren't, start using it) you should add a new stack in the Stacks section and select the compose file option, then copy the compose.yml file.


If you want to run the website locally in production follow the steps in developing but use node build instead of pnpm dev and expect the website to be in http://localhost:3000.

Environment variables

The website has the following mandatory environment variables

Name Description
AUTH_CLIENT_ID Authentik client ID
AUTH_CLIENT_SECRET Authentik client secret
AUTH_ISSUER Authentication issuer URL
AUTH_SECRET Random 32 char secret
KUMA_URL Your Uptime Kuma announcements URL
ORIGIN Your domain
ADDRESS_HEADER Header used to retrieve client IP (Caddy only)