No description
  • TypeScript 55.3%
  • MDX 28.9%
  • Astro 10.5%
  • CSS 2.2%
  • Nix 1.8%
  • Other 1.3%
Find a file
Isabella Skořepová 512360fab2
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
fix deploy
2026-09-07 20:29:49 +02:00
.vscode gitignore cache 2026-03-10 20:40:05 +01:00
cache/images/TxfW1h3JUockKUf7d7GvescjDZwFFRmuZMUPXHXmsug add 2026-08-23 00:19:18 +02:00
packages drop cms scripts copy from runtime image 2026-09-07 15:30:04 +02:00
.dockerignore wip move to payload and selfhosting 2026-08-22 13:51:55 +02:00
.editorconfig meta compat 2023-09-02 00:58:28 +02:00
.envrc run local services through nix 2026-08-22 21:21:28 +02:00
.gitignore run local services through nix 2026-08-22 21:21:28 +02:00
.node-version let's try node 20 2023-09-01 22:03:37 +02:00
.oxfmtrc.json wip move to payload and selfhosting 2026-08-22 13:51:55 +02:00
.oxlintrc.json oxfmt 2026-03-10 23:05:58 +01:00
.prettierrc user account and session 2022-07-24 03:55:27 +02:00
.woodpecker.yaml fix deploy 2026-09-07 20:29:49 +02:00
email.mjml oxfmt 2026-03-10 23:05:58 +01:00
flake.lock run local services through nix 2026-08-22 21:21:28 +02:00
flake.nix add mock OIDC provider for local development 2026-08-22 22:04:08 +02:00
package.json pnpm 2026-08-22 14:19:18 +02:00
pnpm-lock.yaml move away from directus 2026-08-22 22:53:11 +02:00
pnpm-workspace.yaml fix install 2026-08-22 14:32:03 +02:00
README.md remove Directus migration leftovers 2026-08-23 03:24:29 +02:00

brehoni.cz

A pnpm workspace with two packages:

  • packages/site -- the astro site served at brehoni.cz. Still hosted on Vercel; DNS keeps pointing there for now.
  • packages/cms -- payload CMS, served at cms.brehoni.cz off the hetzner box. Deployment lives in the hetzner repo (configuration/brehoni-cms.nix); its CI builds an image from packages/cms/Dockerfile and pings the hetzner repo's woodpecker deploy pipeline to bump the pin.
nix run      # postgres, mock OIDC (:9080), astro (:4321), and payload (:3018)

nix develop opens the same pinned toolchain without starting the services. PostgreSQL data is kept per checkout in .tmp/pgdata; no host port is exposed.

The site needs vercel env vars:

pnpm exec vercel link
pnpm exec vercel env pull

The CMS needs packages/cms/.env for S3 and production OIDC credentials -- see packages/cms/.env.example. The database connection, development-only secrets, and a local interactive OIDC provider are supplied automatically by nix run. The mock login accepts any username and is only bound to localhost.