Home page on jvuillermet.eu
README.md

jvuillermet.eu home #

A pnpm workspace containing the ISR-powered public Next.js site, a static admin Next.js application, and shared ATProto, record, and React UI packages.

pnpm install
pnpm dev          # public site
pnpm dev:admin    # admin application at http://127.0.0.1:3000

The homepage is available at /. The admin application uses browser ATProto OAuth, verifies the immutable owner DID, and then reads records directly from ATProto.

Optional public-site configuration:

ATPROTO_HANDLE=jvuillermet.eu
SITE_TIME_ZONE=Europe/Paris
SITE_URL=https://jvuillermet.eu

Global pins are loaded from the same repository DID resolved from ATPROTO_HANDLE as the rest of the homepage records.

Optional admin configuration:

NEXT_PUBLIC_ADMIN_ORIGIN=https://admin.jvuillermet.eu
NEXT_PUBLIC_ADMIN_HANDLE=jvuillermet.eu
NEXT_PUBLIC_ADMIN_DID=did:plc:qrmtco7xjszr76cls33gsiso
NEXT_PUBLIC_OAUTH_CLIENT_ID=https://admin.jvuillermet.eu/oauth/client-metadata.json

Local admin OAuth uses ATProto's separate loopback-client configuration with the same narrow atproto repo:eu.jvuillermet.home.pin scope. Open the development server at http://127.0.0.1:3000 (not localhost) so its IndexedDB and callback origins match.

Build both applications with pnpm build, run unit tests with pnpm test, and validate TypeScript with pnpm typecheck.

The admin Vercel project uses apps/admin as its root, pnpm build as its build command, and out as its output directory. It is configured as a static “Other” project so the post-build CSP hashes in the exported HTML are deployed unchanged.