AstroSpace is a web application designed to host, organize, and showcase your astrophotography collection, its basically your personal Astrobin/Instagram. π Sort celestial objects in timeline views, automatic annotation for your images (via Plate Solving), compare the size of your DSO with moon scale, explore the objects inside your DSO with Plotly graphs and much more! β¨
Perfect for amateur astronomers, astrophotographers, and stargazers who want to organize their night sky adventures and create their own personal space for Astro Stuff! π
check out my Instance at:
- π Secure User Authentication β Protected access with customizable user limits
- π¨ Modern Tailwind CSS Interface β Sleek, responsive design that looks professional
- π Dark & Light Mode Support β Perfect for both day and night viewing sessions
- ποΈ Dynamic Content Management β Seamlessly handle static and dynamic astrophotography content
- π§© Modular Architecture β Clean, maintainable structure with reusable utilities and templates
- π³ Docker Ready β Containerized deployment for hassle-free setup
- βοΈ Post Creation & Editing β Document your observations and share your astrophotography journey
- π PHD2 Log Integration β Upload and analyze your autoguiding logs for better tracking performance
- π Plate Solving β Automatically identify celestial objects and coordinates in your images
- π± Responsive Design β Access your collection from any device
- π Moon Scale for DSO Frames β Visualize the scale of deep sky objects in comparison to the Moon
- πΊοΈ Equatorial Grid Overlay β Overlay celestial coordinate grids for precise orientation
- π Shareable Links with Tabular Acquisition Details β Easily share your captures along with structured metadata
- π Explore DSO Contents with Plotly Graphs β Interactively visualize SIMBAD and VizieR catalog queries. Plots a Hertzsprung Russel Diagram by default.
- π οΈ Equipment Inventory System - Track your telescopes, cameras, filters, and accessories
Organize your astrophotography with rich metadata and detailed viewing options:
Upload and analyze your autoguiding performance:
Secure login with configurable user limits (set MAX_USERS environment variable):
Create and share your astrophotography posts:
- π Advanced Blogging Platform - Enhanced tools for documenting observations and techniques
- βοΈ Solar Photography Support - Extended functionality for solar observation and imaging
- π Weather Integration - Connect with weather APIs for observing conditions
- π Advanced Analytics - Detailed statistics about your imaging sessions and equipment performance
Before you begin, ensure you have the following installed on your system:
- π Python 3.10+ - The core runtime environment
- π¦ pip - Python package installer
- ποΈ PostgreSQL - Database server (or another SQL-compatible database)
- π³ Docker - (Optional) For containerized deployment
- π Astrometry.net Account - For plate-solving functionality
Create config.py with the following settings:
# π Security Configuration
SECRET_KEY = 'your-super-secret-key-here' # β οΈ Change this in production!
# ποΈ Database Configuration
DB_NAME = 'astrospace_db'
DB_USER = 'your_username'
DB_PASSWORD = 'your_secure_password'
DB_HOST = 'localhost' # Or your database hostname
DB_PORT = 5432
# π₯ User Management
MAX_USERS = 5 # Set maximum number of registered users
# π·οΈ Site Branding
TITLE = "My AstroSpace Observatory" # Customize your site name can be changed later in settings
# Upload Path - uploaded jpegs and phd logs will be saved here
UPLOAD_PATH = "absolute/path/to/uploadsFollow these steps to get AstroSpace running on your local machine:
# π§ Set up a Python virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# π¦ Install astrospace package
pip install astrospace
set ASTROSPACE_SETTINGS=path/to/config.py
flask --app AstroSpace run
#follow the link in the console to access your websiteFollow these steps to get AstroSpace running on your local machine:
# π₯ Clone the repository
git clone https://github.com/sharon92/AstroSpace.git
cd AstroSpace
# π§ Set up a Python virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# π¦ Install required dependencies
pip install -r requirements.txt
# π Launch the application
set ASTROSPACE_SETTINGS=path/to/config.py
flask --app AstroSpace runYour AstroSpace instance will be available at http://localhost:5000 π
docker pull sharonshaji92/astrospace:latest
docker run \
-d \
--name='Your_Container_Name' \
-e 'SECRET_KEY'='your_super_secret_key' \
-e 'DB_NAME'='astrodb' \
-e 'DB_USER'='test' \
-e 'DB_PASSWORD'='123123' \
-e 'DB_PORT'='8080' \
-e 'TITLE'='Your_Website_Name' \
-e 'MAX_USERS'='1' \
-e 'DB_HOST'='0.0.0.0' \
-e 'UPLOAD_PATH' = '/uploads' \
-p '9000:9000/tcp' \
-v '/path/on/server/to/mount/to/the/app':'/uploads' \
sharonshaji92/astrospace:latest
We welcome contributions from the astrophotography community! π
- π Bug Reports - Found an issue? Let us know!
- π‘ Feature Requests - Have ideas for new functionality?
- π§ Code Contributions - Submit pull requests with improvements
- π Documentation - Help improve our guides and documentation
- π§ͺ Testing - Help test new features and report feedback
Feel free to:
- π Open an issue for bugs or feature requests
- π Submit a pull request with your improvements
- π¬ Join discussions about the project's future
This project is licensed under the GNU GPL-3.0 License π
This means you're free to use, modify, and distribute AstroSpace, but any modifications must also be open source under the same license. Perfect for keeping the astrophotography community's tools open and accessible! π
Have questions, suggestions, or just want to share your amazing astrophotography results? Reach out!
- π§ Email: [email protected]
- π GitHub: https://github.com/sharon92
- β Star this repo if you find AstroSpace useful!
Made with β€οΈ for the astrophotography community π
Clear skies and happy imaging! β¨π

