Skip to main content

gogkeep

gogkeep is a Google Keep CLI matching the gogcli interface. It enables access for personal Gmail accounts, bypassing the "Workspace-only" restriction of the official Keep API.

Installation

From PyPI

pip install gogkeep

Via pipx

pipx install gogkeep

Authentication

gogkeep automates Master Token extraction using the Chrome DevTools Protocol (CDP), removing the need for manual cookie surfing.

Login

gogkeep login

This automatically launches an isolated browser. Log in, and gogkeep will capture the token. Press Ctrl+C at any time to skip to manual cookie extraction.

[!NOTE] This approach is based on the alternative flow for gpsoauth by julianpitt.

Usage

Root Flags

  • -a, --account EMAIL: Set the account email (also can be set via GOG_ACCOUNT env var).
  • -j, --json: Output as JSON.
  • -p, --plain: Output as tab-separated values.
  • -n, --dry-run: Do not make changes.

Commands

List Notes

gogkeep list

Get Note

gogkeep get <note_id>

Search Notes

gogkeep search "query text"

Create Note

gogkeep create --title "My Title" --text "My body text"

Delete Note

gogkeep delete <note_id>

Download Attachment

gogkeep attachment <attachment_name> --out local_filename.jpg

Attachment names follow the format notes/<note_id>/attachments/<attachment_id>.

Keyring Storage

gogkeep securely stores your Master Token using the system keyring:

  • macOS: Keychain
  • Linux: Secret Service (D-Bus)
  • Fallback: Encrypted file in ~/.config/gogkeep/

You can force specific behavior using environment variables:

  • GOGKEEP_ACCOUNT: Default account email.
  • GOGKEEP_KEYRING_BACKEND: auto, keychain, file, or secret-service.
  • GOGKEEP_KEYRING_PATH: Custom path for the encrypted file backend.
  • GOGKEEP_KEYRING_PASSWORD: Password for the encrypted file (if not in a TTY).

Metadata

Release files for gogkeep 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gogkeep 0.2.1
File Size Uploaded
gogkeep-0.2.1.tar.gz 12.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gogkeep 0.2.1
File Interpreter ABI Platform
gogkeep-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 25.4 kB

Release files / gogkeep-0.2.1.tar.gz

Download URL gogkeep-0.2.1.tar.gz
Size 12.8 kB
Tags Source
SHA-256 checksum
How to use checksums
30d794731445952308e681cdf266b345db4dd04d9834f48d94b16007df61909e
BLAKE2b-256 checksum
How to use checksums
ae01158dbcbf665952c9c8a8f50ef39432064caa59aa5817f5131b9659e4481f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 13, 2026.

Transparency log

Release files / gogkeep-0.2.1-py3-none-any.whl

Download URL gogkeep-0.2.1-py3-none-any.whl
Size 12.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6895f93d1d68f2eea42fd226318ed64daf6bc460fd097b2ab1c6f6ca51647dd7
BLAKE2b-256 checksum
How to use checksums
0658a43f022d2f29f399d4975c44a85317f3bd2bbe2e7c336ece87313ba6fe9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 13, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page