Admin UI:
- system / light / dark switch in the sidebar (cycle button on
mobile), stored in localStorage and applied before first paint
- dark mode now driven by data-theme instead of only the media query
Link page themes:
- keep the Midnight and Paper presets, replace the others with the
4 trending palettes from coolors.co
- paste a coolors.co link (or a bare hex list) to use any palette;
the colors are read from the URL, nothing is fetched
- palettes are mapped to background, text and button colors by
contrast, with a dark/light background choice
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Shortcodes can now be changed via PATCH /pages/:id with the same
validation as on create (format, collisions, reserved root codes,
usernames). Stats, link buttons and the homepage pin follow the page.
The settings tab shows a warning while editing and asks for
confirmation, since the old URL stops working immediately.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replaces the Next.js/Prisma/next-auth app with a single-container
Hono server, SQLite via Drizzle, OIDC login against Authentik and a
React/Vite admin UI that talks to a JSON API.
- users get /<username>/<code>, admins (Authentik group) get root
codes, pinning and full access
- link pages with link and Markdown text blocks, themes, avatars
- editable 302 redirects, random or custom codes
- personal API tokens, CSRF-protected cookie sessions
- privacy-friendly stats: daily-rotating visitor salt, 90-day click
retention with daily totals kept
- QR codes as PNG/SVG
- tests for permissions, auth, redirects and stats; CI runs them
before publishing images
See REQUIREMENTS.md for the full requirement list.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>