diff options
| author | Christopher Warner <cwarner@kernelcode.com> | 2026-10-10 18:40:56 -0400 |
|---|---|---|
| committer | Christopher Warner <cwarner@kernelcode.com> | 2026-10-10 18:40:56 -0400 |
| commit | 50b9b2b4c0db6a5e1d9dd511d062d99ae2e11dd3 (patch) | |
| tree | 612f1421cb589e957598aee175ac90e1ee106487 /README.md | |
| parent | ef0165cc6cbe001997e5d05af5de6d4849481d7a (diff) | |
| download | iphone-notes-50b9b2b4c0db6a5e1d9dd511d062d99ae2e11dd3.tar.gz iphone-notes-50b9b2b4c0db6a5e1d9dd511d062d99ae2e11dd3.tar.bz2 iphone-notes-50b9b2b4c0db6a5e1d9dd511d062d99ae2e11dd3.tar.xz iphone-notes-50b9b2b4c0db6a5e1d9dd511d062d99ae2e11dd3.zip | |
fix: run create/status headless without a visible browser
Use a saved storage-state session for note ops so only `login` opens a
window; launchPersistentContext was flashing Chromium on Linux.
Co-authored-by: Cursor <cursoragent@cursor.com>
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -20,9 +20,9 @@ icloud-note create --title "Hello" --body "From Linux" | Command | Purpose | |---|---| | `icloud-note setup` | Install Playwright Chromium + `~/.local/bin` wrapper | -| `icloud-note login` | Headed sign-in; saves session under `~/.config/icloud-notes/` | -| `icloud-note status` | Check whether the saved session can open Notes | -| `icloud-note create` | Create a note (`--title`, `--body` / `--body-file`) | +| `icloud-note login` | **Only** command that opens a visible browser (one-time Apple ID) | +| `icloud-note status` | Headless check that the saved session can open Notes | +| `icloud-note create` | Headless create (`--title`, `--body` / `--body-file`) — no window | ## Layout @@ -37,7 +37,8 @@ Runtime config (not in git): ```text ~/.config/icloud-notes/ - browser-profile/ Playwright persistent profile (private) + storage-state.json Cookies/session for headless create (private) + browser-profile/ Used only during `login` (private) node_modules/ Playwright install ``` |
