https://github.com/inv2004/ccal
Calendar with local holidays via ip location
https://github.com/inv2004/ccal
calendar cli
Last synced: about 1 year ago
JSON representation
Calendar with local holidays via ip location
- Host: GitHub
- URL: https://github.com/inv2004/ccal
- Owner: inv2004
- Created: 2023-12-14T22:48:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-09T12:48:11.000Z (over 1 year ago)
- Last Synced: 2024-12-09T13:43:25.447Z (over 1 year ago)
- Topics: calendar, cli
- Language: Nim
- Homepage:
- Size: 197 KB
- Stars: 16
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ```ccal```
Calendar with local holidays via ip location
* Caches holidays and location in local cache folder
* Personal calendars
* Custom highlight [here](#custom-style)

## Install
### Static binary
```bash
curl -LO https://github.com/inv2004/ccal/releases/latest/download/ccal_linux \ # or _macos
&& chmod +x ccal \
&& mv ccal ~/bin/
```
### Nimble
```bash
nimble install ccal
```
### Custom style
`$HOME/.config/ccal/myevents.txt`
```
fgGreen
2024-01-05
2024-06-01
2024-07-01
2024-08-01
styleDim styleUnderscore
2024-06-02
2024-07-31
2024-08-17
```
* it mixes colors sometimes: if it is "red" holiday and your "green day" => yellow
## Usage
```bash
Usage:
ccal [year(s)] [country] year (or several) and country code
[country] [year(s)]
-p print personal days
--cleanup cleanup holidays cache
--version -v version
```