Skip to content

a04k/tldr-spaceapps25

Repository files navigation

TL;DR Dashboard - NASA Space Apps Challenge 2025

Too Long; Didn't Read - AI-powered research summarization and knowledge management for space biology research

Built with Next.js Powered by AI NASA Space Apps

πŸ‘₯ Team

Team Name: TL;DR Challenge: Build a Space Biology Knowledge Engine

Name Role GitHub
Ahmed Khaled Fullstack & Integration Engineer @a04k
Alhussein Ahmed Research Specialist
Ahmed Elsharkawy AI & ML Engineer, API Writer
Mahmoud Elsharkawy MSc Research Expert, (future PhD)
Sandy Adel Presentation and Content Expert & Biotechnologist

πŸš€ Overview

TL;DR Dashboard is an intelligent research assistant designed to make space biology and scientific research more accessible. Built for the NASA Space Apps Challenge 2025, it transforms complex research papers into digestible summaries and provides interactive AI-powered conversations about scientific topics.

🎯 Problem Statement

Researchers and professionals often struggle with:

  • Information Overload: Thousands of research papers published daily
  • Time Constraints: Limited time to read and understand complex studies
  • Knowledge Gaps: Difficulty connecting concepts across different papers
  • Accessibility: Scientific jargon barriers for non-experts

πŸ’‘ Our Solution

TL;DR Dashboard provides:

  • AI-Powered Summaries: Instant paper summarization with key insights
  • Interactive Chat: Context-aware conversations about research topics
  • Multi-User Personas: Tailored responses for researchers, students, and business professionals
  • Knowledge Mapping: Visual connections between research concepts
  • Voice Summaries: Audio playback in multiple languages
  • Paper Database: 608+ summarized papers with 2000+ in RAG system

✨ Features

πŸ€– AI Assistant

  • Smart Conversations: Context-aware chat with research papers
  • User Personas: Customized responses for different user types
  • Voice Summaries: Text-to-speech in English, Arabic, and French
  • Video Generation: AI-generated video summaries (demo)

πŸ“Š Dashboard

  • Research Database: 608 summarized papers, 2000+ in RAG
  • Real-time Stats: Track processing and usage metrics
  • Modern UI: Clean, responsive design with dark/light themes
  • Interactive Widgets: Time, weather, and system status displays

πŸ”¬ Research Tools

  • Paper Viewer: Enhanced reading experience with AI insights
  • Knowledge Mapping: Visual representation of concept relationships
  • Search & Discovery: Find relevant papers quickly
  • Citation Management: Track and organize research references

🌐 Multi-Language Support

  • Interface: English (primary)
  • Voice Summaries: English, Arabic, French
  • Content: Supports international research papers

πŸ› οΈ Technology Stack

Frontend

  • Next.js 15 - React framework with App Router
  • TypeScript - Type-safe development
  • Tailwind CSS - Utility-first styling
  • Radix UI - Accessible component primitives
  • Lucide Icons - Beautiful icon library

Backend & AI

  • Convex - Real-time database and backend
  • Google Cloud Run - Scalable API hosting
  • TL;DR AI - Custom research summarization
  • Google TTS - Text-to-speech synthesis

Deployment

  • Vercel - Alternative deployment option
  • GitHub Actions - CI/CD pipeline

πŸš€ Quick Start

Prerequisites

  • bun (recommended)
  • Git

Installation

  1. Clone the repository

    git clone https://github.com/a04k/tldr-spaceapps25.git
    cd tldr-spaceapps25
  2. Install dependencies

    bun i
  3. Set up environment variables

    cp .env.example .env.local

    Add your API keys:

    GEMINI_API_KEY=your_gemini_api_key
    CONVEX_DEPLOYMENT=your_convex_deployment
    CONVEX_URL=your_convex_url
    AI_API_URL=your_api_endpoint
  4. Run the development server

    bun run dev
  5. Open your browser Navigate to http://localhost:3000

πŸ“ Project Structure

tldr-dashboard/
β”œβ”€β”€ app/                    # Next.js App Router pages
β”‚   β”œβ”€β”€ api/               # API routes
β”‚   β”œβ”€β”€ laboratory/        # Research lab interface
β”‚   └── layout.tsx         # Root layout
β”œβ”€β”€ components/            # React components
β”‚   β”œβ”€β”€ ai-assistant/      # Chat interface
β”‚   β”œβ”€β”€ dashboard/         # Dashboard widgets
β”‚   β”œβ”€β”€ laboratory/        # Research tools
β”‚   └── ui/               # Reusable UI components
β”œβ”€β”€ convex/               # Database schema & functions
β”œβ”€β”€ data/                 # Research papers (MDX)
β”œβ”€β”€ lib/                  # Utility functions
β”œβ”€β”€ public/               # Static assets
└── types/                # TypeScript definitions

🎨 Key Components

AI Assistant (components/ai-assistant/)

  • Full-screen Chat: Immersive conversation interface
  • Context Awareness: Understands current paper being viewed
  • User Personas: Adapts responses based on user type
  • Voice & Video: Multimedia response options

Dashboard (components/dashboard/)

  • Overview: Main dashboard with stats and widgets
  • Research Activity: Track paper interactions
  • System Status: Monitor application health

Laboratory (components/laboratory/)

  • Paper Grid: Browse research papers
  • Paper Viewer: Enhanced reading experience
  • Search: Find relevant research quickly

πŸ”§ Configuration

Environment Variables

Variable Description Required
GEMINI_API_KEY Google Gemini API key βœ…
CONVEX_DEPLOYMENT Convex deployment ID βœ…
CONVEX_URL Convex database URL βœ…
AI_API_URL TL;DR AI API endpoint βœ…
NODE_ENV Environment (development/production) βœ…

πŸ“Š Data & Content

Research Papers

  • Format: Scraped PDFs from NASA CSV to MDX files in data/papers/
  • Count: 608 summarized papers
  • Topics: Space biology, microgravity, astrobiology
  • Sources: NASA, ESA, academic journals

Database Schema

// Conversations
conversations: {
  title: string
  createdAt: number
  updatedAt: number
}

// Messages
messages: {
  conversationId: Id<"conversations">
  role: "user" | "assistant"
  content: string
  timestamp: number
}

🀝 Contributing

We welcome contributions! Please see our Contributing Guidelines for details.

🌟 Acknowledgments

  • NASA Space Apps Challenge - For the inspiring challenge
  • Research Community - For the valuable scientific papers
  • Open Source Libraries - For the amazing tools and frameworks
  • Team Contributors - For their dedication and hard work

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ“ž Contact GitHub: @a04k


Built with ❀️ for NASA Space Apps Challenge 2025

Making space research accessible to everyone

About

TL;DR, A NASA Space Apps 2025 Solution For the Problem: Build a Space Biology Knowledge engine, Harnessing the power of AI, RAG, LLM and Semantic Search.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages