---
title: Loading Remote Bibliography with Biber
description: Personal website of Dovydas Joksas.
author: Dovydas Joksas
url: https://dovydas.com/blog/loading-remote-bibliography-with-biber
html: https://dovydas.com/blog/loading-remote-bibliography-with-biber?format=html
---

May 22, 2022 · 1 min read

# Loading Remote Bibliography with Biber

I have tens of LaTeX projects, and I’ve always found it annoying that I have to duplicate bibliographic entries in case I use another machine where specifying absolute path to a master BIB file wouldn’t work. I’ve always wanted to have a remote BIB file that could be automatically retrieved when compiling a LaTeX project. I didn’t realize [Biber](https://ctan.org/pkg/biber) had this capability out of the box!

So now I simply have the following in my TeX preamble:

```latex
\usepackage[backend=biber]{biblatex}
% URL of plain text version of my master BIB file on GitHub (replace "github" with "raw.githubusercontent").
\addbibresource[location=remote]{https://raw.githubusercontent.com/joksas/latex-bibliography/master/phd.bib}
```

After which, I do

```shell
pdflatex main
biber main
pdflatex main
pdflatex main
```
