galendar

command module
v0.0.0-...-df22926 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2020 License: MIT Imports: 4 Imported by: 0

README

galendar

This is a golang binary that will retrieve the current and future events from a given calendar.

How to use

You want to see what is coming up in someone's calendar? Provided that you have access to the calendar, just do galendar someone@example.com. An example output can look like

Full-day: Weekend Yey 2017-10-08 @ Home
Happening now: Coding @ - 11:00-11:30
Porting Standup @ LON-0-Blue-Blue B (6) [Google Meet, RingCentral, TV] 09:30-10:00 
Not today: Play badminton @ New York 11:30-12:00 

Fuzzy matching

galendar can also infer the calendar from an inpartial input, e.g., when the email is long and you only remember a part of it. galendar someone or galendar one will also return the correct result. Note that in order to use this, you must have the calendar added to your calendar list.

Installation

Run

go get github.com/jutkko/galendar
Prerequisites

You will need to have golang installed on your machine.

galendar calls the Google Calendar API. To be able to read information from the API, you will need to enable the API. For guidance, please see the docs.

After having downloaded the credentials from the docs, please move the file to ~/.credentials/galendar_client_secret.json. Depending on which Google Account you have created the secret with, the corresponsing calendars will be shown when running galendar.

Uninstall

rm -rf $GOPATH/src/github.com/jutkko/galendar
rm $GOPATH/bin/galendar

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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