echoFS - 一行命令秒变局域网文件中心

发布于

## echofs 是什么?解决什么问题?

**echofs 是一个基于 Rust 的单文件 HTTP 静态资源服务器**,编译后不到 2 MB,却能让你在毫秒内把任意目录变成可浏览的 Web 服务。

它的核心功能直击痛点:

- **目录浏览**:自动列出共享路径下的所有文件
- **媒体预览**:提供现代友好的 WEB UI,图片、视频、音频直接在浏览器播放,无需下载
- **断点续传**:支持 Range 请求,大文件也能拖动播放、中断后继续
- **WebDav 协议**:支持完整 WebDav 协议,任意操作系统均可随心挂载
- **零配置启动**:无需任何配置文件,命令行指定路径即可运行
- **GUI 原生界面**:提供 GUI 窗口应用程序无门槛使用 - 双击打开窗口,鼠标点点即可运行。

```bash
# 共享当前目录,默认端口8080
echofs

# 指定端口并自动打开浏览器
echofs --port 9000 --open
```

启动后终端会输出局域网访问地址,手机、平板、同事电脑一键直达。它就像一个智能 U 盘,插上就能对外提供服务。

> 它不是玩具,而是一个真正能用、好用、高效的工具。

## 软件运行截图

### 命令行

$ echofs
______
| ____ \
| \_\________ ___ _ ___ ___
| \ \ \ | | __|__ | |_ ___ | __|| __|
| | | | | | _|/ _|| ' \ / _ \ | _| |__ \
| / / / | |___\__||_||_|\___/ |_| |___/
|_________________| v0.12.0

Serving /Users/echo/movieson http://0.0.0.0:8080
Available on:
http://127.0.0.1:8080
http://192.168.1.10:8080
Listening on 0.0.0.0:8080

### GUI 版

![GUI 版](http://pic.zhso.org/2026/07/24/cd836b0366de.png)

### Web UI

![Web UI](http://pic.zhso.org/2026/07/24/b78fceb3ca8b.png)

## 我能怎么用?典型场景演示

### 场景1:家庭影音共享

将 NAS 或台式机中的电影库通过 echofs 暴露出来。客厅电视、孩子平板、你的手机,都能直接在线播放 4K 影片,无需转码、无需上传。

echofs --root /mnt/media/movies --port 8000 --open

当你在沙发上用手机刷到书房电脑里的新片时,你会感谢 echofs。

### 场景2:团队协作传文件

临时要给同事传一个 5GB 的项目打包?别压缩、别上传,直接在本机运行 echofs,对方浏览器输入地址即可开始下载,速度就是你的内网带宽。

### 场景3:IoT 设备调试

在树莓派上运行 echofs,快速查看传感器日志、摄像头抓拍的照片或视频流数据。无需搭建复杂服务,一行命令解决问题。

## 尾声

echofs 不是万能的——它在局域网和 NAS 上使用,不替代公网云存储。但正是这种专注,让它在特定场景下无可替代。

它轻量、安全、高效,更重要的是:**简单**。

试试看,也许你会爱上这种“零负担”的文件共享方式。

GitHub 仓库:[https://github.com/dengsgo/echofs](https://github.com/dengsgo/echofs)

在这里下载预编译版本 [GitHub Releases](https://github.com/dengsgo/echofs/releases):

| Platform | Architecture | Default (CLI) | Desktop GUI |
| -------- | ------------ | -------------- | ------------ |
| Linux | AMD64 (x86_64) | [echofs-linux-amd64.tar.gz](https://github.com/dengsgo/echofs/releases/latest/download/echofs-linux-amd64.tar.gz) | [echofs-linux-amd64-gui.tar.gz](https://github.com/dengsgo/echofs/releases/latest/download/echofs-linux-amd64-gui.tar.gz) |
| Linux | ARM64 | [echofs-linux-arm64.tar.gz](https://github.com/dengsgo/echofs/releases/latest/download/echofs-linux-arm64.tar.gz) | — |
| macOS | AMD64 (Intel) | [echofs-darwin-amd64.tar.gz](https://github.com/dengsgo/echofs/releases/latest/download/echofs-darwin-amd64.tar.gz) | **[EchoFS-darwin-amd64.dmg](https://github.com/dengsgo/echofs/releases/latest/download/EchoFS-darwin-amd64.dmg)** · [binary](https://github.com/dengsgo/echofs/releases/latest/download/echofs-darwin-amd64-gui.tar.gz) |
| macOS | ARM64 (Apple Silicon) | [echofs-darwin-arm64.tar.gz](https://github.com/dengsgo/echofs/releases/latest/download/echofs-darwin-arm64.tar.gz) | **[EchoFS-darwin-arm64.dmg](https://github.com/dengsgo/echofs/releases/latest/download/EchoFS-darwin-arm64.dmg)** · [binary](https://github.com/dengsgo/echofs/releases/latest/download/echofs-darwin-arm64-gui.tar.gz) |
| Windows | AMD64 (x86_64) | [echofs-windows-amd64.zip](https://github.com/dengsgo/echofs/releases/latest/download/echofs-windows-amd64.zip) | [echofs-windows-amd64-gui.zip](https://github.com/dengsgo/echofs/releases/latest/download/echofs-windows-amd64-gui.zip) |

---

原文链接:[点击查看](https://www.oschina.net/news/478289)

评论

暂无评论。