Commit Graph

3 Commits

Author SHA1 Message Date
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