Skip to content
/ qbtsh Public

A tool that makes qBittorrent-nox easier to install, uninstall, update and reload

License

Notifications You must be signed in to change notification settings

gek64/qbtsh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

          ▄▄                            ▄▄
          ██         ██                 ███
          ██         ██                 ██
 ▄██▀███  ██▄████▄ ██████   ▄██▀███   ███████▄
▄█▀   ██  ██    ▀██  ██     ██        ██   ██
██    ██  ██     ██  ██     ▀██████▄  ██   ██
██▄   ██  ██▄   ▄██  ██     █▄   ███  ██   ██
 ▀██████  █▀█████▀   ▀████  ██████▀   ██  ████▄
      ██
   ▄████▄

中文说明

  • Make qBittorrent-nox easier to install, uninstall and reload on Linux kernel system.
  • Using an application installation framework gek_app written by myself, when writing this application, according to the idea of separating system files from third-party software files, the application is installed in /usr/local/bin/qbittorrent-nox, and the application data is stored in /usr/local/etc/qBittorrent/ to avoid problems caused by future system changes.
  • Statically compiled qBittorrent-nox using userdocs/qbittorrent-nox-static

Usage

NAME:
   qbtsh.exe - qBittorrent-nox quick install tool

USAGE:
   qbtsh.exe [global options] command

VERSION:
   v2.00

COMMANDS:
   install, i    Install qBittorrent-nox
   uninstall, u  Remove config,cache and uninstall qBittorrent-nox
   update, up    Update qBittorrent-nox
   reload, r     Reload service
   help, h       Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help
   --version, -v  print the version

Install

# For example, the host is a linux kernel based system with amd64 architecture
# Download the app
curl -Lo /usr/local/bin/qbtsh https://github.com/gek64/qbtsh/releases/latest/download/qbtsh-linux-amd64
# Give the app execute permission
chmod +x /usr/local/bin/qbtsh
# Show help
/usr/local/bin/qbtsh -h

Compile

# Download application source code
git clone https://github.com/gek64/qbtsh.git
# Compile the source code
cd qbtsh
export CGO_ENABLED=0
go build -v -trimpath -ldflags "-s -w"

FAQ

Does this tool support FreeBSD?

  • Not supported, userdocs/qbittorrent-nox-static only supports linux kernel systems, and builds a fully static qBittorrent-nox on FreeBSD is quite a difficult thing.

Is there any way to get this working on FreeBSD?

  • You can try compiling a dynamically linked qBittorrent-nox yourself using the qBittorrent-nox build script I wrote for FreeBSD freebsd build, also I have already compiled binaries for the latest FreeBSD/amd64, you can also use them directly.

How to access after running?

  • After the service runs successfully, you can access it at SERVER_IP:8080. The default user name is admin, and the default password is adminadmin. Although you can use it normally at this time, I still recommend you to change the password in time and use reverse proxy under the web server such as apache or nginx with https enabled, then change the listening address of qBittorrent-nox from 0.0.0.0 to 127.0.0.1 to improve security.

License

  • GPL-3.0 License
  • See LICENSE for details

Credits