mirror of
https://github.com/saltbo/zpan.git
synced 2026-09-01 15:49:00 +08:00
3b80eff413
- Replace Pages Functions with Workers entry (`workers/bootstrap.ts`) - Add Deploy to Cloudflare button in README - Integrate `@cloudflare/vite-plugin` for CF dev with HMR - Integrate `@hono/vite-dev-server` for Node dev with HMR - `npm run dev` now defaults to CF Workers mode - Add `run_worker_first = ["/api/*"]` so static assets stay free - Extract shared Node bootstrap (`server/bootstrap.ts`) for reuse - Update all docs from Pages to Workers references Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1.7 KiB
1.7 KiB
v2.0 — Foundation
The minimum viable ZPan v2. Get the new stack running, ship it, validate it.
Major Features
File Management
- Upload files via drag-and-drop or file picker
- Direct-to-S3 upload via presigned URLs (files never touch the server)
- List files with type icons and metadata (size, date, type)
- Create folders, navigate directory tree
- Rename, move, copy files and folders
- Batch select and move / delete
- File detail view with download link
- Preview for common types (images, PDF, text, audio, video)
Authentication
- Email + password registration and login
- User roles: admin, member
- Admin can list, disable, and delete users
Storage Backends
- Add / edit / remove S3-compatible storage backends
- Cloudflare R2 as recommended default
- Support any S3-compatible provider (AWS S3, MinIO, Backblaze B2, etc.)
- Storage modes: private (personal files) and public (image bed / CDN)
Infrastructure
- Recycle bin (soft delete, restore, permanent delete, empty)
- Per-user storage quotas set by admin
- Site name and description configurable via admin panel
- Environment variable based configuration
- Cloudflare Workers one-click deploy
- Docker image + docker-compose
Web UI
- Clean, modern file manager interface
- Responsive layout (desktop + mobile)
- Admin panel for storage, user, and system management
v1 Issues Resolved
- #219 Hardcoded JWT secret
- #211 GLIBC crash
- #212 ARM image
- #197 Synology Docker errors
- #172 docker-compose errors
- #159 Baota deployment
- #143 Deployment complexity
- #56 systemd errors
- #214 VPC internal endpoint
- #218 MinIO config issues
- #199 Cloudflare R2 support
- #108 Batch file operations