hanwen/go-fuse
关于
Go 的 FUSE 绑定
开发工具实测星标增长
- 24小时
- +1
- 7天
- +5
- 15天
- +7
- 1个月
- +13
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Go-FUSE
Go native bindings for the FUSE kernel module.
Use github.com/hanwen/go-fuse/v3/fs library. It follows the wire protocol closely, but provides convenient abstractions for building both node and path based file systems
Release notes
Notable users
Projects that use go-fuse, with their GitHub stars as of November 2026:
| Project | Stars | Use |
|---|---|---|
| rclone | 61k | rclone mount for cloud storage |
| SeaweedFS | 36k | weed mount (through a fork) |
| Kubo (IPFS) | 17k | mounting IPFS and IPNS |
| JuiceFS | 15k | distributed POSIX file system (through a fork) |
| Kopia | 15k | mounting backup snapshots |
| Pachyderm | 6k | mounting data repositories |
| gocryptfs | 5k | encrypted overlay file system |
| Velociraptor | 4k | mounting collected files |
| onedriver | 2k | Microsoft OneDrive client |
| Stargz Snapshotter | 2k | lazy pulling of container images |
| Cloud SQL Auth Proxy | 1k | Unix sockets for database instances |
| SOCI Snapshotter | 1k | lazy pulling of container images |
| Buildbarn | 171 | virtual file system for remote build workers |
Comparison with other FUSE libraries
See docs/comparison.md for a feature comparison with other FUSE libraries for Go.
Examples
example/hello/ contains a 60-line "hello world" filesystem
zipfs/zipfs contains a small and simple read-only filesystem for zip and tar files. The corresponding command is in example/zipfs/ For example,
mkdir /tmp/mountpoint example/zipfs/zipfs /tmp/mountpoint file.zip & ls /tmp/mountpoint fusermount -u /tmp/mountpointzipfs/multizipfs shows how to use combine simple Go-FUSE filesystems into a larger filesystem.
example/loopback mounts another piece of the filesystem. Functionally, it is similar to a symlink. A binary to run is in example/loopback/ . For example
mkdir /tmp/mountpoint example/loopback/loopback -debug /tmp/mountpoint /some/other/directory & ls /tmp/mountpoint fusermount -u /tmp/mountpoint
macOS Support
See docs/macos.md for macFUSE and FSKit support and their limitations.
Windows Support
See docs/windows.md for mounting on Windows through WinFsp.
Credits
Inspired by Taru Karttunen's package, https://bitbucket.org/taruti/go-extra.
Originally based on Ivan Krasin's https://github.com/krasin/go-fuse-zip
Bugs
Report them through https://github.com/hanwen/go-fuse/issues. Please
include a debug trace (set fuse.MountOptions.Debug to true).
License
Like Go, this library is distributed under the new BSD license. See accompanying LICENSE file.
探索相关项目
加载中…