Metadata-Version: 2.4
Name: invasync
Version: 2.0.0
Summary: Invaders synchronizer
Project-URL: repository, https://github.com/0xNoNames/InvaSync
Author-email: 0xNoNames <xnonames@proton.me>
Requires-Python: >=3.9
Requires-Dist: beautifulsoup4>=4.13.4
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_email": "YOUR INVADER MAP EMAIL"
    "map_password": "YOUR INVADER MAP PASSWORD"
  },
  ...
}
```

2. Run InvaSync:

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

3. Enjoy!

## Automatic updates

The following code will schedule a cron job running every 10 minutes:

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