Metadata-Version: 2.4
Name: overleaf-sync-fixed
Version: 1.2.0
Summary: Overleaf Two-Way Sync Tool
Home-page: https://github.com/lawrencee/overleaf-sync-fixed
Keywords: overleaf sync latex tex fix
Author: Lawrence Yang (Fixed)
Author-email: lawrenceeyang@gmail.com
Requires-Python: >=3
Description-Content-Type: text/markdown
Classifier: License :: OSI Approved :: MIT License
Classifier: Intended Audience :: Science/Research
Classifier: Programming Language :: Python :: 3
License-File: LICENSE
Requires-Dist: requests == 2.*
Requires-Dist: beautifulsoup4 == 4.11.1
Requires-Dist: yaspin == 2.*
Requires-Dist: python-dateutil~=2.8.1
Requires-Dist: click == 8.*
Requires-Dist: PySide6 == 6.*

# Overleaf Sync (Fixed)

A robust two-way synchronization tool for Overleaf projects, updated to support the latest Overleaf web interface (2024+).

## Features
- **Two-way Sync**: Seamlessly sync changes between local computer and Overleaf.
- **Robust Uploads**: Specialized strategy for `.tex`, `.bib`, `.cls`, and `.sty` files to ensure 100% content delivery.
- **No Premium Required**: Works with free Overleaf accounts; no Git or Dropbox subscription needed.
- **Conflict Awareness**: Intelligent sync logic that prioritizes local changes and warns about potential conflicts.

## Installation

### From PyPI (Recommended)
```bash
pip install overleaf-sync-fixed
```

### From Source
```bash
git clone https://github.com/lawrencee/overleaf-sync-fixed
cd overleaf-sync-fixed
pip install .
```

## Usage

### 1. Login
Authenticate using your `overleaf_session2` cookie.
```bash
ols login
```
*Note: Get the cookie from Browser DevTools -> Application -> Cookies -> `overleaf_session2`.*

### 2. List Projects
```bash
ols list
```

### 3. Download & Sync
Download a project to the current directory:
```bash
ols download "Your Project Name"
```

Once in the project directory, run two-way sync:
```bash
ols
```

---
**Disclaimer**: This tool is not affiliated with Overleaf. Use at your own risk.

