Hi all! I'm learning to code, and I built the tool I wanted as a beginner with an 8" Dob: not another sky map, but a quick, honest plan for tonight. Open it, and it tells you whether it's worth setting up, what to look at in what order, and what you'll actually see (a galaxy is a faint smudge, not a Hubble photo). Then you use your sky map app of choice to find things; this is NOT meant to replace Sky Safari, stellarium, etc. This is just a quick glance to see if you should maybe consider doing some heavier planning on those apps.
https://tonights-cosmos.vercel.app/: no ads, no account, no tracking of any kind.
-What it does
"Is it worth going out?" Hourly cloud forecast for your darkness window, the Moon (phase, rise and set, and whether it's actually up while you're out), plus notes for dew, cold and wind.
-Tonight's suggested viewing order: 5 to 10 targets picked for your aperture, Bortle level and tonight's Moon. Bright targets come first while your eyes adapt, faint ones before moonrise or after moonset, and the Moon last.
-Red night-vision mode: switches on by itself after sunset. It's pure red on black, and an automated check measures roughly 3,000 colors on the page to confirm none contain green or blue.
-Works offline at a dark site once you've opened it online, and you can add it to your home screen like an app.
How it decides things (rules of thumb, and I'd love feedback on them)
-Positions: all calculated on your phone with Astronomy Engine (Sun, Moon, planets, and the catalog objects converted from J2000 to your local sky). Nothing is made up.
-Catalog: 66 hand-picked showpieces (Messier, bright NGC objects, double stars, carbon stars) plus the Moon and planets. A script checks every entry against OpenNGC and the Yale Bright Star Catalog. Every position matched; a few brightness values needed fixing. (Plenty more to come, southern hemisphere is lacking, I’ll add way more soon!)
-Visibility: each object's magnitude gets an "effective" penalty for light pollution (galaxies are hit hardest, clusters least), for size (big, faint glows suffer more in bright skies) and for moonlight (Moon brightness × whether it's up × how close it is). That's compared with what your aperture can reach. Double stars are judged on whether your scope and typical seeing can split them, with a penalty for a faint companion lost in the glare.
-Ranking: every target is checked every 15 minutes through your session, and anything that stays below about 20° is skipped. The score is 30% how high it gets, 10% how long it's up, 35% how easy it is tonight, and 25% a hand-given "wow factor". There's a boost for the kinds of target you choose to focus on, and a variety rule so you don't get eight faint smudges in a row.
-"Clear": an hour counts as clear at 30% cloud or less. The headline says "go" when about ¾ of your remaining time is clear.
The little details:
"Tonight" is anchored to solar noon, so 2 AM still counts as tonight.
Times are shown in the observing location's time zone.
It handles summers with no full darkness and the midnight sun.
Saturn's description knows how far its rings are tilted right now.
To be completely clear, I used Claude to help me code this, and walk me through some of the more difficult parts. As I said I’m learning to code and Claude was a great tool to make something free, and something I hope you all can get some use out of.
Suggestions are totally welcome and I have a lot more things I want to add as I get better at coding! (More objects, more features!) I’d like to add a search feature which gives you a very simple answer on whether the searched object (M31 for example) will be a good target tonight.
Check out the about and credit pages for more info!