Info Start with docs/specs. The current README may be out of date while the v2 and v2.1 work is in progress.
A proof-of-concept Go application that extracts document content, suggestions (proposed edits), and comments from Google Docs using the Google Docs API and Google Drive API.
- Build the project
task build
- Run the project
./bauer --doc-id <doc-id> \
--credentials <path-to-creds> \
--parse-only
- Create a credentials file by copying the example
cp credentials.example.json credentials.json
- Get credentials from Google Cloud service or Bitwarden (internally)
- Fill up
credentials.jsonwith Google Cloud credentials (see Generating Google Cloud credentials). - Share copy document with service account
- Build Bauer locally using the Local development steps above (
task build) - If running with GitHub integration (no
--parse-only), ensurecopilotis installed and authenticated - Get document ID from Google Document & share the document with the service account
- Run Bauer
./bauer --doc-id <your-document-id> --credentials ./credentials.json- Optional parameters
| Flag | Type | Default | Description | Requires Copilot |
|---|---|---|---|---|
--github-repo |
string | (required if not parse-only) | GitHub repository (owner/repo or HTTPS URL) | Yes* |
--credentials |
string | bau-test-creds.json |
Path to service account credentials JSON | No |
--local-repo-path |
string | /tmp/ubuntu.com |
Local path for cloned repository | No |
--dry-run |
bool | false |
Perform a dry run without creating PR | Yes* |
--output-dir |
string | bauer-output |
Output directory for Bauer results | No |
--branch-prefix |
string | bauer |
Branch naming prefix | No |
--parse-only |
bool | false |
Parse document and output machine-readable JSON (skip GitHub integration) | No |
*These flags require Copilot integration to be configured when performing GitHub operations (not needed for --parse-only)
For more information refer to ARCHITECTURE.md