> For the complete documentation index, see [llms.txt](https://null-19.gitbook.io/null-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://null-19.gitbook.io/null-docs/moodcards-mood-based-ai-flashcards.md).

# 🎴MoodCards -Mood Based AI FlashCards

AI-powered flashcards that adapt to your emotional state while studying. [![MoodCards](https://camo.githubusercontent.com/501c7a52025cf2e82af4fd18881fd0b5edb4f342cc6f48688fdf0a81d4c40ab5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6f6f6443617264732d456d6f74696f6e616c2532304c6561726e696e672d70696e6b)](https://camo.githubusercontent.com/501c7a52025cf2e82af4fd18881fd0b5edb4f342cc6f48688fdf0a81d4c40ab5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6f6f6443617264732d456d6f74696f6e616c2532304c6561726e696e672d70696e6b) [![Python](https://camo.githubusercontent.com/101bcd99ae2629722f7aef928b8bc9fd4c32cbcb532d9c2b1667d472bf708b13/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f507974686f6e2d466c61736b2d626c7565)](https://camo.githubusercontent.com/101bcd99ae2629722f7aef928b8bc9fd4c32cbcb532d9c2b1667d472bf708b13/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f507974686f6e2d466c61736b2d626c7565) [![AI](https://camo.githubusercontent.com/91bff75f8784e2d4276e58dccb2bc86e4467b06d7b93ea96348da50a13f75799/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f41492d47656d696e692d6f72616e6765)](https://camo.githubusercontent.com/91bff75f8784e2d4276e58dccb2bc86e4467b06d7b93ea96348da50a13f75799/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f41492d47656d696e692d6f72616e6765)

### ✨ Features

* **🤖 AI-Powered Flashcards** - Generate study cards from any text using Google Gemini API
* **🎭 Mood-Based Learning** - Choose from Relaxed, Panic, or Tired modes with tailored motivation
* **🎵 Focus Music** - Optional gamma wave music to enhance concentration
* **🐰 Interactive Companion** - Bunny with encouraging messages
* **🎴 Animations** - Smooth flip cards with responsive design

### 🚀 Quick Start

#### Prerequisites

* Python 3.8+
* Google Gemini API key

### 🎯 Usage

* Select your mood - Relaxed , Panic , or Tired
* Paste study text - Up to 400 words
* Generate flashcards - AI creates 5 interactive cards
* Study with support - Flip cards, play focus music, get motivation

#### Installation

```
# Clone the repository
@@ -34,39 +40,27 @@ echo "GEMINI_API_KEY=your_api_key_here" > .env

# Run the application
python app.py
```

Visit [http://localhost:5000](http://localhost:5000/) to start using MoodCards!

### 🛠️ Built With

* Backend: Python, Flask
* Frontend: HTML5, CSS3, JavaScript, Bootstrap
* AI: Google Gemini API
* Audio: YouTube API for focus music

### 🚀 Future Improvements

* Mathematical Equations - LaTeX support for STEM subjects
* Quiz Mode - Test knowledge after studying flashcards
* AI Chat Assistant - Real-time Q\&A for instant help
* Mobile App - React Native version for on-the-go studying
* Dynamic Motivations - AI-generated personalized encouragement messages

&#x20;                                             *emotional state matters while studying*


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://null-19.gitbook.io/null-docs/moodcards-mood-based-ai-flashcards.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
