Back to services

Uploady

Uploady is a simple file uploader script with multi file upload support.

View alternatives to Uploady
Suggest edit
Open source
Self-hostable
MIT
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Overview

Uploady is an open-source file upload script that focuses on a modern interface and security, and supports uploading multiple files at once. Its official description says it has more than 20 features and can be deployed in under 5 minutes. The project is built with PHP 8.x and MySQL, its front-end interface is based on Bootstrap 5.3, and it is free and open source under the MIT license. The author is Faris AL-Otaibi.

Key Features

  • Multi-file upload: Supports drag-and-drop uploads and displays upload progress.
  • Five layers of security:
    • MIME type validation
    • Extension whitelist
    • File size limits by user role
    • Blocking of prohibited file names
    • ClamAV virus scanning (optional)
  • Admin dashboard: Provides charts and statistics, and lets you manage all files.
  • Role-based permissions: You can set different upload size limits for different user roles.
  • Visitor data collection: Records the uploader's IP address, browser, operating system and country.
  • Multilingual: Supports multiple languages and is compatible with RTL (right-to-left) text.
  • Customizable appearance: You can add custom CSS/JS, change the logo and favicon, and integrate AdSense and Google Analytics.
  • Automatic file cleanup: Files can be deleted automatically after X days or after being downloaded X times.
  • Page system: You can create and manage custom pages.
  • Abuse reports: Includes a built-in reporting feature.
  • Social sharing: Uploaded files can be shared to social media.
  • REST API: Authenticated with an API key, it lets you upload files by calling the endpoint with tools such as curl. The endpoint returns JSON containing the file name, size, URL, type and more.

Target Users and Use Cases

Suited to individual webmasters, small teams and developers who want to run their own file or image upload site. For example: setting up a public file-sharing site, passing files around temporarily within an organization, hosting your own image gallery, or integrating upload functionality into your own apps and scripts through the API.

Core Strengths

  • Simple to deploy, and it can run on ordinary shared hosting.
  • Multiple layers of upload security, plus real-time virus scanning with ClamAV.
  • Fairly complete feature set, with a built-in admin panel, permissions, statistics and API.
  • MIT license, so you are free to modify it and use it commercially.

Technical Requirements

  • PHP 8.0 or later
  • MySQL 5.7 or later
  • Composer
  • PHP extensions: pdo, pdo_mysql, gd, fileinfo, json, mbstring
  • Optional: ClamAV (for virus scanning)

Installation and Deployment

Standard Installation

  1. Upload all files to your server.
  2. Run composer install in the uploady/ directory.
  3. Enter the database connection details and the site URL in config/config.php.
  4. Set directory permissions, for example 775 for uploads/ and storage/.
  5. Open install.php in your browser and follow the installation wizard.
  6. Delete install.php once the installation succeeds.

Docker Deployment

git clone https://github.com/farisc0de/Uploady
cd Uploady/
# 修改 config/config.php,把 DB_HOST 设为 db 等
docker-compose up -d

Enabling ClamAV

First install and start the ClamAV daemon on your system (instructions are provided for Ubuntu/Debian, CentOS/RHEL and macOS), then turn on the "Virus Scanner" option in the admin dashboard.

Things to Note

In the official v4.0 roadmap, the completed items are: refactoring PhpFileUpload, upgrading to Bootstrap 5.3.3, updating the interface, and ClamAV support. The following features are not yet finished and are currently unavailable:

  • Abuse report dashboard
  • S3 bucket integration
  • File tags (in development)
  • Short link generation (in development)
  • Previews for PDF, video and audio files
  • File comments or notes
  • Email sharing