mirror of
https://github.com/traberph/short.git
synced 2026-11-22 22:55:12 +00:00
Add dark/light mode toggle and coolors.co palettes
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>
This commit is contained in:
@@ -3,11 +3,11 @@
|
||||
A small self-hosted URL shortener and link-page tool for a handful of people, with login through Authentik (OIDC).
|
||||
|
||||
- **Short links**: `/<code>` for admins, `/<username>/<code>` for everyone else. Codes can be custom or random, and both codes and destinations can be edited later.
|
||||
- **Link pages**: a "link in bio" page with avatar, link buttons, Markdown text blocks and custom colours. Blocks are reordered by drag and drop.
|
||||
- **Link pages**: a "link in bio" page with avatar, link buttons, Markdown text blocks and colour themes, including trending or pasted [coolors.co](https://coolors.co) palettes. Blocks are reordered by drag and drop.
|
||||
- **QR codes**: choose the error correction level and colours, then download as PNG or SVG.
|
||||
- **Privacy-friendly stats**: clicks per day, daily unique visitors, last visit. No raw IPs are stored, the visitor hash uses a salt that rotates daily, and individual clicks are deleted after 90 days.
|
||||
- **API with personal access tokens**: for scripts and iOS Shortcuts.
|
||||
- **Mobile-friendly admin UI**, installable as a PWA. Everything runs as a single container with SQLite.
|
||||
- **Mobile-friendly admin UI** with light and dark mode, installable as a PWA. Everything runs as a single container with SQLite.
|
||||
|
||||
See [REQUIREMENTS.md](REQUIREMENTS.md) for the full feature list.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user