
A companion CLI for Bear notes. It started as a small Markdown linter and turned into a proper toolkit: orphan and duplicate reports, dangling wikilink detection, a literal find-and-replace, a random-note opener, and the original linter, all in one binary.
This is a from-scratch Go rewrite of the Python original. Same commands, but now it’s a single binary with no runtime dependencies, and it talks to Bear through bearcli, Bear’s own bundled CLI.
Commands
bearkit lint- checks and fixes Markdown inconsistencies: bullet markers, emphasis style, checklist syntax, heading structure, and morebearkit orphans- notes with no incoming[[wikilinks]]bearkit duplicates- notes that share the same titlebearkit wikilinks- dangling[[wikilinks]]whose target doesn’t exist, with--markto flag them in the note itselfbearkit replace- literal find-and-replace across notesbearkit random- open one or more random notes in Bear
Run bearkit with no arguments and it walks you through everything in the terminal. Pass any flag and it runs non-interactively, which is what you want for scripts, cron jobs, and launchd agents.
Docs & full command reference
Visit the project website for the full flag reference, guides, and getting started.