Webfs
simple http directory listing tool with up- and download functionality written in crystal
Install / Use
/learn @seibert-media/WebfsREADME
ABOUT
Provide access to a subtree of the filesystem via http. Simply. Supports
- indexing a directory
- downloading files
- downloading zipped directories
- uploading
- optional parameters (defaults below)
webfs --root ~ --listen 127.0.0.1 --port 3030
DEV
Install crystal-lang (https://crystal-lang.org/) and checkout the repo.
crystal run webfs.cr -- --root . --listen 127.0.0.1 --port 3030
build on debian
curl -sSL https://dist.crystal-lang.org/apt/setup.sh | sudo bash
sudo apt-get install crystal libz-dev libssl-dev
build on mac
brew install pkg-config openssl crystal
export PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig
build release
crystal build webfs.cr --release --static
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> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
