Mindful Moments is a simple web application that helps you reflect on your day and set actionable goals. Powered by the Gemini 2.5 Flash API, it provides AI-generated insights on your reflections and helps you create step-by-step plans for your goals.
- Daily Reflection: Write about your day and receive warm, conversational insights.
- Goal Setting: Set short-term, medium-term, or long-term goals and get a simple action plan.
- History: View your past reflections and goals in a timeline.
- Local Storage: All entries are saved in your browser for privacy and convenience.
- A modern web browser (Chrome, Firefox, Edge, etc.)
- A Gemini API key (Google Generative Language API)
- Clone or download this repository.
- Create a
.envfile in the project root and add your Gemini API key:GEMINI_API_KEY=your_api_key_here - Open
index.htmlin your browser.
Note: The API key is currently hardcoded in
script.jsfor demo purposes. For production, consider securing your API key.
index.html: Main HTML file.style.css: App styling.script.js: App logic and API integration..env: API key configuration (not used directly by the browser).
- Enter your daily reflection and click Get Insights to receive feedback.
- Set a goal, choose a timeframe, and click Create Action Plan for a step-by-step guide.
- Your entries will appear in the Your History section.
- HTML, CSS, JavaScript
- Google Gemini 2.5 Flash API
- Font Awesome for icons
This app stores your data locally in your browser and does not share it with anyone. The AI-generated insights are for informational purposes only.
**Powered by Gemini