Fast CLI tool for Obsidian and Tips note management with frecency-based file selection and async git synchronization.
- Frecency-based file selection (recent files first)
- Async git synchronization (non-blocking)
- Smart file creation with directory support
- Editor-agnostic (respects $EDITOR)
- Zero configuration (works out of the box)
# Build from source
make build
make install
# Or install directly
go install github.com/unop/ob-cli/cmd/ob-cli@latest# Set your Obsidian vault location
export OBSIDIAN_VAULT="/path/to/your/vault"
# Use the tool
ob-cli --mode=obsidian
ob-cli notes/daily.md
ob-cli project-search-term# Set your Tips vault location
export TIPS_VAULT="/path/to/your/tips"
# Use the tool
ob-cli --mode=tips
ob-cli notes/daily.md
ob-cli project-search-termob-cli # Interactive file selection
ob-cli file.md # Open specific file
ob-cli search-term # Search for files
ob-cli --list # List all files
ob-cli --status # Show git status
ob-cli --sync # Sync with remoteThe tool uses environment variables for configuration:
OBSIDIAN_VAULT: Path to your Obsidian vaultTIPS_VAULT: Path to your Tips vaultEDITOR: Your preferred editor (defaults to vim/nano/emacs)
If not set, the tool will look for vaults in common locations:
~/obsidian~/Documents/Obsidian~/tips
# Run tests
make test
# Run integration tests
make test-integration
# Build and run
make dev
# Lint code
make lint- Fork the repository
- Create a feature branch
- Add tests for new functionality
- Ensure all tests pass
- Submit a pull request
MIT