diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index df28f1494..fbf968657 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,2 +1,3 @@ -ko_fi: carterli github: LinusDierheimer +ko_fi: carterli +custom: https://paypal.me/zhangsongcui diff --git a/README-cn.md b/README-cn.md new file mode 100644 index 000000000..ac2e075a5 --- /dev/null +++ b/README-cn.md @@ -0,0 +1,75 @@ +# Fastfetch + +Fastfetch 是一款类似 neofetch 的系统信息展示工具,主要用 C 编写,强调性能和可定制性。支持 Linux、macOS、Windows 7+、Android、FreeBSD、OpenBSD、NetBSD、DragonFly、Haiku、SunOS。 + +示例配置见 presets/examples,更多截图与平台说明见 Wiki。 + +## 安装 + +Linux(部分): +- Debian 13+ / Ubuntu: apt install fastfetch +- Arch: pacman -S fastfetch +- Fedora: dnf install fastfetch +- openSUSE: zypper install fastfetch +- Linuxbrew:brew install fastfetch +- 各发行版打包状态:https://repology.org/project/fastfetch/versions + +macOS: +- Homebrew:brew install fastfetch +- MacPorts:sudo port install fastfetch + +Windows: +- scoop install fastfetch +- choco install fastfetch +- winget install fastfetch +- MSYS2:pacman -S mingw-w64---fastfetch + +BSD: +- FreeBSD:pkg install fastfetch +- NetBSD:pkgin in fastfetch +- OpenBSD:pkg_add fastfetch + +Android(Termux): +- pkg install fastfetch + +Nightly 构建: +- https://nightly.link/fastfetch-cli/fastfetch/workflows/ci/dev?preview + +## 源码构建 + +基本上是 `cmake . && make`。详见 Wiki:https://github.com/fastfetch-cli/fastfetch/wiki/Building + +## 使用 + +- 默认运行:`fastfetch` +- 查看所有可用模块示例:`fastfetch -c all.jsonc` +- 以 JSON 输出指定模块:`fastfetch -s [:] --format json` +- 完整命令行帮助:`fastfetch --help` +- 生成最小配置:`fastfetch --gen-config []` + - 生成完整配置:`fastfetch --gen-config-full` + - 请使用支持 JSON schema 的编辑器(如 VSCode)编辑配置文件! + - 如果你连接 Github 有网络困难(智能提示不生效),可将配置文件中的 `$schema` 的值替换为 `https://gitee.com/carterl/fastfetch/raw/dev/doc/json_schema.json` + +## 定制 + +- 配置使用 JSONC,语法与选项见 Wiki:https://github.com/fastfetch-cli/fastfetch/wiki/Configuration +- 预设示例位于 presets,可用 `-c ` 加载 +- Logo 选项与图像显示见文档:https://github.com/fastfetch-cli/fastfetch/wiki/Logo-options +- 模块格式化(示例,仅显示 GPU 名称): +```jsonc +{ + "modules": [ + { "type": "gpu", "format": "{name}" } + ] +} +``` +详见:https://github.com/fastfetch-cli/fastfetch/wiki/Format-String-Guide + +## 反馈与支持 + +- 使用问题:Discussions https://github.com/fastfetch-cli/fastfetch/discussions +- 疑似缺陷:Issues https://github.com/fastfetch-cli/fastfetch/issues(请填写模版) + +## 赞助 + + diff --git a/README.md b/README.md index 39ad40a4a..42132af4e 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ [![latest packaged version(s)](https://repology.org/badge/latest-versions/fastfetch.svg)](https://repology.org/project/fastfetch/versions) [![Packaging status](https://repology.org/badge/tiny-repos/fastfetch.svg)](https://repology.org/project/fastfetch/versions) [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/fastfetch-cli/fastfetch) +[![中文README](https://img.shields.io/badge/%E4%B8%AD%E6%96%87-README-red)](README-cn.md) 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. @@ -314,7 +315,7 @@ Otherwise, please open a feature request in [GitHub Issues](https://github.com/f If you find Fastfetch useful, please consider donating. -* Current maintainer: [@CarterLi](https://ko-fi.com/carterli) +* Current maintainer: [@CarterLi](https://paypal.me/zhangsongcui) * Original author: [@LinusDierheimer](https://github.com/sponsors/LinusDierheimer) ## Star History