Skip to content

Instantly share code, notes, and snippets.

@dmentipl
Last active August 5, 2019 00:05
Show Gist options
  • Save dmentipl/9fde6a4bbd3560971b6c2f54569358f4 to your computer and use it in GitHub Desktop.
Save dmentipl/9fde6a4bbd3560971b6c2f54569358f4 to your computer and use it in GitHub Desktop.
Installing BibDesk and ADS

ADS & BibDesk

Install BibDesk from https://bibdesk.sourceforge.io/.

Alternatively, via the Homebrew Cask.

brew cask install bibdesk

Install ads and ads2bibdesk via pip. (I use pip installed via Conda.) See https://github.com/andycasey/ads and https://github.com/r-xue/ads2bibdesk for details on these packages.

pip install ads
pip install --install-option="--service" ads2bibdesk

Get ads_token from https://ui.adsabs.harvard.edu/user/settings/token, and put in ~/.ads/ads2bibdesk.cfg. Create this directory and file if it doesn't exist. You need a user account with ADS to get the token.

Now you can add papers to BibDesk via the command line.

ads2bibdesk "2013ARA&A..51..105C"

Or with the macOS service by right clicking on a Bibcode in a web browser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment