Metadata-Version: 2.4
Name: siril-cloud
Version: 0.1.9
Summary: Siril Cloud desktop client — watch any camera folder, compress FITS with fpack, upload to Google Drive or built-in S3, and submit region-aware Siril jobs from localhost:9559.
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: fastapi>=0.110.0
Requires-Dist: uvicorn[standard]>=0.27.0
Requires-Dist: watchdog>=4.0.0
Requires-Dist: keyring>=24.0.0
Requires-Dist: httpx>=0.27.0
Requires-Dist: google-api-python-client>=2.120.0
Requires-Dist: google-auth>=2.29.0
Requires-Dist: google-auth-oauthlib>=1.2.0
Requires-Dist: pystray>=0.19.5
Requires-Dist: Pillow>=10.0.0

# Siril Cloud local client

The Siril Cloud desktop client watches any folder your camera tethering software writes to (NINA, APT, ASIAir, Ekos, or similar), compresses FITS frames with `fpack -q 4`, uploads them, and submits a Siril stacking job.

## Install

```bash
pip install siril-cloud
siril-cloud
```

The local dashboard opens at `http://localhost:9559`.

## Storage providers

- **Built-in S3** — direct presigned uploads authenticated with the Siril Cloud API key. The client preserves the exact upload prefix and sends it with the job.
- **Google Drive** — connect Google Drive in the web dashboard. The local Settings panel lists available Drive folders; no manual folder-ID copy/paste is required.

OneDrive and Dropbox are displayed as coming soon until their production OAuth providers are enabled.

## Other features

- Watches for raw camera files and FITS files.
- Compresses FITS files losslessly with `fpack -q 4`; raw files are converted by the worker.
- Auto-submits when watching stops after at least five frames.
- Detects a nearby deployed compute region automatically, with a manual region override.
- Persists configuration, upload de-duplication, and an unfinished batch across restarts.
- Shows upload errors and job-submission results in the UI instead of browser alerts.

Built on open-source [Siril](https://siril.org).
