mirror of
https://github.com/RubyMetric/chsrc
synced 2025-07-24 09:22:12 +08:00
Update doc
This commit is contained in:
parent
62da78c363
commit
cf32d388fe
2
.github/ISSUE_TEMPLATE/config.yml
vendored
2
.github/ISSUE_TEMPLATE/config.yml
vendored
@ -2,4 +2,4 @@ blank_issues_enabled: true
|
||||
contact_links:
|
||||
- name: ❤️ 赞赏支持 chsrc
|
||||
url: https://afdian.com/a/ccmywish
|
||||
about: chsrc 是否帮助到了你?帮助作者更好的开发和维护 chsrc
|
||||
about: 你是否因为 `chsrc` 而受到启发、节省了时间精力 or whatever?
|
||||
|
10
README.md
10
README.md
@ -14,7 +14,7 @@
|
||||
<img alt="chsrc logo" src="doc/image/chsrc.png"/>
|
||||
</div>
|
||||
|
||||
全平台通用换源工具与框架 `chsrc`,**目标支持 Linux, Windows (MSYS2, Cygwin), macOS, BSD 等尽可能多的操作系统环境,龙芯、飞腾、RISC-V 等尽可能多的 CPU**。
|
||||
全平台通用换源工具与框架 `chsrc`,**目标支持 Linux, Windows (native, MSYS2, Cygwin), macOS, BSD, Android 等尽可能多的操作系统环境,龙芯、飞腾、RISC-V 等尽可能多的 CPU**。
|
||||
|
||||
我们使用 **C11** 来完成上述目标。我们并不使用 Python 或 JS 等解释语言,因为一个简单的换源工具,不应该强行塞给用户一个庞大的解释器和数十、数百 MB 其他文件。
|
||||
|
||||
@ -38,7 +38,7 @@
|
||||
## 🤝 协作与贡献
|
||||
|
||||
> [!TIP]
|
||||
> **`chsrc` 不仅是一个命令行工具,同时也是一个体现了 Ruby on Rails 思想的 MVC 换源框架,它甚至使你能够在不了解C语言的情况下编写出新的换源方法(recipe)。** [Write A Recipe Even If You Don't Know C](./doc/02-Write-A-Recipe-Even-If-You-Dont-Know-C.md)
|
||||
> **`chsrc` 不仅是一个命令行工具,同时也是一个体现了 Ruby on Rails 思想的 MVC 换源框架,它甚至使你能够在不了解C语言的情况下编写出新的换源方法 (recipe)。** 配合使用 [rawstr4c], 这将比写 shell 脚本更加轻松。 [Write A Recipe Even If You Don't Know C](./doc/02-Write-A-Recipe-Even-If-You-Dont-Know-C.md)
|
||||
|
||||
---
|
||||
|
||||
@ -518,14 +518,16 @@ chsrc set conda | anaconda
|
||||
|
||||
## 🚀 赞赏支持
|
||||
|
||||
你是否因为使用 `chsrc` 而节省了时间和精力 or whatever?
|
||||
你是否因为 `chsrc` 而受到启发、节省了时间精力 or whatever?
|
||||
|
||||
爱发电主页: <https://afdian.com/a/ccmywish>
|
||||
|
||||
<img src="https://raw.githubusercontent.com/ccmywish/support-my-oss-work/main/wechat.png" alt="wechat-reward" style="width:300px;"/>
|
||||
<img src="https://raw.githubusercontent.com/ccmywish/support-my-oss-work/main/wechat-reward.png" alt="wechat-reward" style="width:300px;"/>
|
||||
|
||||
<br>
|
||||
|
||||
[rawstr4c]: https://github.com/RubyMetric/rawstr4c
|
||||
|
||||
[@Aaron-212]: https://github.com/Aaron-212
|
||||
[@chenrui333]: https://github.com/chenrui333
|
||||
[@niheaven]: https://github.com/niheaven
|
||||
|
@ -7,7 +7,7 @@
|
||||
! Contributors : Nul None <nul@none.org>
|
||||
! |
|
||||
! Created On : <2024-08-19>
|
||||
! Last Modified : <2025-07-15>
|
||||
! Last Modified : <2025-07-21>
|
||||
! ---------------------------------------------------------- -->
|
||||
|
||||
# Write A Recipe Even If You Don't Know C
|
||||
@ -18,15 +18,15 @@
|
||||
|
||||
<br>
|
||||
|
||||
我鼓励你为新的软件添加换源支持,因为通过 `chsrc` 这将非常简单,你的贡献也将非常有价值。理论上每一个 `recipe` 都需要有专人长时间维护 ([招募](https://github.com/RubyMetric/chsrc/issues/130))。
|
||||
我鼓励你为新的软件添加换源支持,因为通过 `chsrc` 框架,这将比写 shell 脚本更加轻松,你的贡献也将非常有价值。理论上每一个 `recipe` 都需要有专人长时间维护 ([招募](https://github.com/RubyMetric/chsrc/issues/130))。
|
||||
|
||||
- 本项目采用 `GPLv3+` 协议,是真正的**自由软件**,而非仅仅是开源软件
|
||||
- 代码规范灵活遵循 `GNU` 标准(若标准干扰了可维护性,则并不采纳)
|
||||
- 高度模块化,目录结构清晰易懂
|
||||
- 极小依赖,极易构建,只需要 `GCC` 或 `Clang` 即可编译 (`make` 和 `just`可简化,但不是必需的)
|
||||
- 极小依赖,极易构建,只需要 `GCC` 或 `Clang` 即可编译 (`make` 和 `just`可简化编译,但不是必需的)
|
||||
- 易于将 `shell` 脚本转换为等价的 `recipe`
|
||||
- 已有大量 `recipe` 可提供参考,并提供了 [recipe template] 供直接使用
|
||||
- [rawstr4c] 帮助你在C语言中维护复杂的字符串
|
||||
- 本仓库外的子项目 [rawstr4c] 帮助你在C语言中维护复杂的字符串
|
||||
- [chsrc-bootstrap] 帮助你在没有预编译 `chsrc` 的平台上 bootstrap 自己
|
||||
|
||||
<br>
|
||||
|
Loading…
x
Reference in New Issue
Block a user