Cloud Storage Integration: WebDAV, OneDrive, Google Drive, Telegram, Discord Bot, HuggingFace Database, GitHub API/Releases (read-only), etc.
Local Storage: Docker deployment supports local file system
Smart Upload: Frontend pre-signed direct upload + streaming upload + chunked resumable upload, with real-time progress display, minimizing CF limitations
File Preview: Direct preview support for 30+ formats (images, videos, audio, PDF, Office, code, e-books, etc.), others can be previewed through external IFrame embedding KKFileview
Scheduled Tasks: Support for automated tasks like cleaning upload sessions, storage synchronization, search index rebuilding, etc.
Unified Management: Visual configuration for multiple storage, flexible switching of default storage sources
Powerful Markdown Editor
Vditor Integration: Support for GitHub-style Markdown, math formulas, flowcharts, mind maps
Real-time Preview: WYSIWYG editing experience
Multi-format Export: One-click export to PDF, HTML, PNG, Word
Secure Sharing: Password protection, expiration time, access count limits
Raw Direct Links: Similar to GitHub Raw, suitable for configuration file hosting
WebDAV Protocol Support
Standard Protocol: Supports mounting as a network drive with any WebDAV client
Using GitHub Actions enables automatic deployment of your application after code is pushed. CloudPaste offers two deployment architectures for you to choose from.
Deployment Architecture Selection
Unified Deployment (Recommended)
Frontend and backend deployed on the same Cloudflare Worker
✨ Advantages:
Same Origin - No CORS issues, simpler configuration
Lower Cost - Navigation requests are free, saving 60%+ costs compared to separated deployment
Simpler Deployment - Deploy frontend and backend in one go, no need to manage multiple services
Better Performance - Frontend and backend on the same Worker, faster response time
Separated Deployment
Backend deployed to Cloudflare Workers, frontend deployed to Cloudflare Pages
✨ Advantages:
Flexible Management - Independent deployment, no mutual interference
Team Collaboration - Frontend and backend can be maintained by different teams
Scalability - Frontend can easily switch to other platforms (e.g., Vercel)
Click Generate new token → Generate new token (classic)
Set Token name (e.g., CloudPaste Deployment Control)
Select permissions:
✅ repo (Full repository access)
✅ workflow (Workflow permissions)
Click Generate token
Copy the Token and save as Secret ACTIONS_VAR_TOKEN
Using the Control Panel:
Go to repository Actions tab
In the left workflow list, click ️ Deployment Control Panel
Click Run workflow → Run workflow on the right
In the popup, select the deployment method to enable/disable
Click Run workflow to apply configuration
After updating the switch state, the control panel will automatically trigger the corresponding deployment workflow once (whether it actually deploys is decided by the current switch state)
Unified Deployment Tutorial (Recommended)
Deployment Steps
1️⃣ Configure GitHub Secrets (refer to the configuration section above)
2️⃣ Trigger Deployment Workflow
Method 1: Manual Trigger (recommended for first deployment)
Go to repository Actions tab
Click Deploy SPA CF Workers[一体化部署] on the left
Click Run workflow on the right → select main branch → Run workflow
Method 2: Auto Trigger
Use the deployment control panel to enable SPA Unified Auto Deploy
After that, deployment will be triggered automatically when pushing code to frontend/ or backend/ directory to main branch
Note: When you manually run Deploy SPA CF Workers[一体化部署] from the Actions page, it will always deploy once regardless of the auto-deploy switch. Automatic behavior (push or control panel triggered) is still controlled by the SPA_DEPLOY switch.
3️⃣ Wait for Deployment to Complete
The deployment process takes about 3-5 minutes. The workflow will automatically complete the following steps:
✅ Build frontend static assets
✅ Install backend dependencies
✅ Create/verify D1 database
✅ Initialize database schema
✅ Set encryption secret
✅ Deploy to Cloudflare Workers
4️⃣ Get Deployment URL
After successful deployment, you will see output similar to this in the Actions log:
Published cloudpaste-spa (X.XX sec)
https://cloudpaste-spa.your-account.workers.dev
Your CloudPaste has been successfully deployed! Visit the URL above to use it.
Deployment Complete
Visit your application:https://cloudpaste-spa.your-account.workers.dev
Post-deployment Configuration:
The database will be automatically initialized on first visit
Log in with the default admin account:
Username: admin
Password: admin123
⚠️ Important: Change the default admin password immediately!
Configure your S3-compatible storage service in the admin panel
(Optional) Bind a custom domain in Cloudflare Dashboard
Advantages Recap:
✅ Same origin for frontend and backend, no CORS issues
✅ Navigation requests are free, reducing costs by 60%+
✅ Deploy in one go, simple management
Separated Deployment Tutorial
If you choose separated deployment, follow these steps:
Backend Deployment
1️⃣ Configure GitHub Secrets (refer to the configuration section above)
2️⃣ Trigger Backend Deployment
Method 1: Manual Trigger
Go to repository Actions tab
Click Deploy Backend CF Workers[Worker后端分离部署] on the left
Click Run workflow → Run workflow
Method 2: Auto Trigger
Use the deployment control panel to enable Backend Separated Auto Deploy
Deployment will be triggered automatically when pushing backend/ directory code