Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
txthinking committed Jul 25, 2024
1 parent a864a37 commit dcff0bb
Show file tree
Hide file tree
Showing 8 changed files with 724 additions and 285 deletions.
272 changes: 204 additions & 68 deletions README.md

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion docs/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@ echo '**❤️ [Shiliew - A network app designed for those who value their time

cat getting-started.md >> ../readme.md
cat gui.md >> ../readme.md
cat resources.md >> ../readme.md

echo '# CLI Documentation' >> ../readme.md
echo 'Each subcommand has a `--example` parameter that can print the minimal example of usage' >> ../readme.md
jb '$1`brook mdpage`.split("\n").filter(v=>!v.startsWith("[")).join("\n").replace("```\n```", "```\nbrook --help\n```").split("\n").forEach(v=> echo(v.startsWith("**") && !v.startsWith("**Usage") ? "- "+v : v))' >> ../readme.md

cat example.md >> ../readme.md
cat resources.md >> ../readme.md

markdown ../readme.md ./index.html

12 changes: 0 additions & 12 deletions docs/example.md
Original file line number Diff line number Diff line change
Expand Up @@ -262,16 +262,4 @@ brook relay --from :9999 --to 1.2.3.4:9999
brook socks5tohttp --socks5 127.0.0.1:1080 --listen 127.0.0.1:8010
```

## brook pac creates pac server

```
brook pac --listen 127.0.0.1:8080 --proxy 'SOCKS5 127.0.0.1:1080; SOCKS 127.0.0.1:1080; DIRECT' --bypassDomainList ...
```

## brook pac creates pac file

```
brook pac --file proxy.pac --proxy 'SOCKS5 127.0.0.1:1080; SOCKS 127.0.0.1:1080; DIRECT' --bypassDomainList ...
```

## There are countless examples; for more feature suggestions, it's best to look at the commands and parameters in the CLI documentation one by one, and blog, YouTube...
2 changes: 1 addition & 1 deletion docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ nami install brook
brook server -l :9999 -p hello
```

## GUI Client
## Client

| iOS | Android | Mac |Windows |Linux |OpenWrt |
| --- | --- | --- | --- | --- | --- |
Expand Down
201 changes: 174 additions & 27 deletions docs/gui.md

Large diffs are not rendered by default.

509 changes: 338 additions & 171 deletions docs/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
| [nami](https://github.com/txthinking/nami) | A clean and tidy decentralized package manager |
| [joker](https://github.com/txthinking/joker) | Joker can turn process into daemon. Zero-Configuration |
| [nico](https://github.com/txthinking/nico) | Nico can work with brook wsserver together |
| [zhen](https://github.com/txthinking/zhen) | zhen - process and cron manager |
| [z](https://github.com/txthinking/z) | z - process manager |
| [tun2brook](https://github.com/txthinking/tun2brook) | Proxy all traffic just one line command |
| [mad](https://github.com/txthinking/mad) | Generate root CA and derivative certificate for any domains and any IPs |
| [hancock](https://github.com/txthinking/hancock) | Manage multiple remote servers and execute commands remotely |
Expand Down
8 changes: 4 additions & 4 deletions ping/ping.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": "20240606",
"text": "Refer to get Brook Plus for free",
"link": "https://www.txthinking.com/brook.html#referrals",
"text_zh": "邀请以免费获得 Brook Plus",
"link_zh": "https://www.txthinking.com/brook.html#referrals"
"text": "Brook Client Basic Knowledge",
"link": "https://www.txthinking.com/talks/articles/brook-en.article",
"text_zh": "Brook 客户端基础知识",
"link_zh": "https://www.txthinking.com/talks/articles/brook.article"
}

0 comments on commit dcff0bb

Please sign in to comment.