Metadata-Version: 2.4
Name: invasync
Version: 1.0.0.post1
Summary: Invaders synchronizer
Project-URL: repository, https://github.com/0xNoNames/InvaSync
Author-email: 0xNoNames <xnonames@proton.me>
Requires-Python: >=3.9
Requires-Dist: httpx>=0.28.1
Description-Content-Type: text/markdown

# InvaSync

Synchronize your [flashed invaders](https://www.space-invaders.com/flashinvaders) to your [MySpaceInvaderMap](https://invaders.code-rhapsodie.com) easily!

## Installation

```sh
uv tool install invasync
```

## Usage

1. Create a `users.json` file:

```json
{
  "your_name": {
    "flash_uid": "YOUR FLASH UID",
    "map_token": "YOUR INVADER MAP PHPSESSID"
  }
}
```

2. Run InvaSync:

```sh
invasync -u users.json
```

3. Enjoy!

## Automatic updates

The following code will schedule a cron job running everyday at 6 pm:

```crontab
0 18 * * * /home/USER/.local/bin/invasync -u /path/to/user.json
```
