What the portal contains
The observation planner, the deep-sky catalog, the sky quality estimate, the Journal of sessions, the gallery and its shareable target pages, with their statistics. On your own server, all of this is included. Mosaics, the light-pollution map and gallery invitations come from the app or the hosted service.
Hosted or at home
| Hosted service | Your server | |
|---|---|---|
| Installation | Nothing to install | You install it |
| Updates | Done for you | You apply them |
| Backups | Done for you | You schedule them (tool provided) |
| Where the data is | On our servers, exportable | On your disk. Sqound receives nothing |
| Features | Depending on your offer | The portal (without web mosaics, light-pollution map or invitations) |
| Connecting the app | With your email address | With a QR code |
| Support | By email | Documentation and GitHub issues |
Your server still queries a few outside services for you: Open-Meteo (and MET Norway as a fallback) with the coordinates of your places, and Photon (komoot) with the text of an address search. Sqound sees none of it. The details are on the privacy page.
Installing it
Version 1.0.0, the portal's first public release, is available on GitHub: release notes. There is no prebuilt image: the image is built from the repository.
With Docker
Requirements: Docker and its Compose plugin (Linux or macOS).
git clone https://github.com/sqound/astro-portal.git
cd astro-portal
sh deploy/install.sh
The script asks for a port, a data folder and the address to listen on, builds the image, starts the portal with PostgreSQL, then prints the address to open and a one-time secret to create the owner's account.
Without Docker
Requirements: Node.js 24.
git clone https://github.com/sqound/astro-portal.git
cd astro-portal
npm ci
npm run build
npm start
Then open the address shown at startup. Configuration, a service that starts with the machine, reverse proxy or tunnel, backups, and updates by releases with automatic rollback are covered in the README and in docs/SELF_HOSTING.md.
Linking the app
In the app, open the account settings and scan the QR code shown by your portal. Plans, nights and captures then sync with your server, just as they would with the hosted service.
Astro Sync, the desktop companion
Astro Sync is fully open source under the MIT license. Its code is on GitHub: the desktop app, the library, the command-line tool (astro-sync) and the stacking scripts.
What it contains:
- Import: it reads your capture folders (FITS, XISF or camera RAW frames, N.I.N.A., ASIAIR and PHD2 logs) and prepares your sessions.
- Measurements: sky background, star width and roundness, guiding and rejected frames, all computed on your computer.
- Stacking (optional): your FITS or RAW frames are stacked with Siril, then rendered by the treatment you choose. No frame leaves your computer.
- Upload: to your own server or to the hosted service, resuming automatically after an interruption.
To build it yourself, you need Rust and Node.js. The commands are in the repository's README.
Adding your own treatments
Astro Sync ships with four treatments: natural render, dual-band correction, polished render and HOO palette. You can add more. A treatment is a folder holding a description file (its name, its description, the tools it needs) and, if you wish, your own Python script. Once placed in Astro Sync's data folder, it appears in the list of treatments alongside the others. A script you added only runs once you approve it, and an added treatment never replaces a built-in one. The format is described in the repository. To share a treatment with everyone, open a pull request on GitHub.
Licenses
- Astro Portal Core: GNU AGPL v3. Stellarium Web Engine and its sky data are included under their own license.
- Astro Sync: MIT license. External tools it can use, such as Siril, are not bundled and keep their own licenses.
- HYG star catalog v4.1: © David Nash, CC BY-SA 4.0. The portal downloads it from its repository when it starts, if the file is missing, and uses it to name the stars on your captures. The annotations drawn from it are an adaptation under the same license.