goploaderGo 編寫的文件共享服務(wù)
Goploader 的最終目標(biāo)是讓文件共享變得輕松無痛。這個項目由一個服務(wù)器和一個客戶端組成,都是用 Go 編寫的。關(guān)于該項目要記住的主要事項是:
- 從你的終端分享東西應(yīng)該很容易
- 在沒有終端的情況下共享東西應(yīng)該很容易
- 隱私事項
從源代碼構(gòu)建
確保你的機(jī)器上安裝了 Go。
客戶端
$ go get github.com/Depado/goploader/client
$ go build -o $GOPATH/bin/goploader github.com/Depado/goploader/client
服務(wù)器
$ # 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 操作系統(tǒng) 64 位 | Windows 64 位 |
| Linux 32位 | FreeBSD 32 位 | Mac 操作系統(tǒng) 32 位 | Windows 32 位 |
| Linux ARMv7 |
評論
圖片
表情
