A beautiful, intelligent study assistant that combines the clean productivity aesthetics of Motion with the friendly, gamified interface patterns of Duolingo. Prisma helps students learn more effectively through AI-powered insights, interactive mind mapping, and personalized study guidance.
- Glassmorphism Interface: Beautiful translucent cards with backdrop blur effects
- Purple Gradient Theme: Cohesive color scheme inspired by productivity and learning
- Motion-Inspired: Clean lines, purposeful animations, productivity-focused layouts
- Duolingo-Inspired: Friendly micro-interactions, progress indicators, encouraging feedback
- Inter Typography: Highly legible font optimized for user interfaces
- WCAG AA Compliant: Accessible design with proper color contrast ratios
- Intelligent Study Assistant: Prisma-powered AI that understands your learning context
- Memory System: Persistent learning profile that adapts to your progress
- Smart Interventions: Proactive help when you're struggling with concepts
- Contextual Hints: AI provides guidance without giving away answers
- Follow-up Support: Conversational learning that builds on previous interactions
- Progress Dashboard: Visual metrics showing learning milestones and streaks
- Interactive Mind Maps: D3.js-powered knowledge visualization
- Note Management: Organized study notes with AI integration
- Activity Tracking: Monitor your learning patterns and time spent
- Sidebar Interface: Always-accessible AI assistant while browsing
- Page Context Awareness: AI understands what you're reading/studying
- Real-time Help: Get instant explanations and clarifications
- Memory Integration: Your learning profile follows you across websites
- Node.js (v16 or higher)
- Chrome browser (for extension)
- Prisma API key
-
Clone the repository
git clone <your-repo-url> cd hackMIT
-
Set up the backend
cd backend npm install -
Configure API keys
# Create environment file cp .env.example .env # Add your Prisma API key to .env PRISMA_API_KEY=your_api_key_here
-
Configure Chrome extension
# Copy config template cd ../extension cp config.js.example config.js # Add your API key to config.js
-
Start the backend server
cd ../backend npm start -
Open the web interface
- Navigate to
web/index.htmlin your browser - Or serve the web directory with a local server
- Navigate to
-
Install Chrome extension
- Open Chrome and go to
chrome://extensions/ - Enable "Developer mode"
- Click "Load unpacked" and select the
extensionfolder
- Open Chrome and go to
hackMIT/
├── web/ # Web application
│ ├── index.html # Learning dashboard
│ ├── chat.html # AI chat interface
│ ├── mindmap.html # Interactive mind map
│ └── js/api.js # API utilities
├── extension/ # Chrome extension
│ ├── manifest.json # Extension configuration
│ ├── sidebar.html # Extension UI
│ ├── sidebar-enhanced.js # Enhanced functionality
│ ├── content.js # Content script
│ ├── background.js # Service worker
│ └── ai-analyzer.js # AI integration
├── backend/ # Node.js backend
│ ├── memory-api.js # Main API server
│ ├── package.json # Dependencies
│ └── data/ # Data storage
└── README.md # This file
- Primary Gradient:
linear-gradient(135deg, #667eea 0%, #764ba2 100%) - Glass Cards:
rgba(255, 255, 255, 0.15)with backdrop blur - Text: White with varying opacity levels for hierarchy
- Accents: Purple, orange, teal for different UI elements
- Font Family: Inter (Google Fonts)
- Weights: 300, 400, 500, 600, 700
- Optimized: For screen reading and accessibility
- Glassmorphism Cards: Translucent backgrounds with blur effects
- Micro-interactions: Hover effects, ripple animations, scale transforms
- Progress Indicators: Circular progress rings, streak counters
- Responsive Design: Works on desktop, tablet, and mobile
See backend/README-local-setup.md for detailed backend configuration instructions.
- Prisma API: Required for AI functionality
- Optional: Tandem DeepSeek API for additional AI features
# Backend (.env)
PRISMA_API_KEY=your_key_here
PORT=3001
# Extension (config.js)
export const PRISMA_API_KEY = "your_key_here";- View Progress: See your learning metrics and achievements
- Explore Mind Map: Visualize knowledge connections
- Chat with AI: Ask questions about your studies
- Click the extension icon to open the sidebar
- Ask AI tab: Get help with current webpage content
- Notes tab: Save important information
- Activity tab: Monitor your learning activity
- Smart Hints: Get guidance without spoilers
- Follow-up Questions: Build on previous conversations
- Memory System: AI remembers your learning preferences
- Context Awareness: AI understands what you're studying
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Design Inspiration: Motion (productivity) + Duolingo (gamification)
- AI Power: Prisma for intelligent tutoring
- Visualization: D3.js for interactive mind maps
- Typography: Inter font family for optimal readability
- Icons: Emoji for friendly, accessible iconography
If you encounter any issues or have questions:
- Check the Issues page
- Review the setup documentation in
SETUP-PRISMA.md - Ensure your API keys are configured correctly
- Verify the backend server is running
Built with ❤️ for better learning experiences
Prisma combines the best of productivity and gamification to make studying more effective and enjoyable.