Commit Graph
4 Commits
Author SHA1 Message Date
traberphandClaude Opus 5.5 b338e1abb4 Use a minimal Alpine runtime image without npm
The node:24-slim image had 262 known vulnerabilities (Trivy), almost
all in Debian system packages, plus 21 in the npm bundled with Node.
None were in the app's own dependencies. The runtime now uses
node:24-alpine with npm, npx, corepack and yarn removed and Alpine
security updates applied: 0 known vulnerabilities.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 18:34:49 +02:00
traberphandClaude Opus 5.5 b217214512 v2: rewrite on Hono + SQLite with user namespaces
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>
2026-10-14 13:57:47 +02:00
Philipp Traber 34b1d33ffb add oauth 2024-10-18 18:28:53 +02:00
Philipp Traber 296046fc0e Containerization 2024-10-17 11:02:05 +02:00