<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          Plik可擴(kuò)展的臨時(shí)文件上傳系統(tǒng)

          聯(lián)合創(chuàng)作 · 2023-09-30 00:23

          Plik 是一個(gè)以 Golang 編寫的可擴(kuò)展且友好的臨時(shí)文件上傳系統(tǒng)。

          主要特點(diǎn)

          • 強(qiáng)大的命令行客戶端
          • 易于使用的 Web 用戶界面
          • 多數(shù)據(jù)后端
          • 多個(gè)元數(shù)據(jù)后端
          • 可移除:上傳者可以隨時(shí)刪除文件
          • TTL : 自定義到期日期
          • 密碼:使用登錄名/密碼保護(hù)上傳
          • 評(píng)論:添加自定義消息(Markdown 格式)
          • 用戶認(rèn)證:本地/谷歌/OVH
          • 管理員儀表板
          • 服務(wù)器端加密
          • ……

          安裝

          從 Release 頁面下載安裝

          要運(yùn)行 plik,它非常簡(jiǎn)單:

          $ wget https://github.com/root-gg/plik/releases/download/1.3.1/plik-1.3.1-linux-amd64.tar.gz
          $ tar xzvf plik-1.3.1-linux-64bits.tar.gz
          $ cd plik-1.3.1/server
          $ ./plikd
          

          現(xiàn)在擁有一個(gè)在 http://127.0.0.1:8080 上運(yùn)行的功能齊全的 Plik 實(shí)例。可以編輯 server/plikd.cfg 以根據(jù)需要調(diào)整配置(端口、ssl、ttl、后端參數(shù)等)

          從源代碼編譯

          要從源代碼編譯 plik,需要在系統(tǒng)上安裝 golang 和 npm。

          首先,通過 go 獲取項(xiàng)目和庫:

          $ go get github.com/root-gg/plik/server
          $ cd $GOPATH/src/github.com/root-gg/plik/
          

          構(gòu)建并運(yùn)行它:

          $ make
          $ cd server && ./plikd
          

          客戶端

          Plik 附帶了一個(gè)強(qiáng)大的 golang 多平臺(tái) cli 客戶端(可在 Web 界面中下載):

          Usage: plik [options] [FILE] ... Options: -h --help Show this help -d --debug Enable debug mode -q --quiet Enable quiet mode -o, --oneshot Enable OneShot ( Each file will be deleted on first download ) -r, --removable Enable Removable upload ( Each file can be deleted by anyone at anymoment ) -S, --stream Enable Streaming ( It will block until remote user starts downloading ) -t, --ttl TTL Time before expiration (Upload will be removed in m|h|d) -n, --name NAME Set file name when piping from STDIN --server SERVER Overrides plik url --token TOKEN Specify an upload token --comments COMMENT Set comments of the upload ( MarkDown compatible ) -p Protect the upload with login and password --password PASSWD Protect the upload with login:password ( if omitted default login is "plik" ) -a Archive upload using default archive params ( see ~/.plikrc ) --archive MODE Archive upload using specified archive backend : tar|zip --compress MODE [tar] Compression codec : gzip|bzip2|xz|lzip|lzma|lzop|compress|no --archive-options OPTIONS [tar|zip] Additional command line options -s Encrypt upload usnig default encrypt params ( see ~/.plikrc ) --not-secure Do not encrypt upload regardless of ~/.plikrc configurations --secure MODE Archive upload using specified archive backend : openssl|pgp --cipher CIPHER [openssl] Openssl cipher to use ( see openssl help ) --passphrase PASSPHRASE [openssl] Passphrase or '-' to be prompted for a passphrase --recipient RECIPIENT [pgp] Set recipient for pgp backend ( example : --recipient Bob ) --secure-options OPTIONS [openssl|pgp] Additional command line options --update Update client -v --version Show client version 
          

           

          瀏覽 17
          點(diǎn)贊
          評(píng)論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報(bào)
          評(píng)論
          圖片
          表情
          推薦
          點(diǎn)贊
          評(píng)論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報(bào)
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  国产成人无码精免费视频 | 大鸡巴艹艹艹麻豆 | 手机看片久草 | 99精品国产综合久久久久久欧美 | 免费在线观看无码视频 |