Simple script for downloading Overleaf projects and store it into Git repository
NOTE: This is unofficial project. Use it at your own risk!
NAME:
overleaf2git - Sync Overleaf files into git
USAGE:
overleaf2git [global options] command [command options] [arguments...]
VERSION:
0.0.0
COMMANDS:
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--session-key value, -s value Your overleaf active session key
--url value, -u value Overleaf project url
--workdir value, --wd value Working directory (default: "project")
--git-url value Git repository url
--git-branch value Git repository target branch (default: "master")
--git-force-push Use git force push
--help, -h show help
--version, -v print the version
-
Unzip
-
Git
-
Supports public and private projects
-
Push project files into git repository
You can download the binary in release page.
Or you can download and build manually using Golang:
go get github.com/asasmoyo/overleaf2git/cmd/overleaf2git
Requirements:
-
Make
-
Golang (let's use > 1.11.*)
You can install required dependencies by:
go mod download
MIT Licence