Light the Night
Dec. 8th, 2025 08:42 amI wanted to do something FLOSS related to brighten up people's holidays this year. My initial idea was a countdown to the holidays highlighting different Free, Libre and Open Source software each night. While I may still do that on my Mastodon feed, my initial plans were derailed. I'm in the middle of updating my build scripts and rebuilding some of the FLOSS programs I use from source code with the latest versions of libraries. I thought about sharing build scripts and doing some kind of build from source group meetings but I haven't been able to connect with other source code enthusiasts who enjoy building their software from scratch. I also have not figured out an effective method of sharing build scripts or executables. Feel free to contact me on Mastodon if you have any suggestions related to these ideas: https://fosstodon.org/@lmemsm
One thing I can do for the holiday season is put together a list of astronomy related FLOSS programs. I've built several from source over the years and have particularly been on the lookout for lightweight, low dependency astronomy programs that work well on lower resource and older computers. I'll go through my notes and build scripts and try to post some of them here. I will be adding to this page as I find programs. Also, feel free to contact me and suggest your favorites.
Let's start off with the Astronomy Picture of the Day from NASA. You can also find feeds with these pictures on several social media networks and programs that download and display these pictures. NASA's pictures are in the public domain but some of the APOD pictures are from outside contributors and may have be copyrighted.
https://apod.nasa.gov/apod/
Here are some of the more well-known FLOSS astronomy software. Two of the most well known are stellarium and celestia. They run on a wide variety of platforms and I believe there was even an Android port.
Here are links to the Windows portable apps versions. You can find a link to the original web sites from there:
https://portableapps.com/apps/education/celestia_portable
https://portableapps.com/apps/education/stellarium_portable
There are also addons for celestia but the licenses may vary:
http://www.celestiamotherlode.net/
Other FLOSS astronomy programs I often see mentioned include:
https://kstars.kde.org/
https://www.ap-i.net/skychart/en/start
https://sourceforge.net/projects/openuniverse/
http://www.moshier.net/ssystem.html
Next we have astronomy software for Android. Google's Sky Map program is Open Source. You can find a copy of it and other interesting astronomy programs at F-Droid. There has been a lot of discussion over whether F-Droid will be able to continue its mission with the changes to Google policies for software installation. That's a topic for another post. In the meantime, download these while you can. It wouldn't hurt to have the APKs stored someplace and to look into installing adb (Android Debug Bridge) on your computer for future use just in case.
https://f-droid.org/en/packages/com.google.android.stardroid/
https://f-droid.org/en/packages/org.tengel.planisphere/
https://f-droid.org/en/packages/space.celestia.mobilecelestia/
https://f-droid.org/en/packages/com.forrestguice.suntimeswidget/
Finally, here's my favorite category, lightweight cross-platform portable astronomy software. One program I really like is nightsky. It works anywhere the SDL library does. It's been ported to a wide range of platforms including handheld devices. It's lightweight but it's not limited to the command line. It was written for SDL 1.2.x but I do have a patched version that works with SDL 2.x. Haven't had time to look into updating it for the latest version of SDL yet. The lunar calendar program, lcal, is another lightweight option. It is a command line program and generates a postscript lunar phase calendar.
https://nightsky.sourceforge.net/
https://pcal.sourceforge.net/
Command line program and library to show sunrise and sunset.
https://github.com/troglobit/sun
Some lightweight X windows programs with an astronomy theme include:
https://github.com/memarc/sunclock
https://hewgill.com/xearth/original/
https://sourceforge.net/projects/xplanet/
The starplot 0.95.3 program is an older program that requires GTK+ 2 to build.
https://packages.debian.org/bookworm/starplot
https://www.freshports.org/astro/starplot/
The gstar program is a GTK 1.2 front end for the starchart programs which is also included. The starchart program is a command line program that creates star charts in postscript format.
https://users.wfu.edu/cottrell/gstar/
The hebcal program is a command line calendar program that also gives the time of sunset:
https://sourceforge.net/projects/hebcal/
The astrolog program is a command line astrology program but the code has some useful astronomy calculations. It used to be freeware but is now available as Free Software.
https://www.astrolog.org/astrolog/astfile.htm
The aa program is an astronomical almanac which calculates orbits of planetary bodies and reduces the coordinates of planets or stars to geocentric and topocentric positions. It was recommended by Neville Jackson on the It's Foss Community Discussion board.
https://github.com/pmontrasio/astronomical-almanac-js/blob/master/aa.c
Some other programs I haven't personally tried but look worth checking into are:
https://github.com/dcf21/star-charter
https://github.com/da-luce/astroterm
https://github.com/XEphem/XEphem
https://github.com/nasa-lambda/skyviewer
https://github.com/astromatic
https://siril.org/
https://github.com/OpenSpace
https://github.com/csete/gpredict
https://sourceforge.net/projects/previsat/
https://github.com/pchev/virtualmoon
https://sourceforge.net/projects/virtualplanet/
https://github.com/artyom-beilis/skyhopper
https://github.com/cosmonium/cosmonium
https://github.com/pmontrasio/astronomical-almanac-js
https://sourceforge.net/projects/hnsky/
https://github.com/AndrewBuck/orsa
https://github.com/cosinekitty/astronomy
One thing I can do for the holiday season is put together a list of astronomy related FLOSS programs. I've built several from source over the years and have particularly been on the lookout for lightweight, low dependency astronomy programs that work well on lower resource and older computers. I'll go through my notes and build scripts and try to post some of them here. I will be adding to this page as I find programs. Also, feel free to contact me and suggest your favorites.
Let's start off with the Astronomy Picture of the Day from NASA. You can also find feeds with these pictures on several social media networks and programs that download and display these pictures. NASA's pictures are in the public domain but some of the APOD pictures are from outside contributors and may have be copyrighted.
https://apod.nasa.gov/apod/
Here are some of the more well-known FLOSS astronomy software. Two of the most well known are stellarium and celestia. They run on a wide variety of platforms and I believe there was even an Android port.
Here are links to the Windows portable apps versions. You can find a link to the original web sites from there:
https://portableapps.com/apps/education/celestia_portable
https://portableapps.com/apps/education/stellarium_portable
There are also addons for celestia but the licenses may vary:
http://www.celestiamotherlode.net/
Other FLOSS astronomy programs I often see mentioned include:
https://kstars.kde.org/
https://www.ap-i.net/skychart/en/start
https://sourceforge.net/projects/openuniverse/
http://www.moshier.net/ssystem.html
Next we have astronomy software for Android. Google's Sky Map program is Open Source. You can find a copy of it and other interesting astronomy programs at F-Droid. There has been a lot of discussion over whether F-Droid will be able to continue its mission with the changes to Google policies for software installation. That's a topic for another post. In the meantime, download these while you can. It wouldn't hurt to have the APKs stored someplace and to look into installing adb (Android Debug Bridge) on your computer for future use just in case.
https://f-droid.org/en/packages/com.google.android.stardroid/
https://f-droid.org/en/packages/org.tengel.planisphere/
https://f-droid.org/en/packages/space.celestia.mobilecelestia/
https://f-droid.org/en/packages/com.forrestguice.suntimeswidget/
Finally, here's my favorite category, lightweight cross-platform portable astronomy software. One program I really like is nightsky. It works anywhere the SDL library does. It's been ported to a wide range of platforms including handheld devices. It's lightweight but it's not limited to the command line. It was written for SDL 1.2.x but I do have a patched version that works with SDL 2.x. Haven't had time to look into updating it for the latest version of SDL yet. The lunar calendar program, lcal, is another lightweight option. It is a command line program and generates a postscript lunar phase calendar.
https://nightsky.sourceforge.net/
https://pcal.sourceforge.net/
Command line program and library to show sunrise and sunset.
https://github.com/troglobit/sun
Some lightweight X windows programs with an astronomy theme include:
https://github.com/memarc/sunclock
https://hewgill.com/xearth/original/
https://sourceforge.net/projects/xplanet/
The starplot 0.95.3 program is an older program that requires GTK+ 2 to build.
https://packages.debian.org/bookworm/starplot
https://www.freshports.org/astro/starplot/
The gstar program is a GTK 1.2 front end for the starchart programs which is also included. The starchart program is a command line program that creates star charts in postscript format.
https://users.wfu.edu/cottrell/gstar/
The hebcal program is a command line calendar program that also gives the time of sunset:
https://sourceforge.net/projects/hebcal/
The astrolog program is a command line astrology program but the code has some useful astronomy calculations. It used to be freeware but is now available as Free Software.
https://www.astrolog.org/astrolog/astfile.htm
The aa program is an astronomical almanac which calculates orbits of planetary bodies and reduces the coordinates of planets or stars to geocentric and topocentric positions. It was recommended by Neville Jackson on the It's Foss Community Discussion board.
https://github.com/pmontrasio/astronomical-almanac-js/blob/master/aa.c
Some other programs I haven't personally tried but look worth checking into are:
https://github.com/dcf21/star-charter
https://github.com/da-luce/astroterm
https://github.com/XEphem/XEphem
https://github.com/nasa-lambda/skyviewer
https://github.com/astromatic
https://siril.org/
https://github.com/OpenSpace
https://github.com/csete/gpredict
https://sourceforge.net/projects/previsat/
https://github.com/pchev/virtualmoon
https://sourceforge.net/projects/virtualplanet/
https://github.com/artyom-beilis/skyhopper
https://github.com/cosmonium/cosmonium
https://github.com/pmontrasio/astronomical-almanac-js
https://sourceforge.net/projects/hnsky/
https://github.com/AndrewBuck/orsa
https://github.com/cosinekitty/astronomy