GoFile
easy file manager
Install / Use
/learn @csznet/GoFileREADME
goFile
easy file manager
我希望goFile是在运维时提供便利的工具,而不是大而全的文件管理器
介绍
为了方便使用Caddy而写的小东西
简单的在线文件管理器,可以指定目录,指定端口,即用即开
可以自定义前端HTML代码,只需要修改templates目录下的文件即可
目前实现的功能:
- <del>后台远程下载</del>
- 上传文件&拖放上传(分片上传,支持断点续传)
- 删除文件&文件夹
- 新建文件&文件夹
- 解压ZIP、gz压缩包
- 在线编辑文件
- 极简深色主题,设备自适应
- 多语言支持(中文/English,根据浏览器语言自动切换)
- 只读模式 / 只读+上传模式
- API 上传接口(页面底部展示 curl 示例)
- <del>图片缩略图(鸡肋</del>
一键脚本
bash <(curl -fsSL https://raw.githubusercontent.com/csznet/goFile/refs/heads/main/goFile.sh) <<< "3"
一键脚本支持amd64、arm构架,Linux、MacOS系统
<del>Windows系统不会考虑(Windows就不需要去网页管理文件了吧</del>
运行
如果是下载的二进制文件,则为
./goFile
如果使用的是一键脚本,则在需要开启goFile服务的文件夹中执行
goFile
参数
目录
-path
文件目录,默认为./(一键脚本则为执行goFile命令的目录)
端口
-port
web端口,默认为8089
只读
-r
只读模式,只能浏览列表和下载文件,禁止任何写操作。
只读+上传
-ru
只读+上传模式,在只读基础上允许上传文件(拖放/API),禁止编辑、删除、新建目录等操作。
Related Skills
node-connect
352.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
xurl
352.0kA CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.
frontend-design
111.1kCreate 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
352.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
