Commit graph

7 commits

Author SHA1 Message Date
neil
c652ca456b Markdown: link editor and preview block by block in split view
Editing a block highlights its rendered copy in the preview for a moment
(and scrolls it into view); clicking a block in the preview puts the
cursor at its source and briefly marks that source behind the editor.
Top-level blocks and list items each map to their own source range.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 02:47:04 -08:00
neil
080fb451a6 Configurable trusted proxy (FORWARDED_ALLOW_IPS); named deploy targets
FORWARDED_ALLOW_IPS (default 127.0.0.1) lets the app sit behind a proxy that
reaches it over a Docker network instead of loopback; README shows the
compose.override.yml for that. deploy.sh <name> picks HOST_<NAME> from the
gitignored .deploy.env and leaves a server's compose.override.yml alone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 01:35:23 -08:00
neil
21202c2ca3 Keep server details out of the repo; deploy target comes from HOST or .deploy.env
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 01:19:28 -08:00
neil
dc2b12a3c6 Syntax Highlighting tool, Markdown guide, unread share badge, Open in menu
- Syntax Highlighting (/syntax): highlight.js tokens rendered with VS Code
  (Dark/Light Modern, One Dark Pro, Monokai, Dracula, GitHub) and Android
  Studio (Darcula, Dark, IntelliJ Light) colors; copy as rich text (VS Code
  clipboard HTML), download RTF, share. Format via Prettier/sql-formatter
  (lazy-loaded), the JSON printer, or built-in whitespace-only formatters
  for brace languages, Python and XML.
- Markdown: Guide dialog, source next to rendered output, with Insert.
- Pastes created by Share count as unread on the Pastebin nav badge.
- Paste view: Open in menu built from registry opensPaste tools.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 00:30:13 -08:00
neil
f4232ef9b5 Pastebin limits: 5 MB per paste, 10 per IP and 1000 site-wide per 24 h
Creations are logged in SQLite (IP as an HMAC with a per-install key, kept
24 h), so limits survive restarts and deleting a paste doesn't refund it.
The site-wide cap also bounds storage (~5 GB worst case), replacing the
live-storage cap. Adds an Open file button to the paste page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 23:51:19 -08:00
neil
792d48553c deploy.sh: extract as root, not the local uid
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 23:33:35 -08:00
neil
9d910eb147 Tools site: Markdown editor, JSON editor, 24-hour pastebin
Single FastAPI container with a registry-driven single-page front end, so
new tools are one module plus one registry entry. Runs as one container behind a reverse proxy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 23:32:22 -08:00