repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
public Clawd ADK gateway launch mirror
stars
latest
clone command
git clone gitlawb://did:key:z6Mkq5mY...iFZ5/my-project-publ...git clone gitlawb://did:key:z6Mkq5mY.../my-project-publ...2fa351d6docs: add automaton and perps launch sources16d ago| #1 | --- |
| #2 | name: bear-notes |
| #3 | description: Create, search, and manage Bear notes via grizzly CLI. |
| #4 | homepage: https://bear.app |
| #5 | metadata: {"clawdbot":{"emoji":"🐻","os":["darwin"],"requires":{"bins":["grizzly"]},"install":[{"id":"go","kind":"go","module":"github.com/tylerwince/grizzly/cmd/grizzly@latest","bins":["grizzly"],"label":"Install grizzly (go)"}]}} |
| #6 | --- |
| #7 | |
| #8 | # Bear Notes |
| #9 | |
| #10 | Use `grizzly` to create, read, and manage notes in Bear on macOS. |
| #11 | |
| #12 | Requirements |
| #13 | - Bear app installed and running |
| #14 | - For some operations (add-text, tags, open-note --selected), a Bear app token (stored in `~/.config/grizzly/token`) |
| #15 | |
| #16 | ## Getting a Bear Token |
| #17 | |
| #18 | For operations that require a token (add-text, tags, open-note --selected), you need an authentication token: |
| #19 | 1. Open Bear → Help → API Token → Copy Token |
| #20 | 2. Save it: `echo "YOUR_TOKEN" > ~/.config/grizzly/token` |
| #21 | |
| #22 | ## Common Commands |
| #23 | |
| #24 | Create a note |
| #25 | ```bash |
| #26 | echo "Note content here" | grizzly create --title "My Note" --tag work |
| #27 | grizzly create --title "Quick Note" --tag inbox < /dev/null |
| #28 | ``` |
| #29 | |
| #30 | Open/read a note by ID |
| #31 | ```bash |
| #32 | grizzly open-note --id "NOTE_ID" --enable-callback --json |
| #33 | ``` |
| #34 | |
| #35 | Append text to a note |
| #36 | ```bash |
| #37 | echo "Additional content" | grizzly add-text --id "NOTE_ID" --mode append --token-file ~/.config/grizzly/token |
| #38 | ``` |
| #39 | |
| #40 | List all tags |
| #41 | ```bash |
| #42 | grizzly tags --enable-callback --json --token-file ~/.config/grizzly/token |
| #43 | ``` |
| #44 | |
| #45 | Search notes (via open-tag) |
| #46 | ```bash |
| #47 | grizzly open-tag --name "work" --enable-callback --json |
| #48 | ``` |
| #49 | |
| #50 | ## Options |
| #51 | |
| #52 | Common flags: |
| #53 | - `--dry-run` — Preview the URL without executing |
| #54 | - `--print-url` — Show the x-callback-url |
| #55 | - `--enable-callback` — Wait for Bear's response (needed for reading data) |
| #56 | - `--json` — Output as JSON (when using callbacks) |
| #57 | - `--token-file PATH` — Path to Bear API token file |
| #58 | |
| #59 | ## Configuration |
| #60 | |
| #61 | Grizzly reads config from (in priority order): |
| #62 | 1. CLI flags |
| #63 | 2. Environment variables (`GRIZZLY_TOKEN_FILE`, `GRIZZLY_CALLBACK_URL`, `GRIZZLY_TIMEOUT`) |
| #64 | 3. `.grizzly.toml` in current directory |
| #65 | 4. `~/.config/grizzly/config.toml` |
| #66 | |
| #67 | Example `~/.config/grizzly/config.toml`: |
| #68 | ```toml |
| #69 | token_file = "~/.config/grizzly/token" |
| #70 | callback_url = "http://127.0.0.1:42123/success" |
| #71 | timeout = "5s" |
| #72 | ``` |
| #73 | |
| #74 | ## Notes |
| #75 | |
| #76 | - Bear must be running for commands to work |
| #77 | - Note IDs are Bear's internal identifiers (visible in note info or via callbacks) |
| #78 | - Use `--enable-callback` when you need to read data back from Bear |
| #79 | - Some operations require a valid token (add-text, tags, open-note --selected) |
| #80 |