{"id":36465515,"url":"https://github.com/agungfir98/gcal-cli","last_synced_at":"2026-01-12T00:02:29.371Z","repository":{"id":254984244,"uuid":"847630751","full_name":"agungfir98/gcal-cli","owner":"agungfir98","description":"google calendar command line utility to print your events in terminal.","archived":false,"fork":false,"pushed_at":"2025-05-12T04:45:47.000Z","size":53,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-12T05:32:08.358Z","etag":null,"topics":["cli-utility","google-calendar"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agungfir98.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-08-26T08:35:45.000Z","updated_at":"2025-05-12T04:45:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"53053662-5e6e-457c-a212-37be2d2c6409","html_url":"https://github.com/agungfir98/gcal-cli","commit_stats":null,"previous_names":["agungfir98/gcal-cli"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/agungfir98/gcal-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agungfir98%2Fgcal-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agungfir98%2Fgcal-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agungfir98%2Fgcal-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agungfir98%2Fgcal-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agungfir98","download_url":"https://codeload.github.com/agungfir98/gcal-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agungfir98%2Fgcal-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28328694,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T22:11:01.104Z","status":"ssl_error","status_checked_at":"2026-01-11T22:10:58.990Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli-utility","google-calendar"],"created_at":"2026-01-12T00:02:29.259Z","updated_at":"2026-01-12T00:02:29.354Z","avatar_url":"https://github.com/agungfir98.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GCAL-CLI\n\n```shell\n ██████╗  ██████╗ █████╗ ██╗       ██████╗██╗     ██╗\n██╔════╝ ██╔════╝██╔══██╗██║      ██╔════╝██║     ██║\n██║  ███╗██║     ███████║██║█████╗██║     ██║     ██║\n██║   ██║██║     ██╔══██║██║╚════╝██║     ██║     ██║\n╚██████╔╝╚██████╗██║  ██║███████╗ ╚██████╗███████╗██║\n ╚═════╝  ╚═════╝╚═╝  ╚═╝╚══════╝  ╚═════╝╚══════╝╚═╝\n```\n\na command line interface for printing events from user google calendar\n\n## installation\n\n### via **go install**\n\n```shell\ngo install github.com/agungfir98/gcal-cli@latest\n\n```\n\n## setup\n\nRun the following command to create `$HOME/.config/gcal-cli` in your user home directory, this directory is where you can store the credentials.json and the oauth2 token\n\n```shell\ngcal-cli config\n```\n\n### obtain the credentials\n\nGoogle calendar apis require user to setup a Google Cloud Project and obtain the credentials to be able to access the api, I won't provide the google cloud platform credentials so you may obtain it by following the documentation -\u003e\n[setup gcp](https://developers.google.com/workspace/calendar/api/quickstart/go#authorize_credentials_for_a_desktop_application)\n\nonce you obtain the credentials.json you have to put it in the `$HOME/.config/gcal-cli`\n\n## Authenticating\n\nin order for you to authenticate is by execute any command that access the google calendar api like `calw` or `events`, it works by reading the `token.json` in your config file. When you execute the command for the first time it will give you an auth url to the google auth consent screen. once you done the consent screen don't immediately close it, you need to copy the token params in the url and paste it to the terminal.\n\n## Usage\n\n```shell\nAvailable Commands:\n  calw        get a week event calendar\n  completion  Generate the autocompletion script for the specified shell\n  config      create a .config/ directory at user home directory to store credentials and token json\n  events      shows event in your google calendar\n  help        Help about any command\n\nFlags:\n  -h, --help      help for gcal-cli\n  -v, --version   version for gcal-cli\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagungfir98%2Fgcal-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagungfir98%2Fgcal-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagungfir98%2Fgcal-cli/lists"}