mickael-kerjean/filestash

GitHub: mickael-kerjean/filestash

一款插件驱动的通用文件管理平台,通过Web界面统一访问SFTP、S3、WebDAV等20多种存储协议,支持丰富的文件格式预览与工作流自动化。

Stars: 13818 | Forks: 967

![截图](https://static.pigsec.cn/wp-content/uploads/repos/2026/03/c046edcf32190334.jpg) # 这是什么?

它最初是一个与存储无关的类似 Dropbox 的文件管理器,适用于每种存储协议:FTPSFTPS3SMBWebDAV、IPFS 以及大约 20 种其他协议

它已经发展成我们心目中世界上最好的文件管理平台,其中除了宇宙根本真理以外的所有内容都存在于插件中。其他平台要么全盘接受要么放弃,而我们的平台为您提供了一个坚如磐石的核心和一个处理各种需求的插件系统,因此无论需求有多深,唯一的限制不会是技术,而是您自己的创造力。

storage + auth architecture

# 关键特性
  • Plugin Driven Architecture: everything that matters is a plugin, browse the ecosystem or build your own. With this approach, you get exactly what you need without any kind of overhead or bloat.
  • Universal Access: a sleek web client made in vanilla JS that's infinitely customizable via dynamic patch plugins, plus gateways to access your data via SFTP, MCP or S3, integrations via APIs and via web components like this psd viewer
  • Integrations: our explicit goal is to support 100% of storage and authentication technologies on the market. Beyond your usual options, you can go much further, like a virtual filesystem delegating authentication to your WordPress site and using its roles to drive RBAC authorization.
  • Workflow Engine: automate anything that happens to your files by chaining actions on events, from simple notifications via Slack or email to full on MFT pipelines and everything in between.
  • File Apps: use any of the existing apps or build your own, from astronomy to embroidery and everything in between like:
  • Themes:
  • AI features for search, smart folders and OCRs.
  • ... and much much more (versioning, audit, public site, antivirus, quota, chat, chromecast support, on demand video transcoding, mounting shared links as network drive, ....)
    As a rule of thumb, if your problem involves files, we either already have a plugin for it or can make a plugin for it
# 开始使用 要安装 Filestash,请前往[入门](https://www.filestash.app/docs/?origin=github)指南。如果您想利用插件,请前往[清单](https://www.filestash.app/docs/plugin/?origin=github),或了解有关[开发您自己的插件](https://www.filestash.app/docs/guide/plugin-development.html?origin=github)的信息。 如果您在文件管理问题上需要指导和专家帮助,请[预约通话](https://www.filestash.app/tunnel/demo/?origin=github),让我们看看 Filestash 是否是适合您的平台。 # 愿景与理念 我们的目标很简单:**打造有史以来最好的文件管理平台。就这么简单。** 但“最好”对不同的人意味着不同的事情,而使 Filestash 模块化是实现这一目标的唯一理智模式。任何不是宇宙根本真理且可能引发争论的东西都属于插件。关键特性中列出的每一部分实际上都是一个插件,您可以将其替换为另一种实现或完全删除。 这种模块化是通过编程接口的魔力实现的。例如,如果您想要一个 [Dropbox 风格的 FTP 前端](https://news.ycombinator.com/item?id=9224),您会发现 [FTP 插件](https://github.com/mickael-kerjean/filestash/tree/master/server/plugin/plg_backend_ftp)简单地实现了这个接口: ``` type IBackend interface { Ls(path string) ([]os.FileInfo, error) // list files in a folder Stat(path string) (os.FileInfo, error) // file stat Cat(path string) (io.ReadCloser, error) // download a file Mkdir(path string) error // create a folder Rm(path string) error // remove something Mv(from string, to string) error // rename something Save(path string, file io.Reader) error // save a file Touch(path string) error // create a file // I have omitted 2 other methods, a first one to enable connections reuse and // another one to declare what should the login form be like. } ``` 您可以为 Filestash 的每个关键组件实现接口:从存储到身份验证、授权、自定义应用程序、搜索、缩略图生成、前端补丁、中间件、端点创建以及其他一些在[插件开发指南](https://www.filestash.app/docs/guide/plugin-development.html)中记录的接口。 要查看当前您的实例中安装了什么,请前往 [/about](https://demo.filestash.app/about)。插件清单[在此处记录](https://www.filestash.app/docs/plugin/) # 支持 - 商业用户 → [支持合同](https://www.filestash.app/pricing/?origin=github) - 对于个人: - IRC (libera.chat) 上的 [#filestash](https://kiwiirc.com/nextclient/#irc://irc.libera.chat/#filestash?nick=guest??) - Bitcoin: `3LX5KGmSmHDj5EuXrmUvcg77EJxCxmdsgW` - [Open Collective](https://opencollective.com/filestash) # 致谢 Filestash 站在以下巨人的肩膀上:[贡献者](https://github.com/mickael-kerjean/filestash/graphs/contributors)、开发[出色库](https://github.com/mickael-kerjean/filestash/blob/master/go.mod)的人们、一大堆 C 语言的东西([C 标准库](https://imgs.xkcd.com/comics/dependency.png)、[libjpeg](https://libjpeg-turbo.org/)、[libpng](https://www.libpng.org/pub/png/libpng.html)、[libgif](https://giflib.sourceforge.net/)、[libraw](https://www.libraw.org/about)等等)、[fontawesome](https://fontawesome.com)、[material](https://material.io/icons/)、[Browser stack](https://www.browserstack.com/)(让我们能够在真实设备上进行测试),以及许多来自内布拉斯加州和其他地方的人,他们默默无闻地维护着 Filestash 所依赖的关键组件: credit to the nebraska guy on xkcd
标签:CMS安全, Dropbox替代, EVTX分析, FTP客户端, Go语言, IPFS, JavaScript, LangChain, S3浏览器, SMB, WebDAV, 云存储, 企业文档管理, 基础设施安全, 对象存储, 开源, 插件化架构, 数据中台, 数据访问层, 文件传输, 文件共享, 文件管理, 无Fuse, 日志审计, 私有云, 程序破解, 统一存储, 网盘系统, 自托管, 请求拦截, 跨平台访问, 轻量级, 错误配置检测