Skip to content

xJoeyCodes/Cognita

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cognita AI

Transform any PDF into intelligent flashcards and quizzes with the power of AI

License: MIT TypeScript React Tailwind CSS

Overview

Cognita AI is an intelligent learning platform that revolutionizes how students and professionals study by transforming PDF documents into interactive flashcards and quizzes using artificial intelligence. The platform leverages AI technology to automatically analyze educational content and generate personalized learning materials.

✨ Key Features

  • 🤖 AI-Powered Analysis: Automatically processes PDFs and extracts key concepts
  • 📚 Smart Flashcards: Generates high-quality flashcards with varying difficulty levels
  • 🧠 Spaced Repetition: Implements proven learning algorithms for optimal retention
  • 📊 Progress Tracking: Comprehensive analytics and performance monitoring
  • 🎯 Adaptive Learning: Personalized study schedules based on performance
  • 📱 Responsive Design: Works seamlessly across all devices
  • 🔐 Secure & Private: Your data is protected and never shared

🎯 Problem Solved

Traditional study methods often involve:

  • Time-consuming manual note-taking from PDFs
  • Inefficient memorization techniques
  • Lack of personalized learning paths
  • Difficulty creating effective study materials
  • Limited access to interactive learning tools

Cognita AI solves these challenges by automating the creation of study materials and implementing scientifically-proven learning techniques.

Tech Stack

Frontend

  • React 18 with TypeScript
  • Tailwind CSS for responsive styling
  • Framer Motion for smooth animations
  • Shadcn/ui for consistent component library

Backend

  • Supabase for database and authentication
  • PostgreSQL for data storage
  • Row Level Security for data protection

AI Integration

  • Google Gemini API for content analysis
  • Custom prompts for educational content generation
  • JSON parsing for structured data extraction

🚀 Quick Start

Prerequisites

  • Node.js 18+
  • Supabase account (free)
  • Google AI Studio account (free)

Installation

  1. Clone and install

    git clone https://github.com/your-username/Cognita.git
    cd Cognita
    npm install
  2. Set up environment Create .env.local file:

    VITE_SUPABASE_URL=your_supabase_url
    VITE_SUPABASE_ANON_KEY=your_supabase_key
    VITE_GEMINI_API_KEY=your_gemini_key
  3. Set up database

    • Create project at supabase.com
    • Run SQL commands from docs/SETUP.md
    • Get API keys from Supabase settings
  4. Start the app

    npm run dev

    Open http://localhost:8080

📖 Documentation

Features

PDF Processing

  • Drag-and-drop PDF upload interface
  • AI-powered content analysis using Google Gemini
  • Automatic flashcard and quiz generation
  • Support for various document types

Study Materials

  • Flashcards: Question-answer pairs with difficulty levels
  • Quizzes: Multiple-choice questions with instant feedback
  • Spaced Repetition: Optimized review scheduling
  • Progress Tracking: Real-time statistics and analytics

User Experience

  • Clean, intuitive design with purple gradient theme
  • Responsive layout for all device sizes
  • Smooth animations and micro-interactions
  • Accessible design following WCAG guidelines

🔒 Security

  • User authentication via Supabase
  • Row-level security for data protection
  • Secure PDF processing

📈 Roadmap ( My future developments to the project )

Phase 2 (Coming Soon)

  • Audio support with text-to-speech
  • Export options (Anki, Quizlet, CSV)
  • Collaborative learning features
  • Mobile applications

Phase 3 (Future)

  • Advanced AI with image analysis
  • Multi-language support
  • LMS integrations
  • Advanced analytics dashboard

License

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

Acknowledgments

Made with ❤️ by the Cognita AI Team (which is just ME)

About

The future of AI-ED

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages