View a calendar of Google Group OOO events from your CLI.
Google Calendar doesn't offer a consolidated view of out-of-office events from multiple team members — even if you have access to their individual calendars.
% ooo-view --weeks 3 team@example.com
May 12 - May 18 | Mon | Tue | Wed | Thu | Fri | Sat | Sun |
----------------------------------------------------------------
danny@example.com | | | | OOO | | | |
jenny@example.com | | OOO | | | | | |
----------------------------------------------------------------
May 19 - May 25 | Mon | Tue | Wed | Thu | Fri | Sat | Sun |
----------------------------------------------------------------
No OOO Events
----------------------------------------------------------------
May 26 - Jun 1 | Mon | Tue | Wed | Thu | Fri | Sat | Sun |
----------------------------------------------------------------
jenny@example.com | OOO | OOO | OOO | OOO | OOO | | |
----------------------------------------------------------------
ooo-view is an easy CLI tool that provides a clear, consolidated view of out-of-office (OOO) events for members of a Google group. It fetches data directly from the Google Calendar API and displays it in an easy-to-read weekly format in your terminal.
- Also works for individual emails
- Customizable time range (default: 8 weeks)
- Configurable minimum duration for OOO events
- Timezone support
- Secure credential storage using system keyring
- Beautiful terminal output
- Go: Version 1.18 or later installed.
- Google Cloud Project: You'll need an OAuth 2.0 Client ID from a Google Cloud Project with the Google Calendar API enabled. The tool will guide you through the specifics if it can't find a stored client secret.
go install github.com/klaasmeinke/ooo-view@latest# Clone the repository
git clone https://github.com/klaasmeinke/ooo-view.git
cd ooo-view
# Build the project
go build
# Install globally
go installBasic usage:
ooo-view <group-email>Options:
--weeks N Number of weeks ahead to check (default: 8)
--min-duration D Minimum duration of OOO events (e.g., 24h, 48h, 72h)
--timezone TZ Time zone for calendar display
--reset-secret Reset stored client secret
--reset-token Reset stored OAuth tokenExamples:
# View OOO events for the next 2 weeks
ooo-view --weeks 2 team@example.com
# Only show OOO events that are at least 48 hours long
ooo-view --min-duration 48h team@example.com
# Use a specific timezone
ooo-view --timezone "America/New_York" team@example.comThe tool stores your Google OAuth credentials securely using your system's keyring. You can reset these credentials using the --reset-secret and --reset-token flags.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.