cd /Users/tashi/Desktop/ai-study-assistant
streamlit run app.pyThe app will open at: http://localhost:8501
First Load:
- Beautiful animated landing page
- Welcome text with smooth fade-in animations
- Floating glassmorphism authentication card
Choose Your Path:
- New User: Click "Sign Up" tab
- Returning User: Click "Login" tab
- Click the "Sign Up" tab
- Fill in the form:
- Full Name: Your name (2+ characters)
- Email: Valid email address
- Password: 8+ characters (mix of letters, numbers recommended)
- Confirm Password: Re-enter your password
- Click "Create Account"
- See success message
- Login with your new credentials
Password Requirements:
- Minimum 8 characters
- Can include: letters, numbers, symbols
- Should be unique and secure
- Click the "Login" tab
- Enter your credentials:
- Email: Your registered email
- Password: Your password
- Click "Sign In"
- You'll be redirected to the dashboard
Your First Login:
- Sidebar shows your name
- Sidebar shows your email
- Access to all Study Buddy features
- Look at the top of the sidebar
- Click the "🚪 Logout" button
- You'll return to the landing page
- Your session is destroyed
Once logged in, you have access to:
- Upload PDF, Word, or text files
- AI automatically extracts topics
- AI-generated practice questions
- Real-time scoring
- Quiz Helper chat (🌸) for hints
- Generate study flashcards
- Organize by topic
- Beautiful card design
- Ask questions about any topic
- AI tutor responses
- Context-aware answers
- Auto-summarize your notes
- Key points extraction
- Quick reference
- AI creates personalized study plans
- Time estimation
- Daily schedules
- Track your scores
- See weak areas
- Performance analytics
Your data is:
- ✅ Encrypted: Passwords use PBKDF2-SHA256 hashing
- ✅ Secure: 100,000 iteration salt-based hashing
- ✅ Protected: Database-backed storage
- ✅ Private: Session tokens for security
- ✅ Never Shared: Your data stays in your database
- Animated Gradient: Smooth color transitions
- Floating Blobs: Glassmorphism effect
- Smooth Text: Fade-in animations
- Responsive: Works on mobile and desktop
- Modern Design: Glassmorphism card
- Tab-based: Easy switching between login/signup
- Form Validation: Real-time error checking
- Smooth Transitions: Professional animations
- User Info: Your name and email in sidebar
- Easy Navigation: Clear menu options
- Dark Mode: Built-in theme toggle
- Responsive: Adapts to screen size
Solution: Make sure auth.py and landing.py are in the same folder as app.py
Possible Issues:
- Email already registered
- Password too short (needs 8+ characters)
- Email format invalid
- Solution: Check error message and try again
Possible Issues:
- Email not found
- Wrong password (case-sensitive)
- Solution: Check email/password and try again
Possible Causes:
- Browser cookies disabled
- Session timeout
- Database issue
- Solution: Try signing up again or check database
Solution:
# Delete the database to rebuild it
rm database/study.db
# Restart the app
streamlit run app.py- Large animated text
- Full gradient animations
- Wide authentication card
- All features visible
- Optimized text sizing
- Adjusted animations
- Responsive card layout
- Touch-friendly buttons
- Compact text
- Full-width forms
- Touch-optimized interface
- Simplified animations
1. First Visit
→ Open http://localhost:8501
→ See landing page with animations
→ Click "Sign Up"
→ Create account
→ Login
→ See dashboard
2. Return Visit
→ Open http://localhost:8501
→ See landing page
→ Click "Login"
→ Enter credentials
→ See dashboard
3. End of Session
→ Click "🚪 Logout"
→ Return to landing page
→ Session destroyed
- Use a strong, unique password
- Mix uppercase, lowercase, numbers
- Don't share your password
- Consider using a password manager
- Sessions persist across page refreshes
- Logout clears your session
- Your data is saved in the database
- Can safely close and reopen
- Your email is shown in sidebar
- Your name appears when logged in
- Edit profile coming soon (future feature)
- Use Quiz Helper for hints during practice
- Ask AI Doubt Chat for explanations
- Generate study plans for better organization
- Review your progress regularly
-
Upload Notes First
- Upload your course materials
- Let AI extract topics
- Build your knowledge base
-
Generate Practice Tests
- Test your knowledge
- Use Quiz Helper if stuck
- Review wrong answers
-
Create Study Plans
- Get personalized schedules
- Follow the AI recommendations
- Track your progress
-
Use Flashcards
- Review key concepts
- Study by topic
- Spaced repetition learning
-
Ask Questions
- Use AI Doubt Chat
- Get instant explanations
- Clarify difficult concepts
Check the documentation:
AUTHENTICATION.md- Full technical detailsREADME.md- General project info
Or review the code:
auth.py- Authentication systemlanding.py- Landing page designapp.py- Main application
Your Study Buddy is now fully set up with:
- ✅ Modern landing page
- ✅ Secure authentication
- ✅ Full study features
- ✅ Professional design
Start learning! 🧠
Version: 1.0.0
Last Updated: February 27, 2026