Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zoroqi/chinese-cal
https://github.com/zoroqi/chinese-cal
calendar chinese
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zoroqi/chinese-cal
- Owner: zoroqi
- Created: 2023-01-18T12:53:14.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-12T12:26:07.000Z (4 months ago)
- Last Synced: 2024-09-12T23:48:48.401Z (4 months ago)
- Topics: calendar, chinese
- Language: Go
- Homepage:
- Size: 13.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- my-awesome - zoroqi/chinese-cal - 01 star:0.0k fork:0.0k (Go)
README
# chinese cal
经常用 cal 看日期, 但是没有中国的农历, 所以简单写一个工具方便自己使用.
支持的参数:
* `-3`
* `-year` 指定年份
* `-month` 指定月份使用的农历库是 [lunar-go](https://github.com/6tail/lunar-go)
建议使用的中文等宽字体, 显示效果会更好.
我使用的是 [InconsolataGo](https://www.levien.com/type/myfonts/inconsolata.html) 这个字体.
也可以使用 [霞鹜文楷](https://github.com/lxgw/LxgwWenKai) .安装后添加 `alias ,cal = chinese_cal` 就可以方便使用了,