https://github.com/ddddddo/calma
♻Calendar for Markdown♻ ...only for Japan!🗾
https://github.com/ddddddo/calma
calendar ja markdown
Last synced: 8 months ago
JSON representation
♻Calendar for Markdown♻ ...only for Japan!🗾
- Host: GitHub
- URL: https://github.com/ddddddo/calma
- Owner: ddddddO
- License: bsd-2-clause
- Created: 2021-09-22T15:28:08.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-09-13T19:13:23.000Z (9 months ago)
- Last Synced: 2025-10-11T00:07:25.218Z (8 months ago)
- Topics: calendar, ja, markdown
- Language: Go
- Homepage: https://ddddddo.github.io/calma/
- Size: 2.37 MB
- Stars: 19
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# calma
[](https://github.com/ddddddO/calma/releases) [](https://pkg.go.dev/github.com/ddddddO/calma) [](https://github.com/ddddddO/calma/actions/workflows/ci.yaml)
> [!WARNING]
>Only for Japan
Calendar for Markdown
Inspired by **[_y-yagi/jpcal_](https://github.com/y-yagi/jpcal)**
Can be used with [esa](https://esa.io/)
Web 👉 https://ddddddo.github.io/calma/
## Acknowledgments
- **[holiday-jp/holiday_jp-go](github.com/holiday-jp/holiday_jp-go)**
- Used to determine whether a day is Japanese holiday.
## Usage
```console
$ calma -h
This CLI outputs Japanese calendar in Markdown. It supports national holidays.
Usage of /tmp/go-build2828539375/b001/exe/main:
-a int
Number of months to advance
-concurrent
Concurrent processing (performance deteriorates)
-html
Output html
-r int
Number of months to retreat
-t value
Specify month ('2006-01') (default 2025-05)
-version
Show the version
$ calma
#### 2021年9月
日|月|火|水|木|金|土
--------|--------|--------|--------|--------|--------|--------
22 | 23 | 24 | 25 | 26 | 27 | 28
29 | 30 | 31 | 1 | 2 | 3 | 4
5 | 6 | 7 | 8 | 9 | 10 | 11
12 | 13 | 14 | 15 | 16 | 17 | 18
19 | 20 | 21 | 22 | 23 | 24 | 25
26 | 27 | 28 | 29 | 30 | 1 | 2
```
Markdown output image

## Installation
### Go (1.16 or higher)
```console
$ go install github.com/ddddddO/calma/cmd/calma@latest
```
### Go (1.15 or less)
```console
$ go get github.com/ddddddO/calma/cmd/calma
```
### Homebrew
```console
$ brew install ddddddO/tap/calma
```
### Scoop
```console
$ scoop bucket add ddddddO https://github.com/ddddddO/scoop-bucket.git
$ scoop install ddddddO/calma
```
### deb
```console
$ export CALMA_VERSION=X.X.X
$ curl -o calma.deb -L https://github.com/ddddddO/calma/releases/download/v$CALMA_VERSION/calma_$CALMA_VERSION-1_amd64.deb
$ dpkg -i calma.deb
```
### rpm
```console
$ export CALMA_VERSION=X.X.X
$ yum install https://github.com/ddddddO/calma/releases/download/v$CALMA_VERSION/calma_$CALMA_VERSION-1_amd64.rpm
```
### apk
```console
$ export CALMA_VERSION=X.X.X
$ curl -o calma.apk -L https://github.com/ddddddO/calma/releases/download/v$CALMA_VERSION/calma_$CALMA_VERSION-1_amd64.apk
$ apk add --allow-untrusted calma.apk
```
### etc
**download binary from [here](https://github.com/ddddddO/calma/releases).**
## Miscellaneous
```console
$ calma -html
2022年6月
日
月
火
水
木
金
土
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
3
4
5
6
7
8
9
```
## Stargazers over time
[](https://starchart.cc/ddddddO/calma)