Tool for backing up projects from Overleaf.
Works with Python 3.+
git clone https://github.com/tbmihailov/overleaf-backup-tool.git
cd overleaf-backup-tool
pip install -r requirements.txt
python overleaf_backup.py backup_dir overleafuser@domain.com overleafpass
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.