Webfs
A Filesystem Built On Top of the Web.
Install / Use
/learn @brendoncarroll/WebfsREADME
WebFS
WebFS is a filesystem built on top of the web.
WebFS started after looking for a way to use IPFS as a Dropbox replacement, and not finding any really solid solutions. I also wanted to be able to fluidly move my data between traditional storage providers like Dropbox, MEGA, or Google Drive while testing the waters of new p2p storage systems, like Swarm or Filecoin.
If you have ever thought "x can probably be used as a file system", but didn't want to actually write the file system part, WebFS might be of benefit to you.
You can probably turn x into a file system with WebFS by writing a new Store or Cell implementation.
Quick Links
Installation
Installs to $GOPATH/bin with make install
Getting Started
A simple volume spec using the filesystem for storage
{
"cell": {
"file": "CELL_DATA",
},
"store": {
"fs": "BLOBS",
}
}
This configuration will create and write to a file ./CELL_DATA and a directory ./BLOBS, so plan accordingly.
To serve the files over http
$ webfs http --root myvolume.webfs
serving at http://127.0.0.1:7007
Examples
There are examples in the /examples directory.
The examples assume you have the webfs executable on your $PATH.
You can also use
go run ../../cmd/webfs instead of webfs if you don't want to set that up.
Community
Questions and Discussion happening on Matrix.
Related Skills
node-connect
344.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
99.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
