CLI interface for Google Keep matching gog style
Project description
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 viaGOG_ACCOUNTenv 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, orsecret-service.GOGKEEP_KEYRING_PATH: Custom path for the encrypted file backend.GOGKEEP_KEYRING_PASSWORD: Password for the encrypted file (if not in a TTY).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gogkeep-0.2.1.tar.gz.
File metadata
- Download URL: gogkeep-0.2.1.tar.gz
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30d794731445952308e681cdf266b345db4dd04d9834f48d94b16007df61909e
|
|
| MD5 |
95d1b372736fdf5e559618a01fa0cb6d
|
|
| BLAKE2b-256 |
ae01158dbcbf665952c9c8a8f50ef39432064caa59aa5817f5131b9659e4481f
|
Provenance
The following attestation bundles were made for gogkeep-0.2.1.tar.gz:
Publisher:
publish.yml on eyjohn/gogkeep
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gogkeep-0.2.1.tar.gz -
Subject digest:
30d794731445952308e681cdf266b345db4dd04d9834f48d94b16007df61909e - Sigstore transparency entry: 1289563686
- Sigstore integration time:
-
Permalink:
eyjohn/gogkeep@0528f9b38be46235852e6d48aba3ea122540ebbd -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/eyjohn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0528f9b38be46235852e6d48aba3ea122540ebbd -
Trigger Event:
push
-
Statement type:
File details
Details for the file gogkeep-0.2.1-py3-none-any.whl.
File metadata
- Download URL: gogkeep-0.2.1-py3-none-any.whl
- Upload date:
- Size: 12.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6895f93d1d68f2eea42fd226318ed64daf6bc460fd097b2ab1c6f6ca51647dd7
|
|
| MD5 |
98181b258ed75b85dcc54a6352caf64a
|
|
| BLAKE2b-256 |
0658a43f022d2f29f399d4975c44a85317f3bd2bbe2e7c336ece87313ba6fe9e
|
Provenance
The following attestation bundles were made for gogkeep-0.2.1-py3-none-any.whl:
Publisher:
publish.yml on eyjohn/gogkeep
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gogkeep-0.2.1-py3-none-any.whl -
Subject digest:
6895f93d1d68f2eea42fd226318ed64daf6bc460fd097b2ab1c6f6ca51647dd7 - Sigstore transparency entry: 1289563860
- Sigstore integration time:
-
Permalink:
eyjohn/gogkeep@0528f9b38be46235852e6d48aba3ea122540ebbd -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/eyjohn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0528f9b38be46235852e6d48aba3ea122540ebbd -
Trigger Event:
push
-
Statement type: