MindSpace is a minimal AI-powered emotional reflection platform designed for accessibility and privacy.
MindSpace provides a simple interface where users can:
- Enter their thoughts
- Receive AI-generated responses
- Use the platform without logging in
The platform emphasizes simplicity, privacy, and ease of access.
- HTML
- CSS
- Vanilla JavaScript
No frameworks used. Lightweight and fast.
The frontend communicates with a secure backend API endpoint for AI processing.
All sensitive logic and API credentials are handled server-side.
No API keys are stored in this repository.
Due to strict origin validation implemented on the backend, the AI API will only respond to requests originating from the official deployed frontend:
Cloning this repository locally will allow you to explore the UI and frontend structure, but AI responses will not function unless deployed from the approved production origin.
This design prevents unauthorized third-party usage of the backend API.
This repository contains frontend code only.
Backend logic, rate limiting, validation rules, and security controls are handled separately and are and will not be included in this repo.
MindSpace now maintains conversation context throughout your session! Unlike traditional chatbots that treat each message as isolated, MindSpace remembers your previous messages and provides contextual, flowing responses.
What this means:
- Natural conversation flow from greetings to deep discussions
- AI references previous parts of your conversation
- More personalized and empathetic responses
- Session-based memory (resets when you refresh the page)
Example:
You: Hi, I'm feeling overwhelmed with school work
AI: Hello! I hear that school can be really demanding sometimes...
You: Yeah, I have 3 exams this week and I can't focus
AI: I understand - having multiple exams can create a lot of pressure...
- "New Conversation" button: Start fresh anytime you want to reset the conversation
- Located next to the "Express" button for easy access
MindSpace is completely free and privacy-focused. If you'd like to support its development and help keep this platform accessible, every rupee contributed goes directly towards:
- 🖥️ Server Costs - Hosting and infrastructure
- 🤖 AI API Usage - Google Gemini AI processing
- 🚀 Future Improvements - New features and enhancements
- UPI ID: saha1943@fam
- Use any UPI app (Google Pay, PhonePe, Paytm, etc.)
- All contributions go directly to development costs
🔒 Safety First:
- UPI is a secure banking system regulated by RBI
- Always verify the UPI ID before sending money
- Use official UPI apps for maximum security
- Never share sensitive banking details
Your contributions help maintain this safe space for mental health support, ensuring MindSpace remains:
- ✅ Free for everyone
- ✅ Always available (24/7)
- ✅ Completely private
- ✅ No ads or data collection
Thank you for supporting mental health accessibility! 🙏
“12 Hackathons in 12 Months” Month 2/12
MindSpace is not just a project — it’s a commitment to consistent building and growth.
