How sanchet237/astrobot-space_trivia works
Project Type and Purpose
• Astro Bot is a full-stack web application (Flask backend + static frontend) whose purpose is to serve a space-themed chatbot. It retrieves real-time data from NASA Open Data and processes user queries via the Gemini API for NLP.
File Structure
• Top-level files:
• server.py – Flask application entry point and HTTP routes
• llm.py – Dedicated module for natural language processing and external API integration
• templates/index.html – Single-page UI shell
• templates/static/ – Static assets (CSS, JS, images)
• requirements.txt – Python dependencies
• No separate “src” or “app” directories means everything is centrally managed under server.py and a small module.
README for Additional Insights
• Backend uses Python + Flask
• Frontend uses vanilla HTML/CSS/JS
• Two major external API integrations: NASA Open Data and Gemini API (for NLP)
• The “How It Works” section confirms the dataflow: user → Flask → llm.py → external APIs → Flask → browser