gdsync

Let AI agents read and edit Google Docs through a simple CLI. No API complexity — just fetch, edit, commit.

Download Skill View on GitHub

Privacy Policy · Terms of Service

How it works

gdsync syncs a Google Doc to a local file. The agent edits the file, runs a command, and changes appear in the live document.

gdsync fetch    # pull Google Doc into content.txt
# agent edits content.txt
gdsync commit   # push changes to the live doc

The sync engine handles formatting, character indexes, named ranges, images, tables, lists, and comments.

Agent-friendly auth

Non-blocking two-step setup. No background processes.

Your own GCP project

Each user gets their own project. gdsync never accesses your files.

Full document editing

Paragraphs, headings, lists, tables, images, inline formatting.

Comments

Read, reply to, and create comment threads.

Suggestions mode

Visual tracked changes — strikethrough old, red new.

Doc discovery

List and search accessible docs including shared files.

Quick start

npm install -g @gdsync/gdsync

gdsync setup          # create GCP project (guided wizard)
gdsync setup check    # confirm setup
gdsync auth           # sign in for document access
gdsync auth check     # confirm sign-in
gdsync docs           # list available docs
gdsync init --doc ID  # start editing