Commit Graph

6 Commits

Author SHA1 Message Date
Jeff Emmett d8ff9154a1 feat: Batch uploads with shared /b/{id} link to view all files
Multi-file uploads now generate a batch ID, grouping files together.
A single batch URL (e.g. /b/Ab3xKz9q) shows all files with previews
and download links. Schema migrates automatically for existing DBs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 15:41:43 -04:00
Jeff Emmett 51529e4dad feat: Support multi-file uploads with batch progress and results
Frontend now accepts multiple files via drag-drop or browse, uploads
them sequentially with per-file progress tracking, and shows batch
results with "Copy all URLs". Includes 429 rate-limit auto-retry.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 15:09:13 -04:00
Jeff Emmett a12ed888e0 fix: Add cache-busting query param to CSS links
Prevents browsers from serving stale cached stylesheets.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-23 12:18:53 -07:00
Jeff Emmett 4c22439574 fix: Buffer simple uploads for R2 Content-Length requirement
R2 PutObject requires Content-Length header. Buffer files <100MB into
memory before uploading so the SDK can set the header. Also fix HTML
pattern regex escaping for slug input.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-23 11:55:03 -07:00
Jeff Emmett 18442a7564 feat: Allow custom URL slugs for uploads
Uploaders can optionally set a custom path via the "slug" field.
Slug appears before the file in multipart form so it's available
before streaming begins. Validated: alphanumeric + hyphens/dots/
underscores, 1-64 chars, checked for uniqueness.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-23 10:54:44 -07:00
Jeff Emmett 374c55770d feat: Initial upload-service implementation
Go service streaming file uploads to Cloudflare R2 with SQLite metadata.
Features: drag-and-drop web UI, presigned URL downloads, password protection,
expiry with cleanup, rate limiting, CLI tool, Infisical secret injection.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-22 18:21:57 -07:00