tinyfilemanager

Single-file PHP file manager, browser and manage your files efficiently and easily with tinyfilemanager

5010
1674
PHP

Tiny File Manager

Live demo
Live demo
GitHub Release
GitHub License
Paypal
GitHub Sponsors

TinyFileManager is a versatile web-based PHP file manager designed for simplicity and efficiency. This lightweight single-file PHP application can be effortlessly integrated into any server directory, allowing users to store, upload, edit, and manage files and folders directly through their web browser.
With multi-language support and compatibility with PHP 5.5+, TinyFileManager enables the creation of individual user accounts, each with its dedicated directory. The platform also includes built-in functionality for handling text files using the Cloud9 IDE.
Featuring syntax highlighting for over 150 languages and more than 35 themes, TinyFileManager offers a comprehensive solution for file management in an online environment.

Caution! Avoid utilizing this script as a standard file manager in public spaces. It is imperative to remove this script from the server after completing any tasks.

Demo

Demo

Documentation

Tinyfilemanager is highly documented on the wiki pages.

Tiny File Manager

Requirements

  • PHP 5.5.0 or higher.
  • Fileinfo, iconv, zip, tar and mbstring extensions are strongly recommended.

How to use

Download ZIP with latest version from master branch.

Just copy the tinyfilemanager.php to your webspace - thats all ๐Ÿ˜ƒ
You can also change the file name from โ€œtinyfilemanager.phpโ€ to something else, you know what i meant for.

Default username/password: admin/admin@123 and user/12345.

โš ๏ธ Warning: Please set your own username and password in $auth_users before use. password is encrypted with password_hash(). to generate new password hash here

To enable/disable authentication set $use_auth to true or false.

โ„น๏ธ Add your own configuration file config.php in the same folder to use as additional configuration file.

โ„น๏ธ To work offline without CDN resources, use offline branch

๐Ÿ“ข Features

  • ๐Ÿ’ฟ Open Source: Lightweight, minimalist, and extremely simple to set up.
  • ๐Ÿ“ฑ Mobile Friendly: Optimized for touch devices and mobile viewing.
  • โ„น๏ธ Core Features: Easily create, delete, modify, view, download, copy, and move files.
  • โซ Advanced Upload Options: Ajax-powered uploads with drag-and-drop support, URL imports, and multi-file uploads with extension filtering.
  • ๐Ÿ“ Folder & File Management: Create and organize folders and files effortlessly.
  • ๐ŸŽ Compression Tools: Compress and extract files in zip and tar formats.
  • ๐Ÿ˜Ž User Permissions: User-specific root folder mapping and session-based access control.
  • ๐Ÿ’พ Direct URLs: Easily copy direct URLs for files.
  • โœ๏ธ Code Editor: Includes Cloud9 IDE with syntax highlighting for 150+ languages and 35+ themes.
  • ๐Ÿ“„ Document Preview: Google/Microsoft document viewer for PDF/DOC/XLS/PPT, supporting previews up to 25 MB.
  • โšก Security Features: Backup capabilities, IP blacklisting, and whitelisting.
  • ๐Ÿ”Ž Search Functionality: Use datatable.js for fast file search and filtering.
  • ๐Ÿ“ Customizable Listings: Exclude specific folders and files from directory views.
  • ๐ŸŒ Multi-language Support: Translations available in 35+ languages with translation.json.
  • โ€ผ๏ธ And Much More!

Deploy by Docker

License, Credit