Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ Ask in natural language — mindmark remembers what you saved.
| `mindmark open "query"` | Search and open the best match in your default browser |
| `mindmark stats` | Show index size, model info, top domains, and top folders |
| `mindmark index <file>` | Import bookmarks from an exported HTML file (legacy workflow) |
| `mindmark validate` | Check indexed bookmark URLs for stale links (HTTP 4xx/5xx or unreachable) and report them |
| `mindmark drop-index` | Delete the local SQLite index database (with confirmation unless `--yes`) |
Comment on lines 43 to +47
Copy link

Copilot AI Apr 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The usage table still documents a mindmark open "query" command, but the CLI parser no longer defines an open subcommand (opening is now only available via mindmark find --open N). Update the README to match the actual CLI surface to avoid broken docs.

Copilot uses AI. Check for mistakes.

> 🔌 **Works offline** after the first run. Embeddings run on-device via [fastembed](https://github.com/qdrant/fastembed) (ONNX Runtime, ~130 MB one-time model download).

Expand Down Expand Up @@ -280,6 +282,28 @@ For the `sync` workflow, just rerun `mindmark sync`. It's incremental — only c

For the `index` workflow, rerun `mindmark index <file>`. It clears and rebuilds the index. The model is cached, so re-indexing 800+ bookmarks takes only seconds.

### Drop the local index

Use `drop-index` to remove the local SQLite index database when you want a clean slate.

```bash
mindmark drop-index # asks for confirmation
mindmark drop-index --yes # skip confirmation
mindmark drop-index --db /path/to/index.db
```

### Validate stale links

Use `validate` to probe all indexed HTTP(S) bookmark URLs and identify stale ones (HTTP 4xx/5xx or unreachable hosts). Mindmark will report which bookmarks may be stale and where they are located, but does not modify them. You can then manually remove stale bookmarks from your browser or re-index after cleaning them up.

```bash
mindmark validate # identify all stale bookmarks
mindmark validate --timeout 5 # per-request timeout in seconds (default 8)
mindmark validate --workers 32 # parallel URL checks (default 16)
```

Non-HTTP URLs (for example `file:` or browser-internal URLs) are skipped and not checked.

### Swap the embedding model

```bash
Expand Down
Loading
Loading