Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
514 commits
Select commit Hold shift + click to select a range
b2bab26
fix: correct formatting issue causing errors. #601
jaywcjlove Sep 3, 2024
14ce75c
doc: update README.md.
github-actions[bot] Sep 3, 2024
8555c10
doc: update template/contributors.ejs.
github-actions[bot] Sep 3, 2024
4249725
released v1.19.0
jaywcjlove Sep 3, 2024
16c4a08
fix(docset): resolve error during docset file generation. #601
jaywcjlove Sep 3, 2024
3c6f616
released v1.19.1 #601
jaywcjlove Sep 3, 2024
0f18681
chore(deps-dev): bump sqlite3 from 5.0.8 to 5.1.5 (#528)
dependabot[bot] Sep 3, 2024
7851b27
chore(deps): update dependency uglify-js to ~3.19.0 (#583)
renovate[bot] Sep 3, 2024
2737428
chore(deps): update dependency stylus to ~0.63.0 (#522)
renovate[bot] Sep 3, 2024
cb46889
doc: update docker.md (#603)
duzhuoshanwai Sep 12, 2024
6321537
doc: update README.md.
github-actions[bot] Sep 12, 2024
c50c19a
doc: update template/contributors.ejs.
github-actions[bot] Sep 12, 2024
f464536
chore: Add kubernetes deployment (#605)
weironz Sep 20, 2024
8e07207
doc: update README.md.
github-actions[bot] Sep 20, 2024
3281700
doc: update template/contributors.ejs.
github-actions[bot] Sep 20, 2024
d85be58
doc: update command/iostat.md
jaywcjlove Sep 3, 2024
50b5782
chore: rename deploy/yamls -> k8s #605
jaywcjlove Sep 20, 2024
d82ca52
doc: update k8s/README.md
jaywcjlove Sep 20, 2024
9870dba
doc: update README.md.
github-actions[bot] Sep 20, 2024
f6a17c0
doc: update template/contributors.ejs.
github-actions[bot] Sep 20, 2024
686f445
chore: add helm charts (#606)
weironz Sep 20, 2024
fc97de6
doc: update README.md.
github-actions[bot] Sep 20, 2024
a727bb3
doc: update template/contributors.ejs.
github-actions[bot] Sep 20, 2024
4997c40
chore: renamed deploy/helm/ -> k8s/helm/ #606
jaywcjlove Sep 20, 2024
ffc270e
doc: update README.md.
github-actions[bot] Sep 20, 2024
5cd5a45
doc: update template/contributors.ejs.
github-actions[bot] Sep 20, 2024
06c56e9
docs: add BT Panel Deployment Method (#613)
bestlaw66 Oct 31, 2024
3ad005a
doc: update README.md.
github-actions[bot] Oct 31, 2024
7c36a2f
doc: update template/contributors.ejs.
github-actions[bot] Oct 31, 2024
2268588
doc: update command/free.md (#615)
chaofanx Nov 12, 2024
a607043
doc: update command/strings.md (#617)
yeungchie Nov 26, 2024
fbba209
doc: update README.md.
github-actions[bot] Nov 26, 2024
e370038
doc: update template/contributors.ejs.
github-actions[bot] Nov 26, 2024
f5b0488
doc: Update README.md (#618)
githubwxz Nov 29, 2024
84d686c
doc: update README.md.
github-actions[bot] Nov 29, 2024
b8b9389
doc: update template/contributors.ejs.
github-actions[bot] Nov 29, 2024
0775c0d
doc: Update nohup.md (#621)
fusurus Dec 21, 2024
a6207d7
doc: update command/nohup.md
jaywcjlove Dec 21, 2024
5b5557f
doc: update README.md.
github-actions[bot] Dec 21, 2024
fc723b6
doc: update template/contributors.ejs.
github-actions[bot] Dec 21, 2024
1f11d8a
doc: update command/as.md
jaywcjlove Dec 21, 2024
2a18151
doc: update command/at.md
jaywcjlove Dec 21, 2024
d27f055
doc: update README.md.
github-actions[bot] Dec 21, 2024
0ae1a1b
doc: update template/contributors.ejs.
github-actions[bot] Dec 21, 2024
b1272c9
doc: update command/atq.md
jaywcjlove Dec 21, 2024
69890bc
doc: update command/atop.md
jaywcjlove Dec 21, 2024
cc87257
doc: update README.md.
github-actions[bot] Dec 21, 2024
065edf1
doc: update template/contributors.ejs.
github-actions[bot] Dec 21, 2024
db88f1b
doc: update touch.md (#624)
Jeremy2214 Dec 26, 2024
43f5dc0
doc: update README.md.
github-actions[bot] Dec 26, 2024
d4998a1
doc: update template/contributors.ejs.
github-actions[bot] Dec 26, 2024
36a4edf
feat: Create getfacl.md (#625)
fishandsheep Dec 29, 2024
6603a44
doc: update README.md.
github-actions[bot] Dec 29, 2024
000517e
doc: update template/contributors.ejs.
github-actions[bot] Dec 29, 2024
ec0fe45
doc: update column.md (#629)
duzhuoshanwai Jan 11, 2025
2507c01
doc: update README.md.
github-actions[bot] Jan 11, 2025
b846991
doc: update template/contributors.ejs.
github-actions[bot] Jan 11, 2025
025cc00
doc: Update README.md (#631)
ischenyu Feb 1, 2025
5e883e0
doc: update README.md.
github-actions[bot] Feb 1, 2025
9585b89
doc: update template/contributors.ejs.
github-actions[bot] Feb 1, 2025
87a3efd
Add nstat.md and updata Readme.md (#632)
waiwai24 Feb 10, 2025
b066d7a
doc: update README.md.
github-actions[bot] Feb 10, 2025
d0a5738
doc: update template/contributors.ejs.
github-actions[bot] Feb 10, 2025
4ce13f3
doc: Update vi.md (#633)
JellyObjeck Feb 10, 2025
60d460c
doc: update README.md.
github-actions[bot] Feb 10, 2025
5ff4e61
doc: update template/contributors.ejs.
github-actions[bot] Feb 10, 2025
a4a9cda
doc: Update pacman.md (#634)
Xrtero Feb 18, 2025
e5c4b39
doc: update README.md.
github-actions[bot] Feb 18, 2025
86cb964
doc: update template/contributors.ejs.
github-actions[bot] Feb 18, 2025
6fcaf53
released v1.20.0
jaywcjlove Feb 21, 2025
4ce1d2d
faet: add ufw.md (#636)
li7355608 Feb 24, 2025
8cf952e
doc: update README.md.
github-actions[bot] Feb 24, 2025
4d8d6c8
doc: update template/contributors.ejs.
github-actions[bot] Feb 24, 2025
74e3582
doc: Update vi.md (#637)
hanwei1980 Feb 25, 2025
9b2c311
doc: update README.md.
github-actions[bot] Feb 25, 2025
b15713b
doc: update template/contributors.ejs.
github-actions[bot] Feb 25, 2025
984f1fa
doc: update command/losetup.md (#639)
llmons Mar 3, 2025
6494d44
doc: update README.md.
github-actions[bot] Mar 3, 2025
cea25ec
doc: update template/contributors.ejs.
github-actions[bot] Mar 3, 2025
184faaa
doc: Update README.md (#641)
geekeryy Apr 8, 2025
08b80e8
doc: update README.md.
github-actions[bot] Apr 8, 2025
e4a5781
doc: update template/contributors.ejs.
github-actions[bot] Apr 8, 2025
3c1b8ca
doc: atop.md, git.md (#642)
focksor Apr 9, 2025
edbe931
doc: update README.md.
github-actions[bot] Apr 9, 2025
87a3114
doc: update template/contributors.ejs.
github-actions[bot] Apr 9, 2025
6f32e1e
feat: add getcap. fix #644
jaywcjlove Apr 27, 2025
7fb73de
doc: update README.md.
github-actions[bot] Apr 27, 2025
3bf5e61
doc: update template/contributors.ejs.
github-actions[bot] Apr 27, 2025
fbf2cdd
ci: remove .github/workflows/sync.yml #554
jaywcjlove Apr 27, 2025
81f8eef
doc: update README.md
jaywcjlove May 12, 2025
e8a0449
doc: update README.md
jaywcjlove May 12, 2025
35bfec9
ci: update workflows config.
jaywcjlove May 12, 2025
02dbba4
doc: update README.md.
github-actions[bot] May 12, 2025
bcea27f
doc: update template/contributors.ejs.
github-actions[bot] May 12, 2025
b86b82e
doc: Update README.md
jaywcjlove Jun 4, 2025
6197d86
doc: Update README.md
jaywcjlove Jun 13, 2025
22f1caf
website: update contributors.
jaywcjlove Jun 13, 2025
944ab9c
website: udpate contributors page.
jaywcjlove Jun 13, 2025
c7795cd
doc: Update README.md
jaywcjlove Jun 13, 2025
3b82216
doc: update README.md #649
jaywcjlove Jun 13, 2025
a8a0ba3
doc: Update README.md
jaywcjlove Jun 24, 2025
22b9eb6
doc: update README.md.
github-actions[bot] Jun 24, 2025
69550d1
doc: update template/contributors.ejs.
github-actions[bot] Jun 24, 2025
b968a55
doc: update Linux resources in README.md (#650)
huhuhang Jul 3, 2025
6e1768c
doc: update README.md.
github-actions[bot] Jul 3, 2025
837c852
doc: update template/contributors.ejs.
github-actions[bot] Jul 3, 2025
400530b
chore: 添加镜像网站 fix #651
jaywcjlove Jul 8, 2025
67bb207
doc: update README.md
jaywcjlove Jul 8, 2025
5d24187
doc: update README.md
jaywcjlove Jul 8, 2025
38b99d6
doc: update README.md
jaywcjlove Jul 8, 2025
d65d447
doc: update README.md
jaywcjlove Jul 8, 2025
1b582d2
doc: Update README.md
jaywcjlove Jul 9, 2025
e606d90
doc: update named-checkzone.md
jaywcjlove Jul 9, 2025
059fcae
released v1.21.0
jaywcjlove Jul 9, 2025
ced6368
doc: add mirror site #649
jaywcjlove Jul 9, 2025
a6ab2b3
doc: add mirror site #649
jaywcjlove Jul 9, 2025
fe34ecc
doc: add mirror site #649
jaywcjlove Jul 10, 2025
1f54eef
doc: add mirror site #649
jaywcjlove Jul 16, 2025
5a48e17
doc: add mirror site #649
jaywcjlove Jul 16, 2025
b1368b8
doc: add mirror site #649
jaywcjlove Jul 16, 2025
8441c98
doc: add mirror site #649
jaywcjlove Jul 16, 2025
e15fad9
doc: add mirror site #649
jaywcjlove Jul 16, 2025
2cc57dc
fix: command/bmodinfo.md → command/modinfo.md (#652)
kmephistoh Jul 17, 2025
063995a
doc: update README.md.
github-actions[bot] Jul 17, 2025
8d8be83
doc: update template/contributors.ejs.
github-actions[bot] Jul 17, 2025
92d7a8d
doc: add mirror site #649
jaywcjlove Jul 25, 2025
4fd2b5e
feat: add command/sosreport.md #656
jaywcjlove Jul 30, 2025
2c3a1af
doc: add mirror site #649.
jaywcjlove Jul 31, 2025
a4d53d5
doc: Update nmap.md (#660)
jcdj666 Aug 6, 2025
9a71957
doc: update README.md.
github-actions[bot] Aug 6, 2025
a8f95f0
doc: update template/contributors.ejs.
github-actions[bot] Aug 6, 2025
723017c
doc: add mirror site #649.
jaywcjlove Aug 8, 2025
ec1231f
chore: add sponsors.
jaywcjlove Aug 14, 2025
ce45cdb
doc: update README.md.
github-actions[bot] Aug 14, 2025
39505c5
doc: update template/contributors.ejs.
github-actions[bot] Aug 14, 2025
8eb01a4
doc: Update chown.md (#661)
Jeremy2214 Aug 19, 2025
af9b717
doc: update README.md.
github-actions[bot] Aug 19, 2025
21bb5a1
doc: update template/contributors.ejs.
github-actions[bot] Aug 19, 2025
82ee5c2
feat: 增加一键部署到 Netlify、增加一个镜像站 (#662)
sundakai Aug 21, 2025
4867036
doc: update README.md.
github-actions[bot] Aug 21, 2025
2a2f68f
doc: update template/contributors.ejs.
github-actions[bot] Aug 21, 2025
1d90133
fix: 修复 netlify.toml 配置去除错误的换行符 (#663)
sundakai Aug 21, 2025
f0fd91b
doc: update README.md.
github-actions[bot] Aug 21, 2025
dbe2b59
doc: update template/contributors.ejs.
github-actions[bot] Aug 21, 2025
101fb47
doc: update command/groupdel.md (#664)
yibajianghudao Aug 27, 2025
8882fb7
doc: update README.md.
github-actions[bot] Aug 27, 2025
6c9fc8d
doc: update template/contributors.ejs.
github-actions[bot] Aug 27, 2025
6a1f9ba
doc: Update journalctl.md (#665)
Zlanghu Aug 28, 2025
d62cf07
doc: update README.md.
github-actions[bot] Aug 28, 2025
f1c3ee4
doc: update template/contributors.ejs.
github-actions[bot] Aug 28, 2025
f4e2578
doc: Update timedatectl.md (#666)
yibajianghudao Aug 29, 2025
1d0763c
doc: update README.md.
github-actions[bot] Aug 29, 2025
a5b7abb
doc: update template/contributors.ejs.
github-actions[bot] Aug 29, 2025
11072e8
docs: add new mirror site link (#667)
Everything-is-one Sep 9, 2025
47db2c3
doc: update README.md.
github-actions[bot] Sep 9, 2025
ec948e5
doc: update template/contributors.ejs.
github-actions[bot] Sep 9, 2025
a2d6e99
doc: add mirror site #649
jaywcjlove Sep 16, 2025
089c476
doc: update README.md.
github-actions[bot] Sep 16, 2025
c2954f6
doc: update template/contributors.ejs.
github-actions[bot] Sep 16, 2025
6a06254
doc: add mirror site #649
jaywcjlove Sep 16, 2025
34ed4b9
doc: add mirror site #649
jaywcjlove Sep 16, 2025
a1e2ebc
doc: Update README.md (#668)
li7355608 Sep 18, 2025
06d2167
doc: update README.md.
github-actions[bot] Sep 18, 2025
c1026ed
doc: update template/contributors.ejs.
github-actions[bot] Sep 18, 2025
c7aebfb
fix: Fix issue with navigating to the homepage.
jaywcjlove Sep 18, 2025
b57dc54
chore: 添加新的 Web 镜像 (#669)
DYH1319 Sep 23, 2025
3f7550e
doc: update README.md.
github-actions[bot] Sep 23, 2025
0927aa3
doc: update template/contributors.ejs.
github-actions[bot] Sep 23, 2025
fd28b35
doc: add mirror site #669
jaywcjlove Sep 23, 2025
ffb6866
doc: add mirror site #669.
jaywcjlove Sep 27, 2025
eee3149
doc: Update README.md
jaywcjlove Sep 28, 2025
ff08934
doc: Update tmux.md (#671)
duzhuoshanwai Oct 6, 2025
c5ef68a
doc: update README.md.
github-actions[bot] Oct 6, 2025
81dfb3a
doc: update template/contributors.ejs.
github-actions[bot] Oct 6, 2025
b5533b0
doc: Update README.md
jaywcjlove Nov 3, 2025
13368cd
doc: update README.md.
github-actions[bot] Nov 3, 2025
04c6591
doc: update template/contributors.ejs.
github-actions[bot] Nov 3, 2025
3e44029
doc: add mirror site #649
jaywcjlove Nov 16, 2025
dd9bec5
doc: update README.md.
github-actions[bot] Nov 16, 2025
8d2804a
doc: update template/contributors.ejs.
github-actions[bot] Nov 16, 2025
5eca3b9
feat: add ncdu command (#673)
KrisMagical Nov 17, 2025
ebcdfdb
doc: update README.md.
github-actions[bot] Nov 17, 2025
c9186e7
doc: update template/contributors.ejs.
github-actions[bot] Nov 17, 2025
bdcbe25
doc: add new mirror site link (#675)
MarsDoge Nov 26, 2025
f1aa23a
doc: update README.md.
github-actions[bot] Nov 26, 2025
e337103
doc: update template/contributors.ejs.
github-actions[bot] Nov 26, 2025
47ba017
update rsync command, fix issue 640 (#677)
yibajianghudao Nov 27, 2025
ce4e57a
doc: update README.md.
github-actions[bot] Nov 27, 2025
eb6178f
doc: update template/contributors.ejs.
github-actions[bot] Nov 27, 2025
450febc
update groupmod command (#676)
yibajianghudao Nov 27, 2025
633c7ee
doc: add mirror site #649.
jaywcjlove Nov 27, 2025
0a6ee62
doc: update README.md.
github-actions[bot] Nov 27, 2025
6ff3180
doc: update template/contributors.ejs.
github-actions[bot] Nov 27, 2025
1a2f713
doc: add mirror site #649.
jaywcjlove Nov 28, 2025
f88d229
doc: Update README.md
jaywcjlove Dec 3, 2025
c4eb81c
doc: add mirror site #102.
jaywcjlove Dec 10, 2025
e2bced8
doc: add mirror site #102.
jaywcjlove Dec 10, 2025
cc7fed6
doc: add mirror site #102.
jaywcjlove Dec 23, 2025
9dcacb2
doc: update README.md.
github-actions[bot] Dec 23, 2025
bca47cb
doc: update template/contributors.ejs.
github-actions[bot] Dec 23, 2025
dd107af
doc: add mirror site #102.
jaywcjlove Dec 27, 2025
99b6035
Add realpath command (#678)
KrisMagical Jan 3, 2026
06a43fb
doc: update README.md.
github-actions[bot] Jan 3, 2026
d467aeb
doc: update template/contributors.ejs.
github-actions[bot] Jan 3, 2026
3abf70d
doc: Update README.md
jaywcjlove Jan 10, 2026
b3a14cf
doc: update README.md.
github-actions[bot] Jan 10, 2026
a86144a
doc: update template/contributors.ejs.
github-actions[bot] Jan 10, 2026
52bde8a
doc: add mirror site #649
jaywcjlove Jan 22, 2026
f6d6b24
doc: update README.md.
github-actions[bot] Jan 22, 2026
980194a
doc: update template/contributors.ejs.
github-actions[bot] Jan 22, 2026
18f075e
Update ping.md (#680)
tjdxy Jan 28, 2026
0fe4c98
doc: update README.md.
github-actions[bot] Jan 28, 2026
09afe21
doc: update template/contributors.ejs.
github-actions[bot] Jan 28, 2026
cc30195
feat: update build script to copy entire img directory and add Warp s…
jaywcjlove Feb 2, 2026
d65f0c5
fix: update actions versions and node version in CI workflow
jaywcjlove Feb 2, 2026
d089558
released v1.22.0
jaywcjlove Feb 2, 2026
73d5c6c
feat: add Fakey sponsorship
jaywcjlove Feb 3, 2026
24745a0
fix: remove unnecessary line breaks in README.md
jaywcjlove Feb 3, 2026
e8dee03
fix: remove Gitee link due to content issues in README.md
jaywcjlove Feb 3, 2026
1b82b46
fix: update Fakey sponsorship link in footer.ejs
jaywcjlove Feb 3, 2026
62291d8
doc: add mirror site #102.
jaywcjlove Feb 12, 2026
8128a19
doc: update README.md.
github-actions[bot] Feb 12, 2026
2f61d86
doc: update template/contributors.ejs.
github-actions[bot] Feb 12, 2026
a0a6cdb
Add: Documentation for using the beep command (#682)
ischenyu Feb 19, 2026
92d3a12
doc: update README.md.
github-actions[bot] Feb 19, 2026
f9b11ed
doc: update template/contributors.ejs.
github-actions[bot] Feb 19, 2026
d146913
doc: Update README.md
jaywcjlove Feb 15, 2026
c211111
doc: add mirror site #102.
jaywcjlove Mar 6, 2026
8477c76
chore: Update FUNDING.yml
jaywcjlove Mar 14, 2026
aec7f2b
doc: update README.md.
github-actions[bot] Mar 14, 2026
53879ec
doc: update template/contributors.ejs.
github-actions[bot] Mar 14, 2026
756836c
doc: Update README.md
jaywcjlove Mar 14, 2026
fcc847a
doc: add mirror site #649.
jaywcjlove Mar 19, 2026
4192ce9
doc: Update README.md
jaywcjlove Mar 20, 2026
48d7c94
ci: update Dash Feed URL to point to GitHub releases and clean up unu…
jaywcjlove Mar 26, 2026
3736efd
chore: update data.
jaywcjlove Mar 26, 2026
ff2bde5
doc: update README.md
jaywcjlove Mar 27, 2026
7340b97
docs: update README (Warp sponsorship ended).
jaywcjlove Apr 5, 2026
48a300f
doc: Update README
jaywcjlove Apr 16, 2026
6a300a6
doc: Update README
jaywcjlove Apr 16, 2026
74752e1
doc: update README.md
jaywcjlove Apr 16, 2026
2c6a3ed
doc: add mirror site #102.
jaywcjlove Apr 17, 2026
634cde2
doc: add mirror site #102.
jaywcjlove Apr 17, 2026
53ac6e2
doc: update README.md
jaywcjlove Apr 21, 2026
06a7a34
feat: add nmtui command (#687)
Abrillant-Lee May 11, 2026
ef2bf54
doc: update README.md.
github-actions[bot] May 11, 2026
ed33b96
doc: update template/contributors.ejs.
github-actions[bot] May 11, 2026
93a90f6
feat: add l2ping command (#686)
Abrillant-Lee May 11, 2026
7f16c00
doc: update README.md.
github-actions[bot] May 11, 2026
cd8345e
doc: update template/contributors.ejs.
github-actions[bot] May 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
# These are supported funding model platforms

github: [jaywcjlove]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # npm/linux-command
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
custom: https://jaywcjlove.github.io/sponsor.html
#ko_fi: jaywcjlove
#buy_me_a_coffee: jaywcjlove
# custom: ["https://wangchujiang.com/#/sponsor"]
118 changes: 33 additions & 85 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,28 @@ on:
jobs:
build-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 16
node-version: 24
registry-url: 'https://registry.npmjs.org'

- name: Generate Contributors Images
uses: jaywcjlove/github-action-contributors@main
id: contributors
with:
filter-author: (renovate\[bot\]|renovate-bot|dependabot\[bot\])
filter-author: (renovate\[bot\]|renovate-bot|@github-actions-bot|dependabot\[bot\])
avatarSize: 42

- name: Modify README.md
uses: jaywcjlove/github-action-modify-file-content@main
with:
path: README.md
trim_whitespace: false
openDelimiter: '<!--AUTO_GENERATED_PLEASE_DONT_DELETE_IT-->'
closeDelimiter: '<!--AUTO_GENERATED_PLEASE_DONT_DELETE_IT-END-->'
body: |
Expand All @@ -34,17 +38,21 @@ jobs:
uses: jaywcjlove/github-action-modify-file-content@main
with:
path: template/contributors.ejs
trim_whitespace: false
openDelimiter: '<!--AUTO_GENERATED_PLEASE_DONT_DELETE_IT-->'
closeDelimiter: '<!--AUTO_GENERATED_PLEASE_DONT_DELETE_IT-END-->'
body: |
${{steps.contributors.outputs.htmlList}}

- run: npm install
- run: npm run dash
- run: cp CONTRIBUTORS.svg .deploy

- name: Build Linux Command
run: |
npm install
npm run dash
cp CONTRIBUTORS.svg .deploy
rm -rf .deploy/linux-command.docset

- name: Create Tag
id: create_tag
Expand All @@ -58,16 +66,7 @@ jobs:

- name: Update Dash Feed
run: |
echo "<entry><version>${{steps.create_tag.outputs.versionNumber}}</version><url>https://jaywcjlove.github.io/linux-command/linux-command.docset.tgz</url></entry>" > .deploy/linux-command-docset.xml

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
commit_message: '[${{steps.tag_version.outputs.tag}}] ${{ github.event.head_commit.message }}'
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./.deploy
user_name: github-actions[bot]
user_email: github-actions[bot]@users.noreply.github.com
echo "<entry><version>${{steps.create_tag.outputs.versionNumber}}</version><url>https://github.com/jaywcjlove/linux-command/releases/download/${{steps.create_tag.outputs.version}}/linux-command.docset.tgz</url></entry>" > .deploy/linux-command-docset.xml

- name: Generate Changelog
id: changelog
Expand All @@ -80,7 +79,9 @@ jobs:
uses: ncipollo/release-action@v1
if: steps.create_tag.outputs.successful
with:
allowUpdates: true
artifacts: '.deploy/linux-command.docset.tgz'
draft: false
token: ${{ secrets.GITHUB_TOKEN }}
name: ${{ steps.create_tag.outputs.version }}
tag: ${{ steps.create_tag.outputs.version }}
Expand Down Expand Up @@ -122,97 +123,44 @@ jobs:
http://localhost:9665/
```

- run: npm publish
- run: rm -rf .deploy/linux-command.docset
- run: rm -rf .deploy/linux-command.docset.tgz

- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
commit_message: '[${{steps.tag_version.outputs.tag}}] ${{ github.event.head_commit.message }}'
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./.deploy
user_name: github-actions[bot]
user_email: github-actions[bot]@users.noreply.github.com

- run: NODE_AUTH_TOKEN="" npm publish --access public --provenance
continue-on-error: true
name: 📦 linux-command publish to NPM
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

# Create Docker Image
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build and push image:latest
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
push: true
context: .
platforms: linux/amd64,linux/arm64
tags: ${{ secrets.DOCKER_USER }}/linux-command:latest

- name: Build and push image:tags
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
if: steps.create_tag.outputs.successful
with:
push: true
context: .
platforms: linux/amd64,linux/arm64
tags: ${{ secrets.DOCKER_USER }}/linux-command:${{steps.changelog.outputs.version}}

# Create Docker Image in Github
- name: Login to the GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push image:latest
uses: docker/build-push-action@v3
with:
push: true
context: .
platforms: linux/amd64,linux/arm64
tags: ghcr.io/jaywcjlove/linux-command:latest

- name: Build and push image:tags
uses: docker/build-push-action@v3
if: steps.create_tag.outputs.successful
with:
push: true
context: .
platforms: linux/amd64,linux/arm64
tags: ghcr.io/jaywcjlove/linux-command:${{steps.changelog.outputs.version}}

# # Create Docker Image
# - name: Docker login
# run: docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASSWORD }}

# - name: Build linux-command image
# run: |
# rm -rf .deploy/linux-command.docset.tgz
# docker image build -t linux-command .

# - name: Tags & Push image(latest)
# run: |
# docker tag linux-command ${{ secrets.DOCKER_USER }}/linux-command:latest
# docker push ${{ secrets.DOCKER_USER }}/linux-command:latest

# - name: Tags & Push image
# if: steps.create_tag.outputs.successful
# run: |
# echo "outputs.tag - ${{ steps.changelog.outputs.version }}"
# docker tag linux-command ${{ secrets.DOCKER_USER }}/linux-command:${{steps.changelog.outputs.version}}
# docker push ${{ secrets.DOCKER_USER }}/linux-command:${{steps.changelog.outputs.version}}

# # Create Docker Image in Github
# - name: Login to GitHub registry
# run: echo ${{ github.token }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin

# - name: Build docker image
# run: docker build -t ghcr.io/jaywcjlove/linux-command:latest .

# - name: Publish to GitHub registry
# run: docker push ghcr.io/jaywcjlove/linux-command:latest

# - name: Tag docker image (beta) and publish to GitHub registry
# if: steps.create_tag.outputs.successful
# run: |
# echo "version: v${{ steps.changelog.outputs.version }}"
# docker tag ghcr.io/jaywcjlove/linux-command:latest ghcr.io/jaywcjlove/linux-command:${{steps.changelog.outputs.version}}
# docker push ghcr.io/jaywcjlove/linux-command:${{steps.changelog.outputs.version}}
61 changes: 61 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# 贡献者约定

感谢您对本项目提交贡献,为了便于维护者管理,请各位维护人员遵循以下约定

## 如果您希望提交一个命令

命令的存放位置在 `./command/` 文件夹中

1. 在这里创建一个 `[CommandName].md` 文件,比如 `pacman.md`
2. 打开文件,键入指令在终端中执行的命令
3. 第二行输入三个等号
4. 创建二级标题“补充说明”,并且在这个标题下面创建至少下面几个三级标题
- 语法
- 选项
- 参数

按照预期,文档应该是这样的

```markdown
CommandName
===

这里是命令介绍,它可以被搜索到,如果你有个流行的应用,包含多个命令,可放到这里,以便搜索到对应的命令

## 补充说明

**CommandName命令** 是用于演示的文档

### 语法

(具体编写文档时,请使用 shell 代码块包裹以下内容)

CommandName <-abcdABCD> <必选参数> [可选参数]

### 选项

(具体编写文档时,请使用 shell 代码块包裹以下内容)

-a xxxxx
-b xxxxx
...
-C xxxxx
-D xxxxx

### 参数

(具体编写文档时,请使用 shell 代码块包裹以下内容)

可选参数:一般情况下可以不给出

```

## 如果您希望维护前端页面

- 请确保您的代码可以完整的运行在最新的 Chromium 和 Safari 浏览器 (#489)

## 对于提交信息的其他规范

- 约定式提交 <https://www.conventionalcommits.org/zh-hans/v1.0.0/>
- 中文文案排版指北 <https://github.com/sparanoid/chinese-copywriting-guidelines/blob/master/README.zh-Hans.md>
- 扉页 — Google 开源项目风格指南 <https://zh-google-styleguide.readthedocs.io/en/latest/google-shell-styleguide/>
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# https://lipanski.com/posts/smallest-docker-image-static-website
# https://github.com/lipanski/docker-static-website
FROM lipanski/docker-static-website:latest
# https://github.com/forksss/docker-static-website
FROM wcjiang/docker-static-website:latest

# Copy the static website
# Use the .dockerignore file to control what ends up inside the image!
Expand Down
Loading