From 7ee3ffbfc9547fc578674280a13b6e1bfdc316eb Mon Sep 17 00:00:00 2001 From: fen Date: Thu, 17 Sep 2026 10:25:20 -0500 Subject: [PATCH] v0.4.0 release prep: README refresh + new wiki screenshots (Ref #160) --- README.md | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index aaac322..342092c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Palette Palette is a fast, self-hosted pastebin. One Go binary, a SQLite database, and -a web UI for sharing text and small files +a web UI for sharing text and small files. > [!NOTE] >
@@ -10,22 +10,27 @@ a web UI for sharing text and small files ## Features -- Multiple files in one paste +- Text pastes and cans (multiple items in one share) +- File attachments (one file per paste, up to 25 MB) - Password protected pastes -- Expir after a specified time +- Expire after a specified time - Burn after a number of views - Custom URLs - Syntax highlighting with language auto-detection (go-enry) -- Local cookie based submission history -- Cookie based settings -- Themes! +- Public paste listing with search, sort and pagination +- Cookie based saved pastes and settings +- Five base themes (midnight, smooth, pastel-lavender, pastel-peach, pastel-cloud), each with a dark and light variant +- Dark mode toggle in the topbar and settings, with a configurable default ## Screenshots | | | |---|---| -| ![Editor in midnight](https://git.archfox.org/poslop/palette/wiki/raw/palette-previews%2Fmidnight-new.png) | ![Paste view in pastel-peach](https://git.archfox.org/poslop/palette/wiki/raw/palette-previews%2Fpastel-peach-paste.png) | -| ![History in pastel-lavender](https://git.archfox.org/poslop/palette/wiki/raw/palette-previews%2Fpastel-lavender-history.png) | ![Saved in pastel-cloud](https://git.archfox.org/poslop/palette/wiki/raw/palette-previews%2Fpastel-cloud-mine.png) | +| ![Editor in midnight (dark)](https://git.archfox.org/poslop/palette/wiki/raw/palette-previews%2Fdesktop-editor-new.png) | ![Paste view in pastel-peach (light)](https://git.archfox.org/poslop/palette/wiki/raw/palette-previews%2Fdesktop-paste-pastel-peach-light.png) | +| ![Paste view in midnight (dark)](https://git.archfox.org/poslop/palette/wiki/raw/palette-previews%2Fdesktop-paste-midnight-dark.png) | ![Settings and theme picker](https://git.archfox.org/poslop/palette/wiki/raw/palette-previews%2Fdesktop-settings-themes.png) | +| ![Public pastes list](https://git.archfox.org/poslop/palette/wiki/raw/palette-previews%2Fdesktop-public.png) | ![Editor at mobile width](https://git.archfox.org/poslop/palette/wiki/raw/palette-previews%2Fmobile-editor-new.png) | + +Mobile previews (375x812): [paste view](https://git.archfox.org/poslop/palette/wiki/raw/palette-previews%2Fmobile-paste-midnight-dark.png), [public list](https://git.archfox.org/poslop/palette/wiki/raw/palette-previews%2Fmobile-public.png), [settings](https://git.archfox.org/poslop/palette/wiki/raw/palette-previews%2Fmobile-settings.png). ## Get Started @@ -64,9 +69,10 @@ go build -o palette ./cmd/palette | `PALETTE_MAX_ITEM` | `26214400` | Max can item size in bytes (25 MB) | | `PALETTE_ADMIN_KEY` | generated | Admin key; if unset a 32-char hex key is generated and persisted to `/admin-key` (0600) | | `PALETTE_DEFAULT_DARK` | dark on | Default dark mode for new visitors. Set `false`, `0`, or `off` to default to light mode. Visitors who toggle dark mode keep their choice in their browser. | +| `PALETTE_UNLOCK_SECRET` | random per start | HMAC secret for password-unlock cookies. Set a fixed value to keep unlock sessions across restarts or across replicas. | An `/admin` page exists for runtime settings, protected by a key set at -install (`PALETTE_ADMIN_KEY` env var) and resettable locally — see +install (`PALETTE_ADMIN_KEY` env var) and resettable locally. See [API](https://git.archfox.org/poslop/palette/wiki/API) and the [design docs](https://git.archfox.org/poslop/palette/wiki/Home) in the wiki for details. ## API