Note: This project was developed with the assistance of opencode.
A native PixInsight GUI script for generating AstroBin acquisition CSV files directly from FITS and XISF light frames.
- Reads FITS and XISF headers
- Extracts exposure, gain, filter, temperature, date, telescope, site and camera metadata
- Groups frames by session, filter, gain, exposure
- Skips master frames automatically
- Generates AstroBin Bulk Import CSV files
- Saves settings between sessions
The easiest way to install and keep the script updated is using PixInsight's built-in update repository system:
- In PixInsight, go to Resources → Updates → Manage Repositories
- Click Add and enter this URL:
https://robowarrior834.github.io/AstrobinPixinsight/updates/ - Click OK to close the dialog
- Go to Resources → Updates → Check for Updates
- Select AstroBin CSV Generator and click Apply
- Restart PixInsight when prompted
The script will appear under Scripts → Utilities → AstroBin CSV Generator.
To update: Simply check for updates again — PixInsight will automatically download and install new versions.
- Extract
AstroBin.7z. - Copy the
astrobinfolder into PixInsight'ssrc/scriptsfolder. - Open Scripts → Feature Scripts.
- Click Add and select the folder.
- Run Scripts → Utilities → AstroBin CSV Generator.
PixInsight requires scripts and update repositories to be signed so users can trust and install them. Signing uses a secure keys file (.xssk) that must be kept private and is excluded from git.
-
Generate signing keys (one-time) — In PixInsight, run Scripts → Development → Signing Keys. Check Generate Signing Keys, select CPD (or Local Signing Identity), choose an output path and a strong password, then run it. This creates your
.xsskkeys file (e.g.key.xssk). Do not commit this file to the repository. -
Sign the script — Run Scripts → Development → Code Sign. Add
AstroBinCSVGenerator.jsto the list, select your.xsskkeys file, enter its password and run. This generatesAstroBinCSVGenerator.xsgnin the same folder. Re-sign every time the script changes. -
Build the update package — Run the build script:
.\build-package.ps1This zips the script and its
.xsgnsignature intoupdates\, and updates thesha1andreleaseDateattributes inupdates\updates.xri. -
Re-sign
updates\updates.xri— Step 3 invalidates the repository signature, so run Scripts → Development → Code Sign again, addupdates\updates.xri, select your.xsskkeys file, enter the password and run. This appends a new<Signature>element to the XRI document. -
Commit and push — Commit the
updates\directory (the.zip,updates.xriand the rootAstroBinCSVGenerator.xsgn) and push to GitHub. Users will then see the update when they check for updates.
This script is intended for educational purposes in the field of astrophotography. It is part of an open-source project and contributions or suggestions for improvements are welcome.
To contribute to this project, follow these steps:
- Fork this repository.
- Create a branch:
git checkout -b <branch_name>. - Make your changes and commit them:
git commit -m '<commit_message>'. - Push to the original branch:
git push origin <project_name>/<location>. - Create the pull request.
Alternatively, see the GitHub documentation on creating a pull request.
This project uses the following licence: GNU General Public Licence v3.0.