https://github.com/makarski/gcaler
Google Calendar Scheduler
https://github.com/makarski/gcaler
cli golang google-calendar schedule
Last synced: 6 months ago
JSON representation
Google Calendar Scheduler
- Host: GitHub
- URL: https://github.com/makarski/gcaler
- Owner: makarski
- License: mit
- Created: 2018-01-02T17:07:17.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2021-10-05T22:27:22.000Z (over 4 years ago)
- Last Synced: 2025-10-02T23:44:17.355Z (9 months ago)
- Topics: cli, golang, google-calendar, schedule
- Language: Go
- Homepage:
- Size: 348 KB
- Stars: 7
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
gcaler
------
The name is a concatenation of `google calendar scheduler`.
Currently supported are two subcommands
- `plan` create events from a predefined template, i.e. calendar as code
- `list` list daily calendar events in terminal
Set up
------
This guide implies you have successfully installed and configured [golang](https://golang.org/doc/install) on your machine.
1. Create an app in google developer console
- follow **Step 1** from the [guide](https://developers.google.com/google-apps/calendar/quickstart/go#step_1_turn_on_the_api_name)
- copy `client_secret.json` to the project root
After the first run the google access token will cached in `$HOME/.gcaler/access_token.json`
2. Configure your app
```bash
# 1: create a config
cp templates/default.toml.dist templates/your_name.toml
# 2: modify "your_name.toml" contents with your data
```
3. Run `go install`
4. Run `gcaler` to start using the cli tool
```bash
$ gcaler -help
# provide custom templates location; defauls are in the bin working dir
$ gcaler -templates /path/to/templates -credentials /path/to/google/credentials.json {cmd}
```
License
-------
See the [LICENSE](LICENSE.txt) file for license rights and limitations (MIT).