NASA Space Apps Challenge 2025 - Build a Space Biology Knowledge Engine
Chakrulo is a comprehensive space biology knowledge platform that combines AI-powered research assistance with interactive health assessment tools. Built for the NASA Space Apps Challenge 2025, this project addresses the critical need for accessible space biology knowledge and astronaut health assessment tools.
Chakrulo consists of two main components:
- ChakruloApp - A modern Next.js web application with AI-powered health assessment and space biology education
- ChakruloAI - A fully offline RAG-powered research assistant with 33+ space medicine research papers
To democratize access to space biology knowledge and provide evidence-based health assessment tools that bridge the gap between space research and terrestrial health applications.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Chakrulo Ecosystem β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Frontend (Next.js) β AI Backend (Python) β
β βββ User Authentication β βββ RAG Pipeline β
β βββ Health Questionnaire β βββ Vector Database β
β βββ AI-Powered Dashboard β βββ Local LLM (Ollama) β
β βββ Readiness Scoring β βββ Document Processing β
β βββ Community Features β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
- Comprehensive Questionnaire: Physical and mental health assessment based on NASA astronaut health studies
- Readiness Scoring: AI-calculated space readiness scores with detailed breakdowns
- Interactive Dashboard: Real-time visualization of health metrics and space biology insights
- File Upload Support: Users can upload medical documents for enhanced assessment
- Interactive Learning Modules: Moon, Mars, Microgravity, and Space Radiation effects
- Evidence-Based Content: All content grounded in NASA research and peer-reviewed studies
- Community Features: Connect with other space enthusiasts and researchers
- Publication Access: Curated collection of space biology research papers
- Secure Authentication: Powered by Clerk for enterprise-grade security
- Profile Management: Comprehensive user profiles with health history
- Data Privacy: All user data stored securely with full GDPR compliance
- 100% Offline Operation: No API keys, no cloud dependencies, complete data privacy
- 33+ Research Papers: Curated collection from NCBI/PMC on space medicine
- Three AI Modes:
- Scientific Understanding: Q&A with evidence-based answers
- Scientific Summary: Comprehensive summaries using Map-Reduce
- Scientific Recommendation: Actionable recommendations for research and missions
- Persistent Vector Database: One-time document processing, instant retrieval
- Source Attribution: All answers grounded in actual document content
- Chat History: Conversation memory within sessions
- Multi-Document Analysis: Cross-reference information from multiple papers
- Framework: Next.js 15 with TypeScript
- Styling: Tailwind CSS 4.0
- Authentication: Clerk
- AI Integration: Google Gemini 2.0 Flash
- Database: Supabase
- State Management: React Query + Redux Toolkit
- UI Components: Custom components with Lucide React icons
- Form Handling: React Hook Form with Zod validation
- File Upload: Supabase Storage
- Email Service: Resend
Chakrulo/
βββ ChakruloApp/ # Next.js Web Application
β βββ src/
β β βββ ai/ # AI integration layer
β β βββ app/ # Next.js app router
β β β βββ (auth)/ # Authentication pages
β β β βββ (dashboard)/ # Main application pages
β β β βββ api/ # API endpoints
β β βββ components/ # Reusable UI components
β β βββ services/ # Business logic
β β βββ types/ # TypeScript definitions
β β βββ utils/ # Utility functions
β βββ public/ # Static assets
βββ ChakruloAI/ # Python AI Backend
βββ app.py # Main Streamlit application
βββ requirements.txt # Python dependencies
βββ chakrulo_ai_chroma_db_local/ # Vector database (auto-generated)
- Node.js 18+ and npm
- Python 3.8+ and pip
- Ollama installed locally
- Git for version control
# Clone the repository
git clone https://github.com/GeorgeShani/Chakrulo.git
cd Chakrulo/ChakruloApp
# Install dependencies
npm install
# Set up environment variables
cp .env.example .env.local
# Edit .env.local with your API keys
# Start development server
npm run dev# Install Ollama
# Visit https://ollama.ai and install for your platform
# Download the required model
ollama pull llama3.2
# Navigate to AI backend
cd ../ChakruloAI
# Install Python dependencies
pip install -r requirements.txt
# Start Ollama server (Terminal 1)
ollama serve
# Start Streamlit app (Terminal 2)
streamlit run app.pyNEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_clerk_key
CLERK_SECRET_KEY=your_clerk_secret
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_key
GOOGLE_GEMINI_API_KEY=your_gemini_keyNo environment variables required - fully offline operation.
The questionnaire system is based on NASA's Human Research Program (HRP) and includes:
- Physical Health Assessment: Cardiovascular, musculoskeletal, and physiological readiness
- Mental Health Assessment: Cognitive function, psychological resilience, and stress management
- File Upload Support: Medical documents, test results, and health records
- AI-Powered Analysis: Gemini AI integration for personalized insights
Interactive modules covering:
- Moon Missions: Reduced gravity effects, bone density loss, vestibular changes
- Mars Missions: Partial gravity adaptation, cardiovascular deconditioning
- Microgravity: Spatial disorientation, muscle atrophy, fluid shifts
- Space Radiation: Cancer risk, cognitive effects, tissue damage
The RAG system processes 33+ research papers covering:
- Cardiovascular effects of spaceflight
- Musculoskeletal adaptations
- Radiation exposure and countermeasures
- Psychological challenges
- Nutrition and metabolism
- Sleep and circadian rhythms
- Vestibular and sensorimotor changes
- Immune system function
Chakrulo is built on extensive research from:
- NASA Human Research Program (HRP)
- NASA GeneLab: Space Omics Data
- NASA Twins Study
- 608+ Open-Access Space Biology Publications
- NASA Open Science Data Repository
- NASA Space Life Sciences Library
- Space Researchers: Access to comprehensive space biology knowledge base
- Astronaut Candidates: Health assessment and readiness evaluation
- Medical Professionals: Space medicine education and research tools
- Students: Interactive learning about space biology
- General Public: Understanding space's impact on human health
- Cloud-based frontend with local AI processing
- Best of both worlds: accessibility and privacy
- All health questions grounded in NASA research
- Continuous updates with latest space medicine findings
- Complete data privacy with local processing
- No internet required for core AI functionality
- 33+ research papers in vector database
- Cross-referenced information retrieval
- Source attribution for all answers
- β Core health assessment system
- β AI research assistant
- β Basic dashboard functionality
- π Advanced analytics and reporting
- π Integration with wearable devices
- π Real-time health monitoring
- π Machine learning model training
- π Predictive health analytics
- π Multi-language support
We welcome contributions from the space biology and health technology communities!
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
- Additional research paper integration
- UI/UX improvements
- Performance optimizations
- Documentation enhancements
- Multi-language support
- NASA Space Apps Challenge for the inspiration and platform
- NASA Human Research Program for the scientific foundation
- Open Source Community for the amazing tools and libraries
- Research Contributors who made their work openly available
- GitHub Issues: Create an issue
- Documentation: See individual component READMEs
- Community: Join our Discord server
- NASA Space Apps Challenge: 2025 Challenge
- Live Demo: [Coming Soon]
Built with β€οΈ for the future of space exploration and human health
Chakrulo Team - Making space biology accessible to everyone