šŸ“ ZIP File Uploader

A modern web-based ZIP file uploader with chunked upload support, built using Dropzone.js and Tailwind CSS. Designed to handle large file uploads reliably with a beautiful and responsive interface.

✨ Features

  • āœ… Drag & Drop interface
  • āœ… Chunked file uploads for large ZIP files
  • āœ… Real-time upload progress with a dynamic progress bar
  • āœ… Responsive design with Tailwind CSS
  • āœ… Restricts uploads to .zip files only
  • āœ… Detailed file preview and status display

šŸš€ Getting Started

Requirements

  • PHP 7.x or higher
  • Web server (e.g., Apache or Nginx)
  • Composer (optional, for managing dependencies if you expand the project)

Folder Structure

project-root/
ā”œā”€ā”€ index.php          # Main front-end UI
ā”œā”€ā”€ upload.php          # Handles file uploads
ā”œā”€ā”€ uploads/            # Destination for uploaded files
ā”œā”€ā”€ README.md           # This file

1. Clone the Repository

git clone https://github.com/HaysamSalik/zip-file-uploader.git
cd zip-file-uploader

2. Set Up Upload Directory

Make sure the uploads/ folder exists and is writable:

mkdir uploads
chmod 777 uploads

3. Run the App

Open index.php in your browser or serve it via a local server:

php -S localhost:8000

Then go to: http://localhost:8000/index.php

4. Upload a File

  • Drag and drop a .zip file or click the dropzone to select a file.
  • Watch the upload progress bar update in real-time.
  • Upon successful upload, file details are displayed below the progress bar.

āš™ļø Customization

  • Modify upload.php for handling files, chunked uploads, file validations, etc.
  • Style updates can be done in the <style> section or through Tailwind utility classes.
  • For advanced handling (chunk saving, file reconstruction, virus scanning), you can integrate a backend framework.

šŸ“¦ Dependencies

šŸ›”ļø Security Tips

  • Sanitize uploaded files.
  • Validate MIME types and file size.
  • Implement authentication/authorization if used in production.

šŸ§‘ā€šŸ’» Author

Developed by Haysam Salik

šŸ“„ License

MIT License. See LICENSE for details.

Top categories

tailwind logo

Need a Tailwind website built?

Hire a professional TailwindCSS developer today.
Loading Svelte Themes