Skip to content

Commit 0b9ecde

Browse files
committed
Doc: adds Chinese README [ci skip]
1 parent 185a921 commit 0b9ecde

File tree

3 files changed

+79
-2
lines changed

3 files changed

+79
-2
lines changed

.github/FUNDING.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
ko_fi: carterli
21
github: LinusDierheimer
2+
ko_fi: carterli
3+
custom: https://paypal.me/zhangsongcui

README-cn.md

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# Fastfetch
2+
3+
Fastfetch 是一款类似 neofetch 的系统信息展示工具,主要用 C 编写,强调性能和可定制性。支持 Linux、macOS、Windows 7+、Android、FreeBSD、OpenBSD、NetBSD、DragonFly、Haiku、SunOS。
4+
5+
示例配置见 presets/examples,更多截图与平台说明见 Wiki。
6+
7+
## 安装
8+
9+
Linux(部分):
10+
- Debian 13+ / Ubuntu: apt install fastfetch
11+
- Arch: pacman -S fastfetch
12+
- Fedora: dnf install fastfetch
13+
- openSUSE: zypper install fastfetch
14+
- Linuxbrew:brew install fastfetch
15+
- 各发行版打包状态:https://repology.org/project/fastfetch/versions
16+
17+
macOS:
18+
- Homebrew:brew install fastfetch
19+
- MacPorts:sudo port install fastfetch
20+
21+
Windows:
22+
- scoop install fastfetch
23+
- choco install fastfetch
24+
- winget install fastfetch
25+
- MSYS2:pacman -S mingw-w64-<subsystem>-<arch>-fastfetch
26+
27+
BSD:
28+
- FreeBSD:pkg install fastfetch
29+
- NetBSD:pkgin in fastfetch
30+
- OpenBSD:pkg_add fastfetch
31+
32+
Android(Termux):
33+
- pkg install fastfetch
34+
35+
Nightly 构建:
36+
- https://nightly.link/fastfetch-cli/fastfetch/workflows/ci/dev?preview
37+
38+
## 源码构建
39+
40+
基本上是 `cmake . && make`。详见 Wiki:https://github.com/fastfetch-cli/fastfetch/wiki/Building
41+
42+
## 使用
43+
44+
- 默认运行:`fastfetch`
45+
- 查看所有可用模块示例:`fastfetch -c all.jsonc`
46+
- 以 JSON 输出指定模块:`fastfetch -s <module1>[:<module2>] --format json`
47+
- 完整命令行帮助:`fastfetch --help`
48+
- 生成最小配置:`fastfetch --gen-config [</path/to/config.jsonc>]`
49+
- 生成完整配置:`fastfetch --gen-config-full`
50+
- 请使用支持 JSON schema 的编辑器(如 VSCode)编辑配置文件!
51+
- 如果你连接 Github 有网络困难(智能提示不生效),可将配置文件中的 `$schema` 的值替换为 `https://gitee.com/carterl/fastfetch/raw/dev/doc/json_schema.json`
52+
53+
## 定制
54+
55+
- 配置使用 JSONC,语法与选项见 Wiki:https://github.com/fastfetch-cli/fastfetch/wiki/Configuration
56+
- 预设示例位于 presets,可用 `-c <filename>` 加载
57+
- Logo 选项与图像显示见文档:https://github.com/fastfetch-cli/fastfetch/wiki/Logo-options
58+
- 模块格式化(示例,仅显示 GPU 名称):
59+
```jsonc
60+
{
61+
"modules": [
62+
{ "type": "gpu", "format": "{name}" }
63+
]
64+
}
65+
```
66+
详见:https://github.com/fastfetch-cli/fastfetch/wiki/Format-String-Guide
67+
68+
## 反馈与支持
69+
70+
- 使用问题:Discussions https://github.com/fastfetch-cli/fastfetch/discussions
71+
- 疑似缺陷:Issues https://github.com/fastfetch-cli/fastfetch/issues(请填写模版)
72+
73+
## 赞助
74+
75+
<img src="https://github.com/user-attachments/assets/a36a6501-e8b0-4a10-9061-b9206d12ffba" width="220">

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
[![latest packaged version(s)](https://repology.org/badge/latest-versions/fastfetch.svg)](https://repology.org/project/fastfetch/versions)
1212
[![Packaging status](https://repology.org/badge/tiny-repos/fastfetch.svg)](https://repology.org/project/fastfetch/versions)
1313
[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/fastfetch-cli/fastfetch)
14+
[![中文README](https://img.shields.io/badge/%E4%B8%AD%E6%96%87-README-red)](README-cn.md)
1415

1516
Fastfetch is a [neofetch](https://github.com/dylanaraps/neofetch)-like tool for fetching system information and displaying it in a visually appealing way. It is written mainly in C, with a focus on performance and customizability. Currently, it supports Linux, macOS, Windows 7+, Android, FreeBSD, OpenBSD, NetBSD, DragonFly, Haiku, and SunOS.
1617

@@ -314,7 +315,7 @@ Otherwise, please open a feature request in [GitHub Issues](https://github.com/f
314315

315316
If you find Fastfetch useful, please consider donating.
316317

317-
* Current maintainer: [@CarterLi](https://ko-fi.com/carterli)
318+
* Current maintainer: [@CarterLi](https://paypal.me/zhangsongcui)
318319
* Original author: [@LinusDierheimer](https://github.com/sponsors/LinusDierheimer)
319320

320321
## Star History

0 commit comments

Comments
 (0)