{"id":19199344,"url":"https://github.com/csznet/gofile","last_synced_at":"2025-05-09T01:22:00.969Z","repository":{"id":143230784,"uuid":"615007147","full_name":"csznet/goFile","owner":"csznet","description":"easy file manager","archived":false,"fork":false,"pushed_at":"2024-03-25T02:43:37.000Z","size":120,"stargazers_count":93,"open_issues_count":0,"forks_count":12,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-31T20:11:55.484Z","etag":null,"topics":["filemaneger","go","golang","web","webfilemanager"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/csznet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-16T19:00:26.000Z","updated_at":"2025-03-25T07:06:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"5d769f92-a71b-4c32-a2b5-56cceff4d0f1","html_url":"https://github.com/csznet/goFile","commit_stats":null,"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csznet%2FgoFile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csznet%2FgoFile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csznet%2FgoFile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csznet%2FgoFile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/csznet","download_url":"https://codeload.github.com/csznet/goFile/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253172144,"owners_count":21865470,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["filemaneger","go","golang","web","webfilemanager"],"created_at":"2024-11-09T12:26:35.431Z","updated_at":"2025-05-09T01:22:00.940Z","avatar_url":"https://github.com/csznet.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# goFile\neasy file manager\n\n我希望goFile是在运维时提供便利的工具，而不是大而全的文件管理器  \n\n![image](https://github.com/csznet/goFile/assets/127601663/4783cc60-231d-4636-b616-b5a42badd090)\n\n\n\u003cimg width=\"1393\" alt=\"image\" src=\"https://user-images.githubusercontent.com/127601663/227174830-d5747bf9-6210-4fd4-b227-a154db494f11.png\"\u003e\n\n介绍\n===\n\n为了方便使用Caddy使用写的小东西  \n简单的在线文件管理器，可以指定目录，指定端口，即用即开  \n可以自定义前端HTML代码，只需要修改templates目录下的文件即可  \n目前实现的功能： \n\n - \u003cdel\u003e后台远程下载\u003c/del\u003e\n - 上传文件\u0026拖放上传\n - 删除文件\u0026文件夹\n - 新建文件\u0026文件夹\n - 解压ZIP、gz压缩包\n - 在线编辑文件\n - 设备自适应明亮主题\n - 多语言支持（挖坑\n - 只读模式（也可以理解为阅读模式\n - \u003cdel\u003e图片缩略图(鸡肋\u003c/del\u003e\n\n一键脚本\n===\n```shell\ncurl -Lso- csz.net/script/goFile.sh | sudo bash\n```  \n\n一键脚本支持amd64、arm构架，Linux、MacOS系统  \n\u003cdel\u003eWindows系统不会考虑（Windows就不需要去网页管理文件了吧\u003c/del\u003e\n\n运行\n===\n如果是下载的二进制文件，则为\n\n    ./goFile\n\n如果使用的是一键脚本，则在需要开启goFile服务的文件夹中执行\n\n    goFile\n\n\n参数\n===\n### 目录  \n    -path\n\n文件目录，默认为./（一键脚本则为执行`goFile`命令的目录）\n### 端口\n\n    -port\n\nweb端口，默认为8089  \n### 只读\n\n    -r\n\n带入`-r`参数后表示为阅读模式，只能查看列表和下载文件，后面不需要带值  ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsznet%2Fgofile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsznet%2Fgofile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsznet%2Fgofile/lists"}