|
7 | 7 | [](https://www.paypal.me/prasathmani)
|
8 | 8 | 
|
9 | 9 |
|
10 |
| -> TinyFileManager is web based PHP file manager and it is a simple, fast and small size in single-file PHP file that can be dropped into any folder on your server, multi-language ready web application for storing, uploading, editing and managing files and folders online via web browser. The Application runs on PHP 5.5+, It allows the creation of multiple users and each user can have its own directory and a build-in support for managing text files with cloud9 IDE and it supports syntax highlighting for over 150+ languages and over 35+ themes. |
| 10 | +> 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. |
| 11 | +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. |
| 12 | +Featuring syntax highlighting for over 150 languages and more than 35 themes, TinyFileManager offers a comprehensive solution for file management in an online environment. |
11 | 13 |
|
12 |
| -**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._ |
| 14 | +<sub>**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._</sub> |
13 | 15 |
|
14 | 16 | ## Demo
|
15 | 17 |
|
@@ -46,81 +48,23 @@ To enable/disable authentication set `$use_auth` to true or false.
|
46 | 48 |
|
47 | 49 | ### :loudspeaker: Features
|
48 | 50 |
|
49 |
| -- :cd: Open Source, light and extremely simple |
50 |
| -- :iphone: Mobile friendly view for touch devices |
51 |
| -- :information_source: Basic features likes Create, Delete, Modify, View, Download, Copy and Move files |
52 |
| -- :arrow_double_up: Ajax Upload, Ability to drag & drop, upload from URL, multiple files upload with file extensions filter |
53 |
| -- :file_folder: Ability to create folders and files |
54 |
| -- :gift: Ability to compress, extract files (`zip`, `tar`) |
55 |
| -- :sunglasses: Support user permissions - based on session and each user root folder mapping |
56 |
| -- :floppy_disk: Copy direct file URL |
57 |
| -- :pencil2: Cloud9 IDE - Syntax highlighting for over `150+` languages, Over `35+` themes with your favorite programming style |
58 |
| -- :page_facing_up: Google/Microsoft doc viewer helps you preview `PDF/DOC/XLS/PPT/etc`. 25 MB can be previewed with the Google Drive viewer |
59 |
| -- :zap: Backup files and IP blacklist and whitelist |
60 |
| -- :mag_right: Search - Search and filter files using `datatable js` |
61 |
| -- :file_folder: Exclude folders and files from listing |
62 |
| -- :globe_with_meridians: Multi-language(32+) support and for translations `translation.json` is file required |
63 |
| -- :bangbang: lots more... |
64 |
| - |
65 |
| -## Deploy by Docker |
66 |
| - |
67 |
| -Make sure you have **already installed docker**, [Install reference](https://docs.docker.com/engine/install/) |
68 |
| - |
69 |
| -> **Notice:** Your need an absolute path, and it will be served by tinyfilemanager. |
70 |
| -> |
71 |
| -> If you want to serve this project at **raspberry pi or another special platform**, you can download project and **build image by yourself**. |
72 |
| -
|
73 |
| -You can execute this following commands: |
74 |
| - |
75 |
| -```shell |
76 |
| -$ docker run -d -v /absolute/path:/var/www/html/data -p 80:80 --restart=always --name tinyfilemanager tinyfilemanager/tinyfilemanager:master |
77 |
| -$ docker ps |
78 |
| -CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES |
79 |
| -648dfba9c0ff tinyfilemanager/tinyfilemanager:master "docker-php-entrypoi…" 4 minutes ago Up 4 minutes 0.0.0.0:80->80/tcp, :::80->80/tcp tinyfilemanager |
80 |
| -``` |
81 |
| -Access `http://127.0.0.1/` and enter default username and password, then enjoy it. |
82 |
| - |
83 |
| -DockerHub: [https://hub.docker.com/r/tinyfilemanager/tinyfilemanager](https://hub.docker.com/r/tinyfilemanager/tinyfilemanager) |
84 |
| - |
85 |
| -#### How to change config within docker |
86 |
| - |
87 |
| -Origin: |
88 |
| - |
89 |
| -```php |
90 |
| -// Root path for file manager |
91 |
| -// use absolute path of directory i.e: '/var/www/folder' or $_SERVER['DOCUMENT_ROOT'].'/folder' |
92 |
| -$root_path = $_SERVER['DOCUMENT_ROOT']; |
93 |
| - |
94 |
| -// Root url for links in file manager.Relative to $http_host. Variants: '', 'path/to/subfolder' |
95 |
| -// Will not working if $root_path will be outside of server document root |
96 |
| -$root_url = ''; |
97 |
| -``` |
98 |
| - |
99 |
| -Modified: |
100 |
| - |
101 |
| -```php |
102 |
| -// Root path for file manager |
103 |
| -// use absolute path of directory i.e: '/var/www/folder' or $_SERVER['DOCUMENT_ROOT'].'/folder' |
104 |
| -$root_path = $_SERVER['DOCUMENT_ROOT'].'/data'; |
105 |
| - |
106 |
| -// Root url for links in file manager.Relative to $http_host. Variants: '', 'path/to/subfolder' |
107 |
| -// Will not working if $root_path will be outside of server document root |
108 |
| -$root_url = 'data/'; |
109 |
| -``` |
110 |
| - |
111 |
| -Then, change another config what you want, and add a new volume `-v /absolute/path/index.php:/var/www/html/index.php` in `docker run` command, like this: |
112 |
| - |
113 |
| -```shell |
114 |
| -$ docker run -d -v /absolute/path:/var/www/html/data -v /absolute/path/index.php:/var/www/html/index.php -p 80:80 --restart=always --name tinyfilemanager tinyfilemanager/tinyfilemanager:master |
115 |
| -``` |
116 |
| - |
117 |
| -#### Stop running |
118 |
| - |
119 |
| -If you want to stop a running docker service, or you want to restart a service, you should stop it first, or you got `docker: Error response from daemon: Conflict. The container name "/tinyfilemanager" is already in use by container ...` problem. You can execute this command: |
120 |
| - |
121 |
| -```shell |
122 |
| -$ docker rm -f tinyfilemanager |
123 |
| -``` |
| 51 | +- :cd: **Open Source:** Lightweight, minimalist, and extremely simple to set up. |
| 52 | +- :iphone: **Mobile Friendly:** Optimized for touch devices and mobile viewing. |
| 53 | +- :information_source: **Core Features:** Easily create, delete, modify, view, download, copy, and move files. |
| 54 | +- :arrow_double_up: **Advanced Upload Options:** Ajax-powered uploads with drag-and-drop support, URL imports, and multi-file uploads with extension filtering. |
| 55 | +- :file_folder: **Folder & File Management:** Create and organize folders and files effortlessly. |
| 56 | +- :gift: **Compression Tools:** Compress and extract files in `zip` and `tar` formats. |
| 57 | +- :sunglasses: **User Permissions:** User-specific root folder mapping and session-based access control. |
| 58 | +- :floppy_disk: **Direct URLs:** Easily copy direct URLs for files. |
| 59 | +- :pencil2: **Code Editor:** Includes Cloud9 IDE with syntax highlighting for 150+ languages and 35+ themes. |
| 60 | +- :page_facing_up: **Document Preview:** Google/Microsoft document viewer for PDF/DOC/XLS/PPT, supporting previews up to 25 MB. |
| 61 | +- :zap: **Security Features:** Backup capabilities, IP blacklisting, and whitelisting. |
| 62 | +- :mag_right: **Search Functionality:** Use `datatable.js` for fast file search and filtering. |
| 63 | +- :file_folder: **Customizable Listings:** Exclude specific folders and files from directory views. |
| 64 | +- :globe_with_meridians: **Multi-language Support:** Translations available in 35+ languages with `translation.json`. |
| 65 | +- :bangbang: **And Much More!** |
| 66 | + |
| 67 | +### [Deploy by Docker](https://github.com/prasathmani/tinyfilemanager/wiki/Deploy-by-Docker) |
124 | 68 |
|
125 | 69 | ### <a name=license></a>License, Credit
|
126 | 70 |
|
|
0 commit comments