googGitHub

Create documents and a simpler token store

Create Docs from scratch with page breaks, headers, footers, footnotes and named ranges. Tokens move to one local file, so agents run without password prompts.

v0.2.3

Create documents

Start a blank document from the terminal.

$goog docs create "Q3 Report"

Document structure

Add page breaks, headers, footers, footnotes and named ranges without raw batch updates.

$goog docs break page DOCUMENT_ID --at 'heading:Summary'
$goog docs header create DOCUMENT_ID
$goog docs footnote insert DOCUMENT_ID --at 'after-text:quarterly plan'
$goog docs named-range create DOCUMENT_ID "highlights" --text "quarterly plan"

Edit Gmail drafts

Change an existing draft from the terminal.

$goog mail draft DRAFT_ID --body @./revised.txt

File token store

Accounts and tokens live in ~/.goog/auth.json with restricted permissions, so terminal and agent workflows read tokens without operating-system password prompts.

Downloads and checksums on GitHub