Xfly is a modern, production-ready file sharing platform inspired by tools like WeTransfer, designed for speed, security, and simplicity. The application enables users to upload large files seamlessly and generate shareable links within seconds — all without requiring user authentication.
Built using Laravel 13, Livewire, Alpine.js, and Tailwind CSS, the platform combines a clean UI with a powerful backend to handle large file uploads efficiently using chunk-based uploading.
The system is engineered to support files up to 5GB+, ensuring reliability through advanced features like resumable uploads, upload cancellation, and real-time progress tracking.
🔥 Key Features
📂 File Upload & Sharing
- Upload large files (up to 5GB+)
- Instant generation of secure, unique download links
- No login required (guest-friendly experience)
⚡ Advanced Upload Engine
- Chunk-based upload system (prevents failure on large files)
- Resume upload after refresh
- Retry failed chunks automatically
- Upload progress bar with real-time updates
- Speed tracking (MB/s)
- ETA calculation (seconds, minutes, hours)
⛔ Upload Controls
- Cancel upload anytime (with server cleanup)
- Prevents corrupted uploads using chunk indexing
- Smart file matching (avoids wrong resume)
🔐 Security Features
- Optional password protection
- Unpredictable secure token-based URLs
- Files cannot be guessed or accessed without link
- Server-side validation and protection
⏳ Auto Expiry System
- File expiration (max 24 hours)
- Automatic file deletion using scheduled jobs
- Background cleanup system (cron-based)
📝 Extra Features
- Add custom notes/messages with file
- Copy link with one click
- Clean and modern UI (dark mode ready)
- Works for both guest and logged-in users
🧠 Technical Highlights
- Backend: Laravel 13 (optimized for large file handling)
- Frontend: Livewire + Alpine.js + Tailwind CSS
- Upload System: Custom chunk upload (5MB chunks)
- Storage: Laravel Storage (local + scalable)
- Scheduler: Automated file cleanup using cron jobs
- Performance: Stream-based download (no memory overload)
🚀 Challenges Solved
- Handling 5GB+ uploads without server crash
- Preventing timeout and memory issues
- Implementing resume upload after refresh
- Managing concurrent chunk uploads safely
- Avoiding data corruption and orphan files
🎯 Use Cases
- Share large files quickly without login
- Temporary file hosting
- Secure document sharing
- Developer file transfer tool
- Lightweight alternative to cloud drives
💡 Why This Project Stands Out
- Handles large-scale uploads on shared hosting
- Fully custom-built upload engine (no third-party dependency)
- Production-level features similar to WeTransfer / Google Drive
- Clean UX + strong backend architecture

