explaingit

toyodadoubi/doubi

4,706ShellAudience · ops devopsComplexity · 3/5Setup · moderate

TLDR

A collection of one-command shell scripts that install and manage proxy, traffic relay, and server utility tools on Linux servers, written in Chinese for self-hosters who want faster setup without manual steps.

Mindmap

mindmap
  root((doubi))
    What it does
      Proxy install
      Port forwarding
      Torrent download
      Server tuning
    Tech stack
      Shell
      Linux
      Shadowsocks
      HAProxy
    Use cases
      Proxy routing
      Traffic relay
      BBR tuning
      Remote torrenting
    Audience
      Linux admins
      Self-hosters
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Install and manage a Shadowsocks or ShadowsocksR proxy on a CentOS, Debian, or Ubuntu server with a single shell command.

USE CASE 2

Set up port forwarding and multi-hop relay chains using HAProxy, iptables, or Socat without manual configuration steps.

USE CASE 3

Enable BBR network speed optimization on a Linux server kernel in minutes using the one-click script.

USE CASE 4

Run Aria2 on a remote Linux server for automated torrent and file downloading.

Tech stack

ShellLinuxShadowsocksShadowsocksRHAProxyiptablesAria2BBR

Getting it running

Difficulty · moderate Time to first run · 30min

Requires a Linux VPS running CentOS, Debian, or Ubuntu with root access, all documentation and guides are in Chinese.

No license information is provided in the repository.

In plain English

Doubi is a collection of shell scripts written in Chinese, each designed to install and manage a specific network tool on a Linux server with a single command. The repository is organized as a personal toolkit for setting up proxy, relay, download, and server utility software without needing to follow lengthy manual installation steps. The proxy-related scripts cover tools like Shadowsocks, ShadowsocksR, Brook, and Mtproto Proxy, which are commonly used in China to route internet traffic through an encrypted tunnel. Each script handles installation, starting, stopping, and restarting the service, and some add extra controls like per-user speed limits, device limits, data usage caps, and automatic traffic resets on a schedule. A second group of scripts handles traffic relay and port forwarding, using tools like iptables, HAProxy, Socat, and tinyPortMapper. These let a server forward incoming connections from one port to another address, which is useful for building multi-hop proxy chains or working around blocked IP ranges. There are also scripts for torrent downloading tools such as Aria2 and Cloud Torrent, server utility scripts for enabling BBR (a network speed optimization for Linux kernels), monitoring server status, blocking spam and torrent traffic via firewall rules, and changing SSH port numbers. A VPN setup script for OpenConnect Server and a DNS tool script are included as well. The repository is aimed at people who are comfortable running commands on a Linux server but want a faster path to getting these tools running. All scripts support CentOS, Debian, and Ubuntu. The README is entirely in Chinese and serves as a reference index linking each script to external usage guides on the author's blog.

Copy-paste prompts

Prompt 1
I have a Linux VPS and want to install Shadowsocks using the doubi ss.sh script. Walk me through running it, setting per-user speed limits, and scheduling automatic traffic resets.
Prompt 2
Using doubi HAProxy or iptables scripts, show me how to configure a port-forwarding relay that routes traffic from my VPS to another server for a multi-hop proxy chain.
Prompt 3
How do I use the doubi BBR script to enable BBR congestion control on my Ubuntu 20.04 server? What kernel version do I need?
Prompt 4
I want to install Aria2 on my Linux VPS using a doubi one-click script. How do I configure it to save downloads to a specific folder?
Prompt 5
Using the doubi Mtproto Proxy script, how do I set up a Telegram proxy on my CentOS server?
Open on GitHub → Explain another repo

← toyodadoubi on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.