calendar

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2026 License: MIT Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Calendar

Calendar in the terminal.

calendar showing events in the terminal
Usage
cal

View a day's events (styled in a terminal, plain when piped; force either with --color always / --color never):

cal view [today]
cal view tomorrow
cal view yesterday
cal view 2026-08-01

Add an event:

cal add "Lunch with Will" --time 12:30 --duration 45m
cal add Standup --date tomorrow --time 9:15 --duration 15m
cal add Launch --date 2026-08-01 --all-day

[!NOTE] On first launch, allow your terminal to access Calendars in System Settings.

Installation

Install with Go:

go install github.com/maaslalani/calendar@main

Or download a binary from the releases.

EventKit

calendar reads your events directly from Apple's native EventKit framework, so it shows the same calendars as Calendar.app.[^go-eventkit]

[^go-eventkit]: EventKit access is powered by go-eventkit.

Calendar File System

[!WARNING] Not Implemented.

Interact with your calendar as a file system. See 0001-calfs.md for the design.

.
└── 2026
    └── 01
        ├── 01
        │   └── Meeting
        │       ├── description
        │       ├── invited
        │       │   ├── alice@example.com
        │       │   ├── bob@example.com
        │       │   └── carol@example.com
        │       ├── start -> 8:00AM
        │       └── end -> 10:00AM
        ├── 02
        ├── 03
        ├── 04
        │   ├── Event
        │   └── Event
        └── 05

License

MIT

Feedback

I'd love to hear your feedback on improving calendar.

Feel free to reach out via:


zzz

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址