Visual archive of NASA's APOD since 1995. Gallery, search, and filters on a database I own, so a specific day's image is easy to find without hitting the API.

AstroVista was the first big project I started when I began programming. I wanted to try React with Next.js and hit a real API. I looked through several public APIs for something simple to start with, and landed on a good one maintained by NASA: APOD, Astronomy Picture of the Day.

Since 1995 NASA has published one image a day. Each entry brings the photo (or video), an explanation, and credit for whoever made the record. Their official API already lets you visit past days: the previous day, the one before that, and so on. One at a time. I wanted the whole archive. Store everything from the start and look whenever I wanted.

Archive in my database

I stored everything in MongoDB. With the data at home I filter, search, and use what I need without a rate limit on every request. I can build the gallery my way.

The premise is a gallery. Find the image for a specific day visually, with search and filters, without asking NASA on every click. Favorites live in the app too. A daily job pulls the new image. The site only reads the database.

Open source until that stopped being the point

At first I wanted it open source. I shared it to see if anyone would care. Interest showed up, a few curious people, but nobody actually came to help.

I stopped pushing that and focused on an app I liked and would be proud to show. That's when AstroVista became what it is today.

Simple on purpose

It's still a simple project. Nothing too complex, but it does the job: the full APOD record since 1995, photos and videos, easier navigation than other sites in the same space.

A more modern look, search, filters, and favorites. It does what it promises.