A Flask-based astrophotography web application
Project description
๐ AstroSpace
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:
www.astro.space-js.de
๐ Key Features
- ๐ 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
๐ธ Screenshots
๐ผ๏ธ Image Gallery with Detailed Information Tabs
Organize your astrophotography with rich metadata and detailed viewing options:
Details
๐ PHD2 Log Analysis
Upload and analyze your autoguiding performance:
๐ User Authentication System
Secure login with configurable user limits (set MAX_USERS environment variable):
โ๏ธ Content Creation
Create and share your astrophotography posts:
๐ Upcoming Features
- ๐ 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
๐ ๏ธ Getting Started
๐ง Prerequisites
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
๐ Configuration Template
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/uploads
๐งช Local Setup
Follow 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 website
๐งช Local Development Setup
Follow 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 run
Your AstroSpace instance will be available at http://localhost:5000 ๐
Docker Container
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
๐ค Contributing
We welcome contributions from the astrophotography community! ๐
Ways to Contribute:
- ๐ 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
๐ License
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! ๐
๐ฌ Get in Touch
Have questions, suggestions, or just want to share your amazing astrophotography results? Reach out!
- ๐ง Email: sharonshaji92@outlook.com
- ๐ GitHub: https://github.com/sharon92
- โญ Star this repo if you find AstroSpace useful!
Made with โค๏ธ for the astrophotography community ๐
Clear skies and happy imaging! โจ๐ญ
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file astrospace-1.2.5-py3-none-any.whl.
File metadata
- Download URL: astrospace-1.2.5-py3-none-any.whl
- Upload date:
- Size: 6.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Hatch/1.16.3 cpython/3.12.10 HTTPX/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66d44970a1a54c64f8f2f0aa71c0d239dc87da2d3354a09a82bffdc6b59c1716
|
|
| MD5 |
af89f5e47c0dfd4bbcb76dc5f0604e54
|
|
| BLAKE2b-256 |
2d9bb18f1c52bc62deacce633279c436588ac383f0851492f4e9aabe9a200edb
|