Copy From https://github.com/chenjiandongx/pls And support offline mode
go env -w GOOS=linux
go build -o pls
- cp pls to /usr/local/bin and chmod x to it
cp pls /usr/local/bin
chmod 777 pls
- upgrade or offline
pls upgrade
# or
pls offline
- search and show
pls search 压缩
pls show zip
- web server
pls serve
visit http://localhost:6023
Run web server with nohup
nohup pls serve > pls.log 2>&1 &
- other
Details with bin/start.sh