SelfHost HubSelfHost Hub
EN
← 返回到所有服务

GitHub 仓库信息

获取时间 · 2026年8月14日
★ 35,859最新版本: v2.63.23最后更新: 2026年8月14日
README
> [!WARNING]
> 
> **File Browser is archived on 2026-09-01**. The last planned release has already shipped. There will be no further releases, bug fixes, or security fixes.   

<p align="center">
  <img src="./branding/banner.png" width="550"/>
</p>

File Browser provides a file managing interface within a specified directory and it can be used to upload, delete, preview and edit your files. It is a **create-your-own-cloud**-kind of software where you can just install it on your server, direct it to a path and access your files through a nice web interface.

**Background:** [Goodbye File Browser, for Real This Time](https://hacdias.com/2026/07/28/filebrowser/), July 2026.

## Security

Published advisories are listed under [security advisories](https://github.com/filebrowser/filebrowser/security/advisories),
and reporting instructions are in [SECURITY.md](SECURITY.md). Two known issue classes
remain unaddressed and will not be fixed:

- **Command execution, runner, and hooks.** This feature is plagued with vulnerabilities across many published advisories, and would need a full rewrite to be made safe. It is disabled by default; if you re-enable it with `--disable-exec=false`, treat the ability to run commands as equivalent to shell access on the host. Background: [#5199](https://github.com/filebrowser/filebrowser/issues/5199).
- **Session and JWT handling.** Sessions are self-contained JWTs rather than server-side identifiers, so they cannot be revoked, which means that logout, password changes, and renewal leave previously issued tokens valid until they expire, and the same refresh token can be redeemed repeatedly. Assume a leaked token is valid until expiry. Background: [#5216](https://github.com/filebrowser/filebrowser/issues/5216).

If you keep running File Browser, treat it as unmaintained software:

- **Do not expose it directly to the internet.** Put it behind a reverse proxy that terminates TLS and performs its own authentication.
- **Keep the command runner disabled.** It is off by default, so leave it off. See [#5199](https://github.com/filebrowser/filebrowser/issues/5199) and [`docs/command-execution.md`](docs/command-execution.md).
- **Run it unprivileged, inside a container**, with only the directory you intend to serve mounted into it.

## Documentation

Documentation on how to install, configure, and build this project lives in [`docs`](docs) in this repository.

[CONTRIBUTING.md](CONTRIBUTING.md) documents how to build and develop the project, which remains useful to anyone forking it.

## License

[Apache License 2.0](LICENSE) © File Browser Contributors

用了一下,非常稳定,各个论坛评价反馈都很好,特别是性能不错,就是需要这种目标明确,简单稳定的项目。

File Browser 是一个轻量级的文件管理系统,提供简洁的 Web 界面来管理文件。它支持多用户、权限管理,并且可以轻松部署在任何支持 Go 的环境中。

主要功能

  • 文件管理:上传、下载、删除、重命名、移动文件
  • 用户系统:支持多用户和权限管理
  • 文件预览:支持图片、视频、音频、PDF 等文件预览
  • 文件编辑:内置文本编辑器,支持在线编辑文件
  • 文件分享:支持生成分享链接
  • 命令行工具:提供命令行工具进行管理
  • 自定义样式:支持自定义界面样式
  • WebDAV:支持 WebDAV 协议
  • 命令执行:支持在文件操作前后执行自定义命令
  • 多语言支持:支持多种语言界面

部署要求

  • Go 1.16 或更高版本
  • SQLite/MySQL/PostgreSQL(可选,用于存储用户数据)
  • 最低配置:1核 CPU,512MB 内存
  • 推荐配置:1核+ CPU,1GB+ 内存
  • 存储空间:根据需求配置

发现更多