tbmihailov / overleaf-backup-tool

A script that automatically backups all Overleaf projects to a local folder. It works.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overleaf backup tool

Tool for backing up projects from Overleaf.

Installation

Works with Python 3.+

git clone https://github.com/tbmihailov/overleaf-backup-tool.git
cd overleaf-backup-tool
pip install -r requirements.txt

Usage

python overleaf_backup.py backup_dir overleafuser@domain.com overleafpass

How it works

The tool logins with your Overleaf username and password and downloads all projects under "active" and "archived" via git.

You will find the cloned projects folders in backup_dir/git_backup/:

your_backup_dir/
└── git_backup
   ├── yourproject1id
   │   ├── acl2018.bib
   │   ├── acl2018.sty
   │   ├── acl_natbib.bst
   │   ├── main.tex
   └── yourproject2id
   │   ├── acl2018.bib
   │   ├── acl2018.sty
   │   ├── acl_natbib.bst
   │   ├── main.tex
   ├── projects.json

projects.json contains the metadata about the projects in Overleaf. Successfully backed up projects will not be downloaded again if they are not changed in Overleaf.

About

A script that automatically backups all Overleaf projects to a local folder. It works.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%