Skip to content

About

Free, open-source FITS stacking and processing for astrophotography: calibration, registration, stacking and renders with Siril, plate solving with ASTAP, frame quality and guiding log analysis. Reads FITS and camera RAW from any camera. macOS, Windows, Linux. Desktop companion of PlanAstro.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Astro Sync

Astro Sync is a free, open-source desktop app and command-line tool that calibrates, stacks and renders your astrophotography FITS and camera RAW files with Siril, on macOS, Windows and Linux. It reads standard FITS headers, so it is not tied to one telescope, camera or acquisition program.

IC 1805, the Heart Nebula, before and after Astro Sync: on the left the stack with no processing, on the right the polished render

IC 1805, the Heart Nebula. Left: the stack with no processing, only auto-stretched by Siril so that it can be seen. Right: the "Polished render" of Astro Sync with its presentation contrast. One night, 98 frames of 180 s, no manual retouching. Every treatment and contrast level of this night is on the renders page.

Astro Sync is part of PlanAstro: plan your night, drive your telescope and mount from your smartphone, then process and share your images. Astro Sync is the desktop part. It is also the companion of Astro Portal, the self-hosted server of PlanAstro.

What it does

  • Reads your nights: FITS (.fit, .fits, .fts) and camera RAW files (.cr2, .cr3, .nef, .arw, .dng, .raf, .pef, .orf, .rw2) are stacked. XISF headers are read too. Lights, darks, flats, dark-flats and biases are told apart from their headers.
  • Calibrates and stacks with Siril: calibration masters, cosmetic correction, debayering for a colour sensor, two-pass registration, winsorised sigma rejection and FWHM weighting into a 32-bit linear master.
  • Handles a field that turns: on an alt-azimuth mount, the framing follows the rotation the registration measured instead of shrinking to an empty common area.
  • Renders the stack: four shipped treatments (natural, dual-band correction, polished, HOO palette) and three contrast levels. Background extraction and noise reduction use GraXpert when it is installed, Siril otherwise. Star removal uses StarNet2 when it is installed.
  • Keeps the linear data: the "No processing" output is the calibrated, aligned, unstretched stack as a 16-bit TIFF, and the 32-bit linear master is kept as a FITS file for your own processing software.
  • Lets you adjust the result: black point, brightness, colour, smoothing and stars, before anything is sent.
  • Your own treatments: a treatment is a small pipeline.json file you drop in the treatments folder (format).
  • Measures every frame: stars, FWHM, eccentricity and sky background, and flags the frames that stray from the rest of the night. It also measures the quality of a master stacked elsewhere (FITS or XISF).
  • Plate solving: reads the solution already written in a header, or solves with ASTAP (the default) or astrometry.net, both installed on your computer.
  • Guiding and session logs: reads PHD2, ASIAIR and N.I.N.A. logs for the guiding error, dithers, meridian flips, lost guide stars and pauses of the night. The values come from the logs and headers as they are, with no composite score.
  • Multi-night images: for a multi-night plan of Astro Portal, aligns the masters of several nights of one target and combines them into one image.
  • Sends to your portal: builds the package of each night and sends it with resumable uploads to Astro Portal (your own private server) or to the hosted service. The raw logs and the frames stay on your computer, only the results and the values measured are sent.

Everything is computed on your computer. Astro Sync reads your folders. Tidying your frames into its working folder (copy, move or symbolic link) is an option you choose yourself, and a move deletes the original only once the copy has been checked by its SHA-256.

Install

Download the installer for your system from the latest release. The file names carry no version:

System Files
macOS (Apple silicon) Astro-Sync_macos_arm64.dmg, signed and notarized
macOS (Intel) Astro-Sync_macos_x64.dmg, signed and notarized
Windows (x64) Astro-Sync_windows_x64-setup.exe, not yet signed
Linux (x64, Ubuntu 22.04 or newer) Astro-Sync_linux_x64.deb and Astro-Sync_linux_x64.AppImage, not signed

The Windows installer is not yet signed, so Windows may show a SmartScreen warning: choose "More info", then "Run anyway".

On Linux, install the .deb with sudo apt install ./Astro-Sync_linux_x64.deb (it pulls WebKitGTK 4.1), or make the .AppImage executable (chmod +x Astro-Sync_linux_x64.AppImage) and run it. The .AppImage takes the sound and graphics libraries from the system (libasound2, libgbm1, libegl1, libgl1). Without FUSE (libfuse2), run it with --appimage-extract-and-run. Both need glibc 2.35 or newer. Check them against SHA256SUMS.txt.

The command-line tool (astro-sync) comes as astro-sync-cli_macos_arm64.tar.gz, astro-sync-cli_macos_x64.tar.gz, astro-sync-cli_windows_x64.zip and astro-sync-cli_linux_x64.tar.gz. SHA256SUMS.txt lists the checksums of every file of a release.

Every file is built by the release workflow of this repository (.github/workflows/release.yml), on GitHub's runners, from the tagged commit.

Siril and Python (for stacking)

Stacking needs Siril 1.4 or later and a Python 3.12 or 3.13 environment. Astro Sync bundles neither. In the application, Settings › "Dependencies" creates the Python environment itself (pinned, hash-checked packages, about 300 MB, on your computer only), detects Siril and offers its download page. On Linux, the Siril of the distribution can be older than 1.4: take it from siril.org. GraXpert, StarNet2 and ASTAP are optional, and the same page downloads GraXpert and ASTAP when you ask, each download checked by its SHA-256. Nothing is installed without your asking. Versions and licences: stacking/DEPENDENCIES.md.

Usage

Desktop application

The application works with an Astro Portal space: your own private server or the hosted service. Choose "Private server", type the address of your portal (for example http://192.168.1.20:8787 on your network, or its https address), then sign in the way your portal announces: a code received by e-mail, or the pairing code its account page shows. Then open "Nights", point Astro Sync at the folder of a night and follow the steps.

The summary of a folder read by Astro Sync: the nights and targets it found, the frames attached to each night, and what it would create

The result of reading a folder: the nights and targets found in the frame headers, shown before anything is created.

What Astro Sync writes lives in its own folder, Documents/Astro Sync/. Each night has logs/, calibration/ and one folder per target. A target's folder has input/ for what you give Astro Sync (input/lights/, input/processed/) and output/ for what it makes (output/stacked/, output/progression/). Astro Sync writes only in output/ and in its hidden folders, never in input/. A night filed by a version before 1.2.0 (lights/, final/ and stacked/ side by side) is still read as it is.

Command line

The same library drives astro-sync. Stacking on the command line needs no portal account:

astro-sync list-pipelines
astro-sync stack --data <Astro Sync data folder> --night <night folder> \
  --target-folder M31 --target-id m31 --evening-date 2026-10-12 \
  --pipeline polished --pipeline linear
astro-sync pose-stats --help        # measure and flag the frames of a target
astro-sync solve --help             # plate-solve an image
astro-sync analyze --help           # read the guiding logs and FITS headers of a folder
astro-sync --help                   # every command

Messages are available in ten languages (--lang).

Tested with

The repository's tests read the logs of PHD2, ASIAIR and N.I.N.A. (crates/astro-sync-core/tests/fixtures/), FITS and XISF headers, and synthetic nights of DNG files stacked by Siril. An optional test runs a real night whose device wrote its own stacked image beside the frames (crates/astro-sync-core/tests/device_master_real.rs): Astro Sync can start the renders from such an image without stacking again. Any program that writes standard FITS frames can feed Astro Sync. These are only the cases the tests cover.

Build from source

Requirements: Rust (the toolchain pinned in rust-toolchain.toml), Node.js 24, and, for the desktop application, the system libraries Tauri 2 needs on your platform (see Tauri's prerequisites).

cargo build --workspace          # the library and the command line
cargo test --workspace
cd app && npm ci && npm run build && npm test   # the interface: type-check, bundle, tests
npm run tauri build               # the desktop application

Layout

crates/astro-sync-core/  the library: scanning, detection, analysis, plate solving, session packages, uploads, sign-in
crates/astro-sync-cli/   the command line (`astro-sync`), over the same library
app/                     the desktop application: Tauri 2 and a React/TypeScript interface
app/src-tauri/           its Rust shell (a Cargo project of its own)
stacking/                the stacking and render pipelines of FITS and RAW files (Python, Siril)
contracts/               the portal's API contracts the tests replay (fixtures, schemas, locale registry)

The stacking is described in stacking/README.md and the treatment format in stacking/pipelines/SCHEMA.md.

What it reads of the service's rights

Astro Sync reads GET /v1/entitlements for one thing: whether the service has put the space in read-only because a payment failed, and until when (a subscription on_hold in purchases, with endedAt and readOnlyUntil), so that it can say why what it sends is held. A private server answers that route with an empty purchases, and Astro Sync then says nothing. The answers its tests play are in crates/astro-sync-core/tests/fixtures/standing-answers.json. The answer of a private server is the one recorded in contracts/.

Reporting a problem

  • A bug or a question: open an issue on github.com/sqound/astro-sync/issues with your system, the version of Astro Sync and what you did and saw. Do not attach your images or your portal's address.
  • Anything else, or if you prefer e-mail: dev@sqound.jp.
  • A security vulnerability: do not open a public issue. Follow SECURITY.md.

License

Astro Sync is open source, under the MIT license (LICENSE).

Contributing

See CONTRIBUTING.md. Astro Sync is published by Sqound.

About

Free, open-source FITS stacking and processing for astrophotography: calibration, registration, stacking and renders with Siril, plate solving with ASTAP, frame quality and guiding log analysis. Reads FITS and camera RAW from any camera. macOS, Windows, Linux. Desktop companion of PlanAstro.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages