Code Monkey home page Code Monkey logo

qbtsh's Introduction

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

中文说明

  • 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

Usage:
    qbtsh [Commands]
Command:
    -install    : Install
    -uninstall  : Uninstall
    -update     : Update
    -reload     : Reload
    -h          : Show help
    -v          : Show version
Example:
    1) qbtsh -install     : Install qBittorrent-nox
    3) qbtsh -update      : Update qBittorrent-nox
    5) qbtsh -uninstall   : Remove config,cache and uninstall qBittorrent-nox
    6) qbtsh -reload      : Reload service

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
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

qbtsh's People

Contributors

gek64 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

qbtsh's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.