tinyfilemanager

prasathmaniGPL-3.0活跃维护

单文件 PHP 网页文件管理器,部署一个文件就能在浏览器里浏览、上传、编辑和管理服务器文件,适合快速搭建轻量级在线文件管理入口。

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

2.6发布于 2024-11-05 00:22 UTC6,004star1,820fork同步于 2026-11-10 11:34 UTC

怎么上手

由 README 提炼,执行前请确认
把 tinyfilemanager.php 复制到 Web 目录后直接访问即可
硬件要求按 README 说明

README 未说明硬件要求,只需 PHP 5.5.0 及以上环境,建议启用 fileinfo、iconv、zip、tar、mbstring 扩展

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

单文件 PHP 网页文件管理器,丢到服务器目录即可在浏览器里管理文件

单文件 PHP 网页文件管理器,部署一个文件就能在浏览器里浏览、上传、编辑和管理服务器文件,适合快速搭建轻量级在线文件管理入口。

核心能力

  • 单个 tinyfilemanager.php 文件即可部署,无需数据库
  • 支持上传、下载、复制、移动、删除与新建文件文件夹
  • 内置 Cloud9 编辑器,150+ 语言语法高亮与 35+ 主题
  • 按用户映射独立根目录,基于会话做访问控制
  • 支持 zip/tar 压缩解压、URL 导入与拖拽多文件上传

容易踩的坑

默认账号为 admin/admin@123 和 user/12345,使用前必须在 $auth_users 中改成自己的密码哈希;默认加载 CDN 资源,离线环境需改用 offline 分支;官方提醒不要在公网长期当作常规文件管理器使用,用完应删除脚本

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本2.6
  1. 2.6UI Update - 2.6最新正式版2024-11-05 · 2024-11-05 00:22 UTC

    What's New

    • Updated all CDN library versions
    • Improved the design and Dark theme colors
    • Login page ui cosmetic changes
    • Code format into more readable format
    • Removed unused code

    What's Changed

  2. 2.5.3Offline Version2023-02-22 · 2023-02-22 02:18 UTC
    查看更新说明
    • Now tinyfilemanager will work offline without CND resources

    What's Changed

    New Contributors

    Full Changelog: https://github.com/prasathmani/tinyfilemanager/compare/2.5.0...2.5.3

  3. 2.5.0Winter Release 222022-11-19 · 2022-11-19 19:56 UTC
    查看更新说明
    • Improved UI design
    • Redesign Rename, Delete, Download modal popups
    • Migrate into latest bootstrap version
    • Update all CDN urls into new version
    • added pre-connect and pre-fetch to improve the loading time
    • Added Parallel Chunk Uploads feature
    • CSRF token added, more secure now
    • Removed quick Preview
    • Removed config.sample.php, to make it simple
    • Removed calc folder size feature. due to performance impact
    • Fix root folder advance search issue fixed

    Fixed following issues, #667 #664 #634 #555 #547 #477 #273 #861 #859 #846 #838 #836 #819 #810 #773 #771 #765 #763 #753 #734

    What's Changed

    New Contributors

  4. 2.4.7Chunk file upload and Security fix2022-02-12 · 2022-02-12 08:34 UTC
    查看更新说明

    What's Changed

  5. 2.4.3Dark Theme Version2020-05-24 · 2020-05-24 08:39 UTC
    查看更新说明
    • Added dark theme option
    • Now file manager support external configuration file (optional)
    • Security Updates

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    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: 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 to use as additional configuration file.

    :information_source: To work offline without CDN resources, use offline branch

    :loudspeaker: Features

    • :cd: Open Source: Lightweight, minimalist, and extremely simple to set up.
    • :iphone: Mobile Friendly: Optimized for touch devices and mobile viewing.
    • :information_source: Core Features: Easily create, delete, modify, view, download, copy, and move files.
    • :arrow_double_up: Advanced Upload Options: Ajax-powered uploads with drag-and-drop support, URL imports, and multi-file uploads with extension filtering.
    • :file_folder: Folder & File Management: Create and organize folders and files effortlessly.
    • :gift: Compression Tools: Compress and extract files in zip and tar formats.
    • :sunglasses: User Permissions: User-specific root folder mapping and session-based access control.
    • :floppy_disk: Direct URLs: Easily copy direct URLs for files.
    • :pencil2: Code Editor: Includes Cloud9 IDE with syntax highlighting for 150+ languages and 35+ themes.
    • :page_facing_up: Document Preview: Google/Microsoft document viewer for PDF/DOC/XLS/PPT, supporting previews up to 25 MB.
    • :zap: Security Features: Backup capabilities, IP blacklisting, and whitelisting.
    • :mag_right: Search Functionality: Use datatable.js for fast file search and filtering.
    • :file_folder: Customizable Listings: Exclude specific folders and files from directory views.
    • :globe_with_meridians: Multi-language Support: Translations available in 35+ languages with translation.json.
    • :bangbang: And Much More!

    Deploy by Docker

    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