• This repository has been archived on 13/May/2024
  • Stars
    star
    123
  • Rank 288,693 (Top 6 %)
  • Language
    HTML
  • License
    Other
  • Created over 2 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Brook Manager is a Brook management system for medium to large merchants.

brook-manager

A Web UI for fully automatic management of Brook

Features

Features ๅŠŸ่ƒฝ
Fully automatic deployment of brook ๅ…จ่‡ชๅŠจ้ƒจ็ฝฒ brook
User registration/payment/adding nodes will automatically trigger deployment brook ็”จๆˆทๆณจๅ†Œ/ๆ”ฏไป˜/ๆทปๅŠ ่Š‚็‚นไผš่‡ชๅŠจ่งฆๅ‘้ƒจ็ฝฒ brook
You never even need to log into the node machine ไฝ ็”š่‡ณๆฐธ่ฟœไธ้œ€่ฆ็™ปๅฝ•่Š‚็‚นๆœบๅ™จ
User registration ็”จๆˆทๆณจๅ†Œ
Traffic Statistics ๆต้‡็ปŸ่ฎก
Multi-port multi-user ๅคš็ซฏๅฃๅคš็”จๆˆท
Single-port multi-user ๅ•็ซฏๅฃๅคš็”จๆˆท
Audit rules ๅฎก่ฎก่ง„ๅˆ™
multi-level lines ๅคš็บงๅˆซ็บฟ่ทฏ
Multi-level VIP ๅคš็บงๅˆซ VIP
Order and payment ่ฎขๅ•ๅŠๆ”ฏไป˜
Automatically generate subscription links ่‡ชๅŠจ็”Ÿๆˆ่ฎข้˜…้“พๆŽฅ
Ban/Restore User ็ฆ็”จ/ๆขๅค็”จๆˆท
One-line command deployment ไธ€่กŒๅ‘ฝไปค้ƒจ็ฝฒ
MySQL database Auth MySQL ๆ•ฐๆฎๅบ“ Auth
Reset all user traffic on the 1st of every month ๆฏๆœˆ 1 ๅท้‡็ฝฎๆ‰€ๆœ‰็”จๆˆทๆต้‡
Automatically clear their nodes when users expire ๅฝ“็”จๆˆทๅˆฐๆœŸ่‡ชๅŠจๆธ…้™คๅ…ถ่Š‚็‚น
It also supports adding your own manual deployment brook link and traffic Statistics ๅŒๆ—ถไนŸๆ”ฏๆŒๆทปๅŠ ไฝ ่‡ชๅทฑๆ‰‹ๅŠจ้ƒจ็ฝฒ็š„ brook link ๅ’Œๆต้‡็ปŸ่ฎก
... ...

Install nami

bash <(curl https://bash.ooo/nami.sh)

Install mysql

Here take Ubuntu 22.04 as an example, if there is a problem, you can google how to solve the problem of mysql installation and configuration

apt-get install mysql-server mysql-client
nami install mysql-init
mysql-init
systemctl restart mysql.service

Test via mysql client

mysql -h 127.0.0.1 -u root -p111111

Install brook-manager

nami install joker nico hancock mad brook-manager

Run brook-manager http server

create a http server http://127.0.0.1:8080

brook-manager --listen 127.0.0.1:8080 --ui default --mysqladdress 127.0.0.1:3306 --mysqlusername root --mysqlpassword 111111 --mysqldbname brook

Run brook-manager task

brook-manager --task --mysqladdress 127.0.0.1:3306 --mysqlusername root --mysqlpassword 111111 --mysqldbname brook

Run a reverse proxy web server

Here is an example of nico, of course you need to prepare a domain name and resolve it to your server IP

nico domain.com http://127.0.0.1:8080

How to run command as daemon

You may like joker

Amdin URL

https://domain.com/admin/

User URL

https://domain.com

PR Welcome

nami install hancock mad 7z deno denobundle
git clone https://github.com/txthinking/brook-manager.git
cd brook-manager

dev=1 deno run -Ar main.js --listen 127.0.0.1:8080 --ui default --mysqladdress 127.0.0.1:3306 --mysqlusername root --mysqlpassword 111111 --mysqldbname brook
dev=1 deno run -Ar main.js --task --mysqladdress 127.0.0.1:3306 --mysqlusername root --mysqlpassword 111111 --mysqldbname brook

# then open http://127.0.0.1:8080/admin/
# then open http://127.0.0.1:8080

File introduction

โ”œโ”€โ”€ adminapi.js     // admin api
โ”œโ”€โ”€ userapi.js      // user api
โ”œโ”€โ”€ cron.js         // cron
โ”œโ”€โ”€ task.js         // task
โ”œโ”€โ”€ main.js         // entry
โ”œโ”€โ”€ mysqlmigrate.js // mysql db migration
โ”œโ”€โ”€ static/
โ”‚   โ””โ”€โ”€ default/    // default ui, you can create more ui
โ”‚       โ”œโ”€โ”€ account.html
โ”‚       โ”œโ”€โ”€ admin/  // admin ui
โ”‚       โ”œโ”€โ”€ cryptocurrency_payment.html
โ”‚       โ”œโ”€โ”€ index.html
โ”‚       โ”œโ”€โ”€ lang/   // i18n
โ”‚       โ”œโ”€โ”€ signin.html
โ”‚       โ”œโ”€โ”€ signup.html
โ”‚       โ”œโ”€โ”€ simulate_payment.html
โ”‚       โ””โ”€โ”€ vip.html

License

- Any client-side web page based on this project and any derivatives must provide merchant contact information:

    telegram group or other ways to contact you

- Any client-side web page based on this project and any derivatives must contain the following statement in a prominent place(or other languages with the same meaning):

    The current site is built by the merchant based on the open source software brook-manager(https://github.com/txthinking/brook-manager), and brook has no interest in you. If you encounter problems, please contact the merchant.

Disclaimer

We have no liability to you.

More Repositories

1

brook

A cross-platform programmable network tool
Go
14,398
star
2

google-hosts

Google hosts generator
Shell
3,328
star
3

zoro

zoro can help you expose local server to external network. Support both TCP/UDP, of course support HTTP. Zero-Configuration.
Go
1,536
star
4

socks5

SOCKS Protocol Version 5 Library in Go. Full TCP/UDP and IPv4/IPv6 support
Go
641
star
5

nami

A clean and tidy decentralized package manager.
Go
301
star
6

tun2brook

Proxy all traffic just one line command. tun2socks, tun2brook. IPv4 and IPv6, TCP and UDP.
Go
266
star
7

blackwhite

https://github.com/txthinking/brook/tree/master/programmable
JavaScript
246
star
8

joker

Joker can turn process into daemon. Zero-Configuration
C
186
star
9

nico

A HTTP3 web server for reverse proxy and single page application, automatically apply for ssl certificate, Zero-Configuration.
Go
112
star
10

bypass

https://github.com/txthinking/brook/tree/master/programmable
JavaScript
94
star
11

Mailer

A lightweight PHP SMTP mail sender
PHP
93
star
12

frank

Frank is a REST API automated testing tool like Postman but in command line. Auto generate markdown API document.
Go
91
star
13

z

z - process manager
Zig
53
star
14

socks5-configurator

Configure your Chrome with socks5 proxy
JavaScript
50
star
15

mad

Generate root CA and derivative certificate for any domains and any IPs.
Go
37
star
16

soso

HTML
26
star
17

crypto

crypto: Encryption, Hash, Encoding Library
Go
26
star
18

mailx

A lightweight SMTP mail library
Go
25
star
19

cloudupload

Upload files to multiple Cloud Storage in parallel. Automatically apply for ssl certificate with your domain.
Go
25
star
20

jb

jb: write script in an easier way than bash
Zig
20
star
21

bash

One-Click Scripts.
JavaScript
19
star
22

wiresharkhelper

https://www.txthinking.com
19
star
23

x

A util library on golang.
Go
17
star
24

runnergroup

RunnerGroup is like sync.WaitGroup, the diffrence is if one task stops, all will be stopped.
Go
16
star
25

sshexec

A command-line tool to execute remote command through ssh
Go
16
star
26

filelink

Upload and download file in command line
JavaScript
15
star
27

hancock

Manage multiple remote servers and execute commands remotely
Go
14
star
28

denobundle

Bundle assets into the binary with deno compile
JavaScript
14
star
29

denolib

A Deno library to keep everything small.
JavaScript
11
star
30

testsocks5

Test TCP and UDP of socks5 server
Shell
10
star
31

httpserver

This is a very simple http static server, sometimes we need it for testing
Shell
9
star
32

shiliew

An encrypted, undetectable, simple business proxy/VPN.
9
star
33

mail-checker

A chrome extension for checking unseen mail count. http://goo.gl/U4XkPR
JavaScript
8
star
34

markdown

markdown converter and documentation generator
JavaScript
7
star
35

coding-principle

ๅปบ่ฎฎ็ผ–็ ้ฃŽๆ ผ
5
star
36

pingpong

TCP & UDP echo but with address
JavaScript
5
star
37

cloudflare

cloudflare cli
Shell
5
star
38

php-multipart-form-data-leak

POC for php multipart form data leak, make cpu full
Go
4
star
39

no-referer-image

A chrome extention for removing referer header when requesting image
JavaScript
3
star
40

codeinstall

HTML
2
star
41

txthinking

https://www.txthinking.com
2
star
42

testbrook

JavaScript
1
star
43

sitemap

Build sitemap.xml
JavaScript
1
star