olib (Obsidian Librarian) is a package that gives you more time for real thinking by:
- Formatting your notes correctly
- Pointing out gaps in understanding
- Shortlisting interesting connections between ideas
pip install obsidian-librarianolib [command] [subcommand] [options]--tags,-tFilter by tags (e.g.,--tags economy,history)--notes,-nSpecify note names--period,-pTime period (default: last 24h)--help,-hShow help message--version,-vShow version number
# Core Commands
format Format notes and convert screenshots to text
check Run various checks on notes
accuracy Check note accuracy and completeness
private Detect private/sensitive content
search Search and analyze notes
semantic Perform semantic search across notes
prereq Identify missing prerequisites
# Note Management
notes Note manipulation commands
format Format individual notes
fill Complete partial notes
ocr Convert screenshots to text
autolink Automatically add links to notes
check-garbage Find and clean up problematic files
# System
analytics Display note-taking analytics dashboard
config Manage configuration
prompt Configure formatting prompts
history Show command history
undo Revert last commandRead more about the philosophy behind Obsidian Librarian here.
-
Effective Learning: Notes should enhance learning through:
- Building atomic knowledge
- Fostering creative connections
-
Deliberate Understanding: Learning must be effortful:
- Document clear understanding
- Explicitly mark gaps for further study
MIT License. See LICENSE for details.
This package uses Click for CLI functionality. To enable autocompletion automatically:
pip install "obsidian-librarian[completion]"If the automatic setup doesn't work, you can manually enable completions:
For Zsh, add to your ~/.zshrc:
eval "$(_OLIB_COMPLETE=zsh_source olib)"For Bash, add to your ~/.bashrc:
eval "$(_OLIB_COMPLETE=bash_source olib)"For Fish, add to your ~/.config/fish/completions/olib.fish:
eval (env _OLIB_COMPLETE=fish_source olib)After adding these lines, restart your shell or run:
source ~/.zshrc # for Zsh
# or
source ~/.bashrc # for Bash