Sign inSign up

zhangsean/tinyfilemanager

By zhangsean

Updated over 3 years ago

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

Image
1

1.3K

zhangsean/tinyfilemanager repository overview

Tiny File Manager

GitHub Release GitHub License

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.

Features
  • :cd: Open Source, light and extremely simple
  • :iphone: Mobile friendly view for touch devices
  • :information_source: Basic features likes Create, Delete, Modify, View, Download, Copy and Move files
  • :arrow_double_up: Ajax Upload, Ability to drag & drop, upload from URL, multiple files upload with file extensions filter
  • :file_folder: Ability to create folders and files
  • :gift: Ability to compress, extract files (zip, tar)
  • :sunglasses: Support user permissions - based on session and each user root folder mapping
  • :floppy_disk: Copy direct file URL
  • :pencil2: Cloud9 IDE - Syntax highlighting for over 150+ languages, Over 35+ themes with your favorite programming style
  • :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
  • :zap: Backup files and IP blacklist and whitelist
  • :mag_right: Search - Search and filter files using datatable js
  • :file_folder: Exclude folders and files from listing
  • :globe_with_meridians: Multi-language(32+) support and for translations translation.json is file required
  • :bangbang: lots more...

How to use

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

:warning: 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.

:information_source: Add your own configuration file config.php in the same folder /tfm to use as additional configuration file.

Deploy by Docker

Make sure you have already installed docker, Install reference

Notice: Your need an absolute path, and it will be served by tinyfilemanager.

If you want to serve this project at raspberry pi or another special platform, you can download project and build image by yourself.

You can execute this following commands:

$ docker run -d -v /absolute/path:/tfm/data -p 80:80 --restart=always --name tfm -e FM_PSW_ADMIN=admintfm zhangsean/tinyfilemanager
$ docker ps
CONTAINER ID   IMAGE                                COMMAND                  CREATED         STATUS         PORTS                                       NAMES
648dfba9c0ff   zhangsean/tinyfilemanager   "docker-php-entrypoi…"   4 minutes ago   Up 4 minutes   0.0.0.0:80->80/tcp, :::80->80/tcp           tfm

Access http://127.0.0.1/ and enter default username [admin] and password [admintfm], then enjoy it.

DockerHub: https://hub.docker.com/r/zhangsean/tinyfilemanager

License, Credit
  • Available under the GNU license
  • Original concept and development by github.com/alexantr/filemanager
  • CDN Used - jQuery, Bootstrap, Font Awesome, Highlight js, ace js, DropZone js, and DataTable js
  • To report a bug or request a feature, please file an issue
  • Contributors

Tag summary

Content type

Image

Digest

sha256:75b5a15f2

Size

32.7 MB

Last updated

over 3 years ago

docker pull zhangsean/tinyfilemanager