Hello astro enthusiasts and welcome to the My Universe Hub repository! I'm Imad Saddik, and I'm obsessed with astronomy. I stumbled into this amazing field when I was 19, and honestly, discovering the wonders of the universe has been the best thing that's ever happened to me.
After months of using APOD, I started thinking, "Hey, this site looks a bit outdated." Since I've been learning web development, I had this crazy idea: Why not give APOD a modern look—one that’s easier to navigate, more interactive, and visually engaging? That's how My Universe Hub was born!
This little project of mine is my baby. I've invested hundreds of hours and over a year of work into it. I am sharing it with everyone to enjoy it and to contribute to it.
I absolutely love looking at the stunning images shared by NASA, ESA, CSA, and even amateur or professional astronomers on the internet. One of my favorite places to go is APOD (Astronomy Picture Of the Day). What's cool about APOD is that you never know what you're gonna get each day. It's like a little surprise waiting for you every time you visit.
Curious about how I built it? Check out my journey on YouTube here
To access the website, visit this page: https://myuniversehub.com/
By default, you will land on the home page. Here, you’ll find a search box where you can search for specific images by typing keywords. Below the search section, ten images are displayed by default. To load more images, simply click the Load More button.
The Today's Picture tab shows the image that was uploaded to APOD on that particular day.
The Trending page ranks the images by likes, displaying the most popular results.
If you’ve created an account, you can view the images you’ve liked in the Favourites page.
The Contribute page explains how you can support and contribute to the project.
In the About page, we discuss the reasons behind building My Universe Hub, thanking NASA, other agencies, and astronomers for their contributions.
On the far right of the page, you'll find the star count and a quick link to the GitHub repository.
Next to that, you’ll see the Login/Logout button.
I adore this image, it is one of my favorites. It is the Antennae galaxies, also known as NGC 4038 and NGC 4039. They are a pair of interacting galaxies and are currently in the process of colliding and merging with each other. I am sending you this image as a token of my appreciation for your support. I hope you like it as much as I do.
Image credit: Kent E. Biggs
Remember, I ❤️ you all! To contribute, it does not matter if you know how to code or not, there are many ways you can help support My Universe Hub. Here are a few ideas:
Love what we're doing? Share My Universe Hub with your friends, and fellow space enthusiasts. The more people know about us, the more we can grow and improve! Dont't forget that we do have a discord server you can join.
My Universe Hub is open-source! The code is broken into two repositories, one for development (public, it is this repository) and the other one is for production (private). We are separating the two because, we want to keep the users data safely secured in the private repository. The development repository is where we develop new features, fix bugs, and test new ideas. Once we are confident that the new feature is working as expected, we merge it into the production repository.
-
For developers: If you want to help us develop new features, fix bugs, or test new ideas, feel free to fork the development repository, make your changes, and submit a pull request. We will review your changes and merge them into the production repository if they meet our standards.
-
For the rest: If you have an idea for a new feature, a bug to report, or a suggestion to make, feel free to open an issue in the development repository. We will review your issue and work on it as soon as possible.
My Universe Hub is hosted on a machine provisioned from digital ocean. If the website grows and we need to upgrade the machine, we will need more funds to keep the website running. If you want to help us in hosting the website, you have a lot of options to donate.
You can donate via the following platforms:
My Universe Hub is currently available in just one language: English. If you are fluent in another language and want to help us translate the website, feel free to fork the development repository, make the necessary changes, and submit a pull request.
To translate the APOD entries, you can use LLMs (Large Language Models) if you are familiar with them, they are incredible at translating text. If you are not familiar with them, you can use Google Translate, but be sure to review the translation to make sure it is accurate.
Follow these steps to get the project up and running:
-
Clone this repository:
git clone https://github.com/ImadSaddik/My_Universe_Hub.git
-
Navigate to the project directory:
cd My_Universe_Hub
-
Install backend dependencies (assuming you have Python and pip installed):
cd backend pip install -r requirements.txt
-
Create the SQLite database:
python manage.py makemigrations python manage.py migrate
-
Fill database:
cd backend/utils/ python fill_database.py
-
Start Django server:
cd backend/ python manage.py runserver 0.0.0.0:8000
-
Install frontend dependencies:
cd frontend npm install --legacy-peer-deps
-
Start the development server:
npm run serve
Thank you NASA, ESA, CSA and all the other astronomers for sharing those beautiful images on the internet and especially on APOD. This work wouldn't have been possible without your effort. We realy appreciate it.