Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Basic Usage

Generate a Citation

url2ref-cli --url "https://www.example.com/article"
# or
url2ref-cli -u "https://www.example.com/article"

Choose Format

url2ref-cli -u "https://example.com" -f wiki    # MediaWiki (default)
url2ref-cli -u "https://example.com" -f bibtex  # BibTeX
url2ref-cli -u "https://example.com" -f harvard # Harvard

Copy to Clipboard

Linux:

url2ref-cli -u "https://example.com" | xclip -selection clipboard

macOS:

url2ref-cli -u "https://example.com" | pbcopy

Shell Alias

# ~/.bashrc or ~/.zshrc
alias cite='url2ref-cli -f wiki -u'

Usage:

cite "https://example.com"