Overview
Astrics began as a small web app that shows NASA's astronomy picture of the day, aimed at students and space enthusiasts. Over about two years it grew into a social platform: people sign up, post images, videos and text, follow each other, like, comment, save favourites and search.
I built it alone with Django. A scheduled job pulls each day's NASA entry and notifies users, files are stored in Appwrite with duplicate detection, and a direct messaging feature was started on top.
The challenge
NASA publishes a remarkable image every day, but a plain feed of them is easy to forget. The idea was to turn it into a place where people could share what they find and talk about it.
That meant solving everyday backend problems on a small budget: fetching content on a schedule, storing user uploads without paying twice for the same file, and keeping profile and post search fast.
The goal
Make the daily NASA picture a starting point for a small community.
- 01Fetch the astronomy picture of the day automatically and tell users when it is new.
- 02Let users post, follow, like, comment and save favourites.
- 03Store uploads outside the app server and avoid keeping duplicates.
- 04Search users and posts, and add direct messages.
Daily content from NASA
A Celery task calls NASA's astronomy picture API, saves the title, explanation, image and media type for the date, and emails users when a new entry is created. Celery beat runs it on a schedule, and failures are reported to the admins by email.
The social layer
Users have profiles with a profile picture and cover, and can follow each other. Posts can be an image, a video or text, and other users can like them, comment and save them. Posts and profiles are searchable through PostgreSQL full-text search vectors.
File storage and cleanup
Uploads go to Appwrite storage. Each file is hashed with SHA-256, and a reference count is kept so the same file is stored once. A scheduled cleanup task deletes files that nothing refers to any more.
Messaging
I added a messaging page and an Appwrite-backed message store for direct conversations. The last commits in the history are on this feature, so it is an early version rather than a finished one.
More screens
The outcome
Astrics is a public Django project with accounts, posts, follows, search, scheduled content and file de-duplication. It is archived. It served as a place for me to learn background jobs, third-party storage and a full-text search setup, and the repository holds around 165 commits of my own.


