8000
Skip to content

Latest commit

Β 

History

64 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Thrive πŸš€

An open-source, offline-first learning platform built to democratize education.
Thrive is a multilingual learning platform that provides students with personalized learning paths and curated open-source resources. It uses a hint-based AI tutor, conversational learning, and offline access to make quality learning simple, accessible, and effective for everyone.


πŸ’š Live Platform

🌍 Why Thrive?

Access to quality education should not depend on bandwidth, geography, or language.

Thrive is built to close that gap.

In regions with unreliable internet or limited resources, Thrive enables:

  • πŸ“Ά Seamless offline learning
  • 🌐 Multilingual education
  • 🧠 Personalized, AI-driven instruction
  • 🏫 Scalable tools for teachers and institutions

Whether you're a student learning independently or a school managing hundreds of learners, Thrive adapts to you.


✨ Core Features

🧠 AI Course Planner & Generator

Thrive doesn’t just host content β€” it creates structured learning paths.

  • Custom Curriculum Generation
    Input a topic (e.g. β€œAdvanced Game Theory”) and receive a fully structured course:

    • Modules
    • Lessons
    • Quizzes
      Automatically tailored to the learner’s level.
  • AI-Generated Visuals
    Each course gets a unique, cinematic 3D cover image generated using Google Gemini / Imagen, ensuring a modern and engaging interface.

  • Pre-Assessment Engine
    Optional placement tests dynamically adjust course difficulty based on learner knowledge.


πŸ’¬ The Unenthusiastic AI

Meet Unenthusiastic AI, an AI tutor that refuses to spoon-feed answers.

  • 🧩 Socratic Teaching Style
    Guides students through reasoning instead of giving direct solutions.

  • πŸ“ˆ Topic-Level Mastery Tracking
    Progress is measured per concept, not just completion.

  • 🧠 Context-Aware Conversations
    Remembers course state, prior questions, and learning goals.

Learning happens through thinking β€” Unenthusiastic AI makes sure of it.


🏫 Teacher & Classroom Management

A powerful dashboard for educators.

  • Role-Based Access Control
    Secure flows for Students, Teachers, Admins, and Supervisors.

  • Classroom Creation
    Teachers can create classrooms and share unique Invite Codes.

  • Student Management
    View rosters, remove students, and manage enrollment.

  • Progress Monitoring (Coming Soon)
    Track quiz performance, lesson completion, and mastery trends.


πŸ“… Smart Learning Calendar

Learning without overwhelm.

  • Auto-Scheduling
    Courses are intelligently distributed across a calendar based on start dates and workload.

  • Daily Learning Notes
    Built-in journaling for reflection and goal-setting.

  • Live Sync
    Automatically updates based on lesson progress and quizzes.


πŸ“Ά Offline-First PWA Architecture

Designed for real-world constraints.

  • True Offline Mode
    When connectivity drops, users are seamlessly redirected to their Downloads page.

  • Downloadable Resources
    Videos, PDFs, and articles are available offline.

  • Local Caching
    UI, routes, and critical data are cached to provide a native-app-like experience.


πŸ“š Open Learning Library

A community-driven knowledge hub.

  • πŸŽ₯ Videos
  • πŸ“„ PDFs
  • πŸ“ Articles & Blogs

Features

  • Admin-moderated submissions
  • Difficulty, language, and media-type filters
  • Scalable for institutional use

πŸ› οΈ Technical Architecture

Thrive is built with performance, scalability, and developer experience in mind.

Layer Technology Purpose
Framework Next.js (App Router) SSR, API routes, RSC
Language TypeScript End-to-end type safety
Styling Tailwind CSS Custom design system
Database & Auth Supabase (PostgreSQL) Auth, DB, Storage
AI (Logic) OpenAI (GPT-4) Planner & Tutor
AI (Visuals) Google Gemini / Imagen Course artwork
Icons Lucide React Consistent UI

πŸš€ Getting Started

Prerequisites

  • Node.js 18+
  • npm / yarn
  • Supabase project
  • OpenAI & Google Gemini API keys

Installation

  1. Clone the repository
git clone https://github.com/YOUR_USERNAME/thrive.git
cd thrive
  1. Install dependencies
npm install
  1. Environment Configuration

Create a .env.local file in the root directory:

# Supabase
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_anon_key
SUPABASE_SERVICE_ROLE_KEY=your_service_role_key

# AI Providers
OPENAI_API_KEY=your_openai_key
GEMINI_API_KEY=your_gemini_key

# Role Access
ADMIN_INVITE_CODE=secure_admin_code
TEACHER_INVITE_CODE=secure_teacher_code
  1. Run the development server
npm run dev
  1. Open in your browser
http://localhost:3000

πŸ“‚ Project Structure

thrive/
β”œβ”€β”€ app/
β”‚   β”œβ”€β”€ admin/        # Admin dashboard
β”‚   β”œβ”€β”€ api/          # Backend routes (AI, Auth, DB)
β”‚   β”œβ”€β”€ calendar/     # Scheduling & notes
β”‚   β”œβ”€β”€ chat/         # AI Tutor
β”‚   β”œβ”€β”€ course/       # Course player & quizzes
β”‚   β”œβ”€β”€ dashboard/    # Student overview
β”‚   β”œβ”€β”€ downloads/    # Offline access
β”‚   β”œβ”€β”€ library/      # Community resources
β”‚   β”œβ”€β”€ planner/      # AI course generator
β”‚   β”œβ”€β”€ teacher/      # Classroom tools
β”‚   └── page.tsx      # Landing page
β”œβ”€β”€ components/       # Shared UI components
β”œβ”€β”€ lib/              # Supabase clients & utilities
└── public/           # Static assets & PWA files

🀝 Contributing

We welcome contributions from:

  • Developers
  • Educators
  • Translators
  • Accessibility advocates

How to contribute

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. Open a Pull Request

πŸ“„ License

Licensed under th 54CD e MIT License. See LICENSE for details.


Built with ❀️ for accessible education

GitHub β€’ Website β€’ Donate

About

Thrive is a multilingual learning platform that provides students with personalized learning paths and curated open-source resources. It uses a hint-based AI tutor, conversational learning, and offline access to make quality learning simple, accessible, and effective for everyone. β€Ž β€Ž β€Ž Β© 2025 Thrive. Empowering learners worldwide πŸ’š

Topics

Resources

Stars

5 stars

Watchers

0 watching

Forks

Contributors

Languages

0