goploaderGo 编写的文件共享服务

联合创作 · 2023-09-30 00:23

Goploader 的最终目标是让文件共享变得轻松无痛。这个项目由一个服务器和一个客户端组成,都是用 Go 编写的。关于该项目要记住的主要事项是:

  • 从你的终端分享东西应该很容易
  • 在没有终端的情况下共享东西应该很容易
  • 隐私事项

从源代码构建

确保你的机器上安装了 Go。

客户端

$ go get github.com/Depado/goploader/client
$ go build -o $GOPATH/bin/goploader github.com/Depado/goploader/client

服务器

$ # Move to a new directory that will be used to run the server
$ go get github.com/Depado/goploader/server
$ # The following steps are optional
$ # Execute those if you wish to embed the assets and templates into the binary
$ go get github.com/GeertJohan/go.rice/rice
$ rice embed-go -i=github.com/Depado/goploader/server
$ # End of the optional steps
$ go build github.com/Depado/goploader/server
$ # If you did not embed the resources, make sure to copy the assets and templates directories
$ cp -r $GOPATH/src/github.com/Depado/goploader/server/{assets,templates} .
$ # Execute the binary a first time to trigger the setup
$ # Or write your own conf.yml file
$ ./server

客户端

Linux FreeBSD macOS Windows
Linux 64位 FreeBSD 64 位 Mac 操作系统 64 位 Windows 64 位
Linux 32位 FreeBSD 32 位 Mac 操作系统 32 位 Windows 32 位
Linux ARMv7    

 

浏览 4
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报