Skip to content

xuhe2/olsync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

olsync

English Documentation | 中文文档

olsync is a simple command-line tool for synchronizing your Overleaf projects to your local machine, making it easy to back up and manage LaTeX projects offline.


Usage

  1. Copy the configuration template
cp config.template.yaml config.yaml
  1. Edit config.yaml

Open the config.yaml file in your favorite editor and fill in the required fields:

overleaf.baseUrl – Your Overleaf base URL (usually https://www.overleaf.com)

overleaf.cookies – Your authentication cookies (get them from your browser developer tools)

backup.path – The folder where backups will be stored

backup.keep_last – How many recent backups to keep per project

backup.schedule – Cron expression for automatic backups

  1. Build and Run
make build

The compiled binary will be placed in the ./bin folder. For example, on Linux you might see:

./bin/olsync-linux-amd64

The default is to use the config.yaml file in the current path.

You can specify a custom configuration file by passing its path as an argument:

./bin/olsync-linux-amd64 ./config2.yaml

About

olsync: Overleaf project file automatic synchronization tool

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published