Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ddddddo/calma
♻Calendar for Markdown♻ ...only for Japan!🗾
https://github.com/ddddddo/calma
calendar ja markdown
Last synced: about 2 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 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-08T11:56:53.000Z (about 2 months ago)
- Last Synced: 2024-11-08T12:33:59.382Z (about 2 months ago)
- Topics: calendar, ja, markdown
- Language: Go
- Homepage: https://scrapbox.io/ddddddo/useful_tools
- Size: 120 KB
- Stars: 19
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# calma
[![GitHub release](https://img.shields.io/github/release/ddddddO/calma.svg)](https://github.com/ddddddO/calma/releases) [![Go Reference](https://pkg.go.dev/badge/github.com/ddddddO/calma)](https://pkg.go.dev/github.com/ddddddO/calma) [![ci](https://github.com/ddddddO/calma/actions/workflows/ci.yaml/badge.svg)](https://github.com/ddddddO/calma/actions/workflows/ci.yaml)
> [!WARNING]
>Only for JapanCalendar for Markdown
Inspired by **[_y-yagi/jpcal_](https://github.com/y-yagi/jpcal)**
Can be used with [esa](https://esa.io/)## Usage
```console
$ calma -h
This CLI outputs Japanese calendar in Markdown. It supports national holidays.Usage of calma:
-a int
Number of months to advance
-html
Output html
-r int
Number of months to retreat$ 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
![image](./sample.png)## 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 -html2022年6月
日
月
火
水
木
金
土22
23
24
25
26
27
2829
30
31
1
2
3
45
6
7
8
9
10
1112
13
14
15
16
17
1819
20
21
22
23
24
2526
27
28
29
30
1
23
4
5
6
7
8
9```
## Stargazers over time
[![Stargazers over time](https://starchart.cc/ddddddO/calma.svg?variant=adaptive)](https://starchart.cc/ddddddO/calma)