explaingit

jrohy/trojan

5,666GoAudience · ops devopsComplexity · 4/5Setup · hard

TLDR

A web-based management panel for running a multi-user Trojan proxy server that disguises traffic as HTTPS, letting you add users, monitor traffic, and auto-manage TLS certificates from a browser or terminal.

Mindmap

mindmap
  root((Trojan Manager))
    What it does
      Multi-user proxy
      Traffic monitoring
      TLS certificates
    Interfaces
      Web browser panel
      CLI commands
    Installation
      One-line script
      Docker
    Features
      QR code sharing
      Auto cert renewal
      Trojan-Go support
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

Set up a multi-user Trojan proxy server on a VPS using the one-line install script with automatic TLS certificate management

USE CASE 2

Manage user accounts and real-time traffic quotas through the browser-based web panel without touching the command line

USE CASE 3

Generate QR codes and shareable connection links for proxy clients directly from the management interface

USE CASE 4

Switch between the original Trojan engine and Trojan-Go at any time without losing user account data

Tech stack

GoDockeracme.shTrojanTrojan-GoShell

Getting it running

Difficulty · hard Time to first run · 1h+

Requires a domain name already pointed at your VPS and root server access before running the install script.

In plain English

This is a management tool for running a Trojan proxy server with multiple users. Trojan is a protocol that disguises internet traffic as standard HTTPS, commonly used in China to get around network restrictions. This repository provides the administration layer on top of that protocol, handling user accounts, traffic limits, and server controls. The tool can be managed in two ways: through a web page in your browser, or via command-line commands on the server. The web interface lets you add and remove user accounts, view real-time traffic usage, see live server logs, and generate shareable connection links or QR codes for clients. The command-line interface covers the same operations and also supports command auto-completion for bash and zsh shells. Installation is handled through a one-line shell script, or alternatively through Docker containers. The setup requires a domain name that is already pointed at the server before you begin. The tool also integrates certificate management, fetching TLS certificates automatically through acme.sh so that the proxy can operate over encrypted connections. You can switch between two variants of the underlying proxy engine, the original Trojan and Trojan-Go, at any time from the interface. The README is written primarily in Chinese and is aimed at technical users who are setting up their own proxy infrastructure. It includes screenshots of the web management panel and the full list of command-line subcommands available after installation.

Copy-paste prompts

Prompt 1
How do I install the jrohy/trojan management panel on my VPS using the one-line script, and what DNS setup do I need to complete first?
Prompt 2
Walk me through adding a new user account and generating a QR code connection link using the Trojan web management panel
Prompt 3
How do I switch from the original Trojan engine to Trojan-Go in the jrohy/trojan management tool without losing existing user accounts?
Prompt 4
What command-line subcommands does jrohy/trojan provide for managing users and server controls from the terminal with shell auto-completion?
Prompt 5
How does jrohy/trojan use acme.sh to automatically fetch and renew TLS certificates for the proxy server domain?
Open on GitHub → Explain another repo

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

Verify against the repo before relying on details.