Skip to content
Pocket Homelab
Install

Pocket Sky

Tonight's sky from Pocket Sky: whether it will be clear and dark at your places, the Moon, the planets and the best sights, cloud by the hour, sky events, satellite passes, your observing log and a native star map you can hold up to the sky, on the iPhone and the Mac.

iPhoneMac
On this page

Pocket Sky is a free, open-source (MIT), self-hosted night-sky app: whether tonight will be clear and dark at your places, what is up and when, sky events worked out for where you are (eclipses, meteor showers, conjunctions, oppositions), satellite passes and an observing log. One Go binary, one SQLite file, cloud forecasts from Open-Meteo. It is made by the author of Pocket Homelab, and Pocket Homelab gives it a Sky tab: tonight in full, the coming nights, events, passes, the log, your lists, and a star map drawn on the device that can follow the phone pointed at the sky.

What you get

  • Sky tab (iPhone and Mac): tonight’s score with the words behind it, sunset, the dark hours and sunrise, the Moon, cloud by the hour, the air and the chance of northern lights, the planets up tonight, the best sights for how dark the place is, this week’s events and The coming nights, each opening in full.
  • Search for planets, stars and Messier objects, each with its own page: where it is now, when it rises, is highest and sets, the best time tonight, how often you logged it, Add to Want to see, Log it, Ask Pocket AI about it and Show on the star map.
  • Sky events by month, Satellite passes for the next three days, the Observing log with an editor, and Want to see and lists.
  • Star map: a native map with the Milky Way, constellations, clusters, nebulae and galaxies, the Sun, the Moon and the planets. On the iPhone Point at the sky follows the phone, with the camera picture behind it if you like.
  • Ask Pocket AI about tonight, answered from the server’s own facts for your place.
  • Home card Tonight’s sky (“Fair · 42”, the cloud and the dark hours), with the choices When it gets dark and Next sky event; a Mac Home widget; Spotlight entry Sky.

Set up

  1. In Pocket Sky, open Settings → API & shortcuts and create a token. Copy it: it starts with psky_ and is shown once.
  2. In Pocket Homelab: Settings → Services → Pocket Sky, paste the base URL and the token, then Test connection. It answers Pocket Sky connected with tonight at home in a few words (“Fair · 6 % cloud · waxing gibbous”).
  3. Turn on the Sky tab in Settings → Tabs if you want it in the tab bar, and add the Tonight’s sky card to Home under Settings → Home layout.
Environment keys
KeyFieldRequiredSecretWhere to get it
SKY_URLPocket Sky URLRequired—Base address of your Pocket Sky server, for whether tonight will be clear and dark, what is up and when, sky events, satellite passes and your observing log. Leave empty to hide it.
SKY_API_KEYPocket Sky API tokenRequiredSecretA token from Pocket Sky → Settings → API & shortcuts (starts with psky_). Through Pocket Core the device's own credential is used. Stored in the Keychain.

On iPhone

The Sky tab: Home, Germany with a score ring of 42 and Fair, Clear skies forecast all night, 6 % cloud over the dark hours, Sunset 16:06, Dark 18:07 – 05:40 · 11.5 h, Sunrise 07:42, Bortle 7, and The Moon: Waxing gibbous · 96 % litThe Sky tab: Home, Germany with a score ring of 42 and Fair, Clear skies forecast all night, 6 % cloud over the dark hours, Sunset 16:06, Dark 18:07 – 05:40 · 11.5 h, Sunrise 07:42, Bortle 7, and The Moon: Waxing gibbous · 96 % lit
Tonight at home: the score, the dark hours and the Moon.

The Sky tab opens on tonight at your home place. The ring is the night’s score out of 100 with a word for it (Great, Good, Fair, Poor, Cloudy) and why: the cloud over the dark hours, the air, fog. Under it the sunset, the dark hours and the sunrise, the place’s darkness (“Bortle 7 · suburban to city”), then The Moon: its phase, how much is lit, when it is up and the next full and new Moon.

Further down: Cloud by the hour as bars from 16:00 to 07:00, The air: steady, clear, Northern lights likely with the Kp forecast, then Planets up tonight starting with Venus (morning), low in the south-east around 07:03Further down: Cloud by the hour as bars from 16:00 to 07:00, The air: steady, clear, Northern lights likely with the Kp forecast, then Planets up tonight starting with Venus (morning), low in the south-east around 07:03
Cloud by the hour, the air, the northern lights and the planets.

Further down: Cloud by the hour (darker bars are the dark hours), the air and the chance of northern lights, Planets up tonight with when and where to look (“In the evening, halfway up in the south around 20:34”) and a tag for the part of the night, then Best sights, picked for how dark the place is, each with the symbol for eyes, binoculars or a telescope. Tap a planet or a sight for its page. This week lists the coming events.

This week with Uranus at opposition, then The coming nights: Tomorrow 5 Poor, Tue, Nov 24 31, Wed, Nov 25 1 Cloudy, Thu, Nov 26 27, Fri, Nov 27 51 Fair, each with its cloud and the MoonThis week with Uranus at opposition, then The coming nights: Tomorrow 5 Poor, Tue, Nov 24 31, Wed, Nov 25 1 Cloudy, Thu, Nov 26 27, Fri, Nov 27 51 Fair, each with its cloud and the Moon
This week's events and the coming nights.

The coming nights scores the next week, each with its cloud and Moon; tap one for that night in full. Below it are Sky events, Satellite passes, Observing log, Want to see and lists and Star map. The footer says which place you are looking at; ⋯ has the place picker (when you have more than one), Star map, Ask Pocket AI, Open Pocket Sky and Refresh, and + logs a night.

Saturn's page: Planet · in Cetus · mag 0.5, The ringed planet: any small telescope shows the rings, then At Home, Germany: Best around 20:34 tonight, Now 12° up in the east, Rises 14:27, Highest 20:34, Sets 02:46, Best tonight 20:34, 39° up, and Your log: Logged 8 timesSaturn's page: Planet · in Cetus · mag 0.5, The ringed planet: any small telescope shows the rings, then At Home, Germany: Best around 20:34 tonight, Now 12° up in the east, Rises 14:27, Highest 20:34, Sets 02:46, Best tonight 20:34, 39° up, and Your log: Logged 8 times
An object's page: where it is, its night and your log.

Sky events and satellite passes

Sky events lists the coming year by month: phases of the Moon, seasons, conjunctions (“The Moon passes 1.1° from Jupiter”), oppositions, elongations, meteor showers and eclipses, each with its time at your place. Narrow it with Eclipses, Meteor showers and Planets, and Only what can be seen here. Add to calendar puts an event on Pocket Calendar.

Sky events with the Eclipses, Meteor showers and Planets filters and Only what can be seen here, then November 2026: Uranus at opposition, The Moon and Jupiter, The Moon and MarsSky events with the Eclipses, Meteor showers and Planets filters and Only what can be seen here, then November 2026: Uranus at opposition, The Moon and Jupiter, The Moon and Mars
Sky events by month.

Satellite passes covers the next three days: when each satellite rises and sets, the directions, how high it gets and how bright it is, with the words to find it (“Look south-east at 16:45…”). Only passes you can see keeps the ones lit by the Sun while the sky is dark.

Satellite passes with Only passes you can see switched on, then passes on Sun, Nov 22 with their times, directions, peak height and magnitudeSatellite passes with Only passes you can see switched on, then passes on Sun, Nov 22 with their times, directions, peak height and magnitude
Satellite passes you can see.

The observing log

Observing log lists your nights out, newest first, with the rating, place, equipment and what you saw; search it from the field at the top. A night shows when and where, the equipment, your rating, The sky (seeing, transparency, cloud, the Moon and the darkness), What you saw with your notes per object, and Notes. Edit, Save in Pocket Notes and Delete are on the night.

The Observing log: Balcony evening with the 8-inch Dobsonian, five stars, Sun, Nov 15 · Home, Germany, with Moon, M39, M45 Pleiades, North America Nebula, M31; Dark night on the heath nights at Hollow Ridge; A look from the balconyThe Observing log: Balcony evening with the 8-inch Dobsonian, five stars, Sun, Nov 15 · Home, Germany, with Moon, M39, M45 Pleiades, North America Nebula, M31; Dark night on the heath nights at Hollow Ridge; A look from the balcony
The observing log.
A night: Night Sun, Nov 15, Place Home, Germany, Time 18:12 – 19:33, Equipment 8-inch Dobsonian, Rating five stars, then The sky: Seeing 4 · Good, Transparency 5 · Excellent, Cloud 8 %, Moon 35 % lit, Darkness Bortle 7A night: Night Sun, Nov 15, Place Home, Germany, Time 18:12 – 19:33, Equipment 8-inch Dobsonian, Rating five stars, then The sky: Seeing 4 · Good, Transparency 5 · Excellent, Cloud 8 %, Moon 35 % lit, Darkness Bortle 7
One night in the log.

Log a night (the +) is the editor: the place, the night and the times in the place’s time zone, the equipment (with Equipment used before), seeing, transparency and cloud, a rating, and what you saw: search for objects, add one as written, or take What was up that night in one tap.

The round button

The round Sky button beside the + holds Star map, Point at the sky, Log a night, Ask Pocket AI, Sky events, Satellite passes, Observing log, Want to see and lists, Refresh and Open Pocket Sky. The first six show until you pick your own with Customise under the open menu; turn the button off under Settings → Screen action buttons.

The Sky tab with the round Sky button's menu open: Star map, Point at the sky, Log a night, Ask Pocket AI, Sky events, Satellite passesThe Sky tab with the round Sky button's menu open: Star map, Point at the sky, Log a night, Ask Pocket AI, Sky events, Satellite passes
The round Sky button's menu.

The star map

Star map draws the sky for your place on the phone: the Milky Way, constellation lines, names and borders, clusters, nebulae and galaxies, the stars by colour and brightness, the Sun, the Moon with its lit part and the planets, over the ground with the horizon and the compass points. Drag to look around and pinch to zoom; the cross in the middle names what is under it (“in Auriga · 61° up · east”). Tap something for a panel that opens upwards with its rise, highest and set times, Centre, Want to see, Log it and Ask. Find centres on anything (an arrow at the edge points to it when it is off screen), An hour earlier, An hour later and Now move the time, and Show has the layers and Red light.

Point at the sky follows the phone: hold it up and the map turns with you. With location allowed the map uses true north and works out the sky for where you stand (“Here”). Camera puts the camera’s picture behind the map (nothing is recorded); Pinch to match the picture, and Line up on a bright star or planet if the compass is off. The catalogue is kept on the phone, so the stars draw offline; the planets need the server.

The star map looking south: the Milky Way through Aquila and Sagittarius, constellation lines and names (Pegasus, Lyra, Aquarius, Capricornus), Vega, Altair and Deneb, the North America Nebula and Coathanger marked, the cross in the middle naming l Aql in Aquarius · 35° up · south, the ground with S, and the date and time with the hour buttons belowThe star map looking south: the Milky Way through Aquila and Sagittarius, constellation lines and names (Pegasus, Lyra, Aquarius, Capricornus), Vega, Altair and Deneb, the North America Nebula and Coathanger marked, the cross in the middle naming l Aql in Aquarius · 35° up · south, the ground with S, and the date and time with the hour buttons below
The star map, drawn on the phone.

On Mac

Tonight on the Mac: the score, the dark hours, the Moon and the cloud by the hour.Tonight on the Mac: the score, the dark hours, the Moon and the cloud by the hour.
Tonight on the Mac: the score, the dark hours, the Moon and the cloud by the hour.
The star map on the Mac, with the zoom buttons and the time control.The star map on the Mac, with the zoom buttons and the time control.
The star map on the Mac, with the zoom buttons and the time control.

Sky sits in the sidebar under Workspace. It has the same pages as the iPhone tab: tonight with the score, the Moon, cloud by the hour, the planets and best sights, the coming nights, events with Add to calendar, satellite passes, the observing log with its editor, your lists and Ask Pocket AI. The star map works on the Mac too, with zoom buttons instead of pinching; pointing at the sky is iPhone only. The Home widget shows tonight’s score, the dark hours and the next sky event.

Actions

  • Log a night, Edit and Delete an entry, and Save in Pocket Notes (folder Sky).
  • Add to Want to see and Remove from Want to see on an object’s page or the star map.
  • Add to calendar on a sky event (Pocket Calendar, through Core or the server’s own connection).
  • Ask Pocket AI about tonight or about one object.

Works with

  • Pocket Core: the address and the device credential come from Core; Pocket Calendar (events), Pocket Notes (a night as a note) and Pocket AI (answers) are reached through it.
  • Home: the Tonight’s sky card and the Home header; on the Mac the Home widget.
  • Spotlight: Sky opens the tab.

Tips & troubleshooting

  • Test connection says 401: the token must come from Settings → API & shortcuts in Pocket Sky (psky_…).
  • Times look an hour off: every time is shown in the place’s own time zone, set on the place in Pocket Sky.
  • “The forecast could not be refreshed; this is an older one.”: Pocket Sky could not reach Open-Meteo; the score uses the last forecast it has.
  • Ask Pocket AI refuses: Pocket Sky needs Pocket AI through Core or its own OpenAI key; it says which.
  • The map says “Offline: the stars from the last time”: the server was out of reach, so the planets are not up to date. They come back when you open the map on your network again.
  • Pointing does nothing: allow motion and, for true north, location. Without location the map uses magnetic north and your home place.