Skip to content

Live in terminal? Want to know what's someone up to? Why not both?

License

Notifications You must be signed in to change notification settings

jutkko/galendar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 [email protected]. 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

About

Live in terminal? Want to know what's someone up to? Why not both?

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages