Google Readonly CLI Open CLI Collective
Install Google Readonly CLI with WinGet
winget install --id=OpenCLICollective.google-readonly -e Google Readonly CLI is a read-only command-line interface for interacting with Google services, designed to provide secure, non-destructive access to Gmail, Google Calendar, Google Contacts, and Google Drive. It allows users to search messages, view email content, manage calendar events, organize contacts, and browse files in Drive without the ability to send, delete, or trash data.
Key Features:
- Non-Destructive Access: Enables read-only operations with organizational capabilities like archiving, starring, labeling, categorizing, and RSVPing.
- Gmail Support: Includes features such as searching messages, viewing threads, listing labels, downloading attachments, and performing actions like marking emails as read/unread or applying categories.
- Calendar Management: Allows users to list calendars, view events, filter by date ranges, and manage event details with color-coding and RSVP functionality.
- Contacts Organization: Supports listing contacts, searching, viewing contact details, managing groups, starring contacts, and organizing contacts into groups.
- Drive Access: Enables browsing files, searching for content, viewing metadata, downloading files, exploring folder trees, and managing stars on Drive items.
- Secure OAuth Storage: Stores tokens securely in the system keychain (macOS/Linux) to ensure safe credential management.
- JSON Output: Provides machine-readable output for scripting and integration purposes.
- Bulk Operations: Supports pipelining IDs between commands, using search queries inline, or passing IDs as arguments for efficient batch processing.
Audience & Benefit:
Ideal for developers, system administrators, and automation enthusiasts who need to integrate Google services into their workflows without the risk of data loss. The tool allows users to enhance productivity by leveraging command-line efficiency while ensuring secure access to Google services. It is particularly beneficial for those looking to script or automate tasks involving Gmail, Calendar, Contacts, and Drive without compromising data integrity.
The software can be installed via winget, making it accessible through a simple command-line installation process.