Skip to content

ck-ahmad/AstroHub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

45 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ AstroHub – GitHub-style Project Showcase by Ahmad Leo πŸ‘¨β€πŸš€

A futuristic, self-hosted project portfolio built using Flask, HTML/CSS/JS & Three.js 🌌
Think of it as your own personal cosmic GitHub β€” themed, optimized, and beautiful.


Demo Video


🌟 Why AstroHub?

I built AstroHub as a lightweight and visually rich alternative to GitHub β€” giving myself more control over how I present my work, especially during hackathons, client demos, and tech portfolios.


πŸ†• What's New

  • βœ… User-Added Projects – Users can now submit their own GitHub repo links and descriptions to showcase on AstroHub
  • πŸ“¦ ZIP File Downloads – Each project includes an optional ZIP download link stored on Google Drive (secured)
  • 🧾 Dynamic Project Cards – Backend updated to load user-submitted projects
  • πŸ› οΈ Bug Fixes – Previous version lacked external project submission and ZIP support

πŸ’» Tech Stack

Layer Technologies Used
Backend Flask, Flask-Login, Flask-SQLAlchemy
Frontend HTML, CSS, JavaScript
Animation Three.js (animated starfield)
Auth & DB Login system, SQLite/SQL supported

🌈 Languages Used

HTML CSS JavaScript Python SQL


🌌 Features

  • 🌠 Starry animated background using Three.js
  • πŸ“‚ Project cards with title, description, GitHub link, and Google Drive ZIP download
  • πŸ” User login/signup with Flask-Login
  • πŸ“ Add your own project using GitHub link + Drive ZIP
  • πŸ›°οΈ Fully responsive and mobile-friendly layout
  • πŸ›Έ Glowing neon blue alien theme (Dark Mode by default)

⚑ Challenges I Faced

  • πŸ›€οΈ Route Management – Faced issues where Flask routes didn’t match HTML paths, causing broken links & redirects.
  • πŸ—„οΈ Database Issues – MySQL on localhost stopped working, so I switched to an SQLite DB (AstroDB.sqlite3) inside the project.
  • πŸ”‘ Login Redirect – Sometimes after pressing login, the app didn’t go to the dashboard due to session & redirection bugs.

πŸ“ Project Structure

AstroHub/ β”‚ β”œβ”€β”€ app.py # Main Flask app β”œβ”€β”€ instance/ β”‚ β”œβ”€β”€ astro.db # Data Base For Projects & Users Details β”œβ”€β”€ templates/ β”‚ β”œβ”€β”€ index.html # Landing page β”‚ β”œβ”€β”€ login.html # Login page β”‚ β”œβ”€β”€ signup.html # Signup page β”‚ β”œβ”€β”€ dashboard.html # Projects page β”‚ β”œβ”€β”€ add_project.html # Add New Projects as Per User β”‚ β”œβ”€β”€ static/ β”‚ β”œβ”€β”€ css/ # Styles β”‚ β”œβ”€β”€ js/ # Starfield animation (Three.js) β”‚ β”œβ”€β”€ preview/ # Downloadable files β”‚ └── images/ # Assets like logos β”‚ β”œβ”€β”€ config.json # Configuration └── README.md # This file


🌟 UI

Screenshot 2025-07-29 053029

πŸš€ How to Run Locally

# 1. Clone this repo
git clone https://github.com/ck-ahmad/AstroHub.git
cd AstroHub

# 2. Set up a virtual environment
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

# 3. Install dependencies
pip install -r requirements.txt

# 4. Run the app
python app.py

# Open in browser
http://127.0.0.1:5000/
🧠 Project Showcase (Inside AstroHub)
Like:
πŸ”— TONY AI – Personal Assistant
πŸ”— Google Drive Clone (C++)
πŸ”— Student Assistant Helper
πŸ”— + Add your own via GitHub & Drive! 

🌐 Live Demo
🚧 Coming Soon on Render/Vercel
βœ… Meanwhile, view demo video above ☝️

πŸ€– Author
Ahmad 
πŸ”— GitHub Profile
πŸ“« Links in bio

πŸ“œ License
MIT License – Free to fork, build on, and use.
AstroHub was built for the open-source galaxy 🌌

markdown
Copy
Edit

Would you like:
- βœ… A sample `config.json`?
- βœ… A generated `requirements.txt`?
- βœ… Flask route and form logic for submitting project name + repo + ZIP link?

About

πŸ”­ AstroHub – GitHub-style Space Project Showcase A personalized, Flask-powered platform to showcase AI, DSA, and space-tech projects with a glowing starfield UI ✨. Built as a custom alternative to GitHub for demos, downloads, and a cosmic presentation experience 🌌.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors