Commit Graph
7 Commits
Author SHA1 Message Date
traberphandClaude Opus 5.5 90cc10de10 Allow renaming shortcodes
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>
2026-10-14 16:02:52 +02:00
traberphandClaude Opus 5.5 3929ed7663 Redesign the admin UI
Replaces the single-page dashboard with a structured app shell:
sidebar on desktop, bottom tab bar on mobile (PWA), and separate
screens for overview, short links, link pages, API tokens and
administration.

- detail view with tabs: content, appearance, analytics, QR code,
  settings
- small component kit (buttons, form controls, cards, dialogs,
  toasts, tabs) built on semantic color tokens with light and dark
  mode following the system
- native <dialog> modals for creating pages, editing blocks and
  confirmations instead of window.confirm
- theme presets and a live preview of unsaved appearance changes
- removed the v1 screenshots for now

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 14:21:07 +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
traberph 9758f4bf45 switch from logo.clearbit.com to logo.dev 2025-04-02 22:40:46 +02:00
Philipp Traber 87478c9a55 update Readme and minor css changes 2025-02-19 11:56:20 +01:00
Philipp Traber 43d197e05b add short README 2024-10-17 11:13:20 +02:00
Philipp Traber 0cebfea362 Initial commit from Create Next App 2024-08-25 15:56:13 +02:00