Lexis is a cutting-edge, browser-based AI study assistant that revolutionizes how students learn. By leveraging real-time speech recognition and advanced AI processing, Lexis automatically converts live lectures into comprehensive, organized study materials—all within seconds.
Whether you're in a classroom, watching an online lecture, or reviewing recorded content, Lexis helps you focus on learning while it handles the note-taking.
- 🎙️ Live Lecture Capture – Real-time speech-to-text transcription
- 🤖 AI-Powered Generation – Automatic notes, summaries, quizzes, and flashcards
- 🧠 Smart Mindmaps – Visual representation of lecture concepts
- 💬 Interactive Chat – Ask questions about your lessons anytime
- 🔐 Secure Authentication – Google Sign-In with Firebase
- 💾 Local Storage – All your data stays with you
- 🌐 100% Browser-Based – No installations required
Lexis uses the Web Speech API to convert your microphone input into text in real-time:
- Continuous Recording – Capture entire lectures without interruption
- Auto-Save – Transcripts are automatically saved to local storage
- Manual Input – Type or paste transcripts for browsers without speech support
- Instant Processing – Stop recording to trigger AI generation
Powered by Groq's LLaMA models, Lexis automatically generates:
- Structured, bullet-point summaries
- Key concepts highlighted
- Easy to review and edit
- Concise 3-8 bullet-point overview
- Essential takeaways
- Quick revision material
- Visual concept hierarchy
- Topic and subtopic relationships
- Interactive exploration
- Auto-generated questions
- Multiple-choice format
- Fill-in-the-blank questions
- Self-assessment tool
- Front: Key term or concept
- Back: Detailed explanation
- Perfect for memorization
A beautiful, organized dashboard for all your learning materials:
- Sidebar Navigation – Quick access to all lessons
- Lesson Metadata – Title, subject, creation date
- Tabbed Interface – Switch between notes, summary, transcript, mindmap, quiz, and flashcards
- Edit Capabilities – Modify notes and transcripts on the fly
- Search & Filter – Find specific lessons quickly
An intelligent assistant always ready to help:
- Context-Aware – Understands your current lesson
- Persistent History – Chat saved per lesson
- Floating Bubble – Non-intrusive, always accessible
- Notification Badge – See unread messages at a glance
Firebase-powered authentication ensures your data is protected:
- Google Sign-In – One-click authentication
- User Profiles – Personalized experience
- Session Management – Automatic login persistence
- Secure Logout – Easy sign-out functionality
Beautiful, animated login experience with Google Sign-In integration.

Clean, modern interface with sidebar navigation and tabbed content panels.

Visual representation of lecture concepts in an interactive format.

| Category | Technology |
|---|---|
| Frontend | HTML5, CSS3, Vanilla JavaScript |
| Authentication | Firebase Authentication |
| AI/ML | Groq (LLaMA 3.1 70B) |
| Speech Recognition | Web Speech API |
| Storage | LocalStorage API |
| Hosting | Vercel |
| Version Control | Git, GitHub |
Lexis/
├── index.html # Main dashboard
├── style.css # Main app styling
├── script.js # Core application logic
│
├── login/
│ ├── index.html # Authentication page
│ ├── style.css # Login page styling
│ └── script.js # Firebase Auth logic
│
├── Assets/
│ └── chat_interface.png # Chat Interface
│ └── lexis-html-logo.png # Application logo
│ └── login-page.png # Login Page
│ └── main_dashboard.png # Main Dashboard
│ └── mindmap.png # Mindmap
│
└── README.md # Documentation
Before you begin, ensure you have:
- ✅ A modern web browser (Chrome or Edge recommended)
- ✅ Node.js (for local development server)
- ✅ A Firebase account
- ✅ (Optional) A Groq API account
git clone https://github.com/broskell/Lexis.git
cd Lexis-
Create a Firebase Project
- Go to Firebase Console
- Click "Add Project" and follow the setup wizard
-
Enable Google Sign-In
- Navigate to Authentication → Sign-in method
- Enable Google provider
- Add authorized domains:
localhost(for development)lexis-phi.vercel.app(or your domain)
-
Get Your Firebase Config
- Go to Project Settings → General
- Scroll to "Your apps" and select Web
- Copy the configuration object
-
Update
login/script.js
const firebaseConfig = {
apiKey: "YOUR_API_KEY",
authDomain: "YOUR_AUTH_DOMAIN",
projectId: "YOUR_PROJECT_ID",
storageBucket: "YOUR_STORAGE_BUCKET",
messagingSenderId: "YOUR_SENDER_ID",
appId: "YOUR_APP_ID"
};For local testing only:
// In script.js (line ~16)
const GROQ_API_KEY = "YOUR_GROQ_API_KEY";
const GROQ_MODEL = "llama-3.1-70b-versatile";For Production: Use Vercel serverless functions or environment variables.
Using npx serve:
npx serve .Or using Python:
python -m http.server 5500Then navigate to:
- Main App:
http://localhost:3000/ - Login:
http://localhost:3000/login/
-
Push to GitHub
git add . git commit -m "Initial commit" git push origin main
-
Connect to Vercel
- Go to Vercel Dashboard
- Click "New Project"
- Import your GitHub repository
- Configure:
- Framework Preset: Other
- Build Command: (leave empty)
- Output Directory:
.
-
Add Environment Variables (Optional)
GROQ_API_KEY– Your Groq API key- Add via Vercel Dashboard → Settings → Environment Variables
-
Deploy
- Click "Deploy"
- Your app will be live at
https://your-project.vercel.app/
graph LR
A[User visits /] --> B{lexis_user exists?}
B -->|No| C[Redirect to /login/]
B -->|Yes| D[Load Dashboard]
C --> E[Google Sign-In]
E --> F[Save to localStorage]
F --> G[Redirect to /]
G --> D
Main App (script.js):
const rawUser = localStorage.getItem("lexis_user");
if (!rawUser) {
window.location.replace("/login/");
return;
}Login Page (login/script.js):
const result = await auth.signInWithPopup(provider);
const user = result.user;
localStorage.setItem("lexis_user", JSON.stringify({
uid: user.uid,
email: user.email,
displayName: user.displayName,
photoURL: user.photoURL
}));
window.location.href = "/";Sign Out:
function signOut() {
localStorage.removeItem("lexis_user");
firebase.auth().signOut();
window.location.href = "/login/";
}- Chrome (Desktop & Mobile)
- Edge (Desktop & Mobile)
- Brave (Desktop & Mobile)
- Opera (Desktop)
- Safari (iOS & macOS) – Manual transcript entry only
- Firefox – Manual transcript entry only
The Web Speech API is required for live recording:
const SpeechRecognition =
window.SpeechRecognition || window.webkitSpeechRecognition;
if (!SpeechRecognition) {
alert("Speech recognition not supported. Please use Chrome or Edge, or enter transcripts manually.");
}✅ No API Keys in Code – All sensitive keys are environment variables
✅ Firebase Security Rules – Proper authentication and authorization
✅ HTTPS Only – All communications encrypted
✅ Input Validation – Sanitized user inputs
✅ localStorage Encryption – User data stored securely
- Rotate the key in your provider's dashboard
- Remove from Git history:
# Nuclear option (for small repos) rm -rf .git git init git add . git commit -m "Initial commit (cleaned)" git remote add origin <your-repo> git push -f origin main
- Use Git-filter-repo for larger repos
- Cloud Sync – Firestore integration for cross-device access
- Real AI Chat – Groq-powered contextual Q&A
- Advanced Quiz Mode – Scoring, explanations, and review
- Mobile PWA – Install as a native app
- Collaborative Study – Share lessons with classmates
- Export Options – PDF, DOCX, and more
- Voice Commands – Control Lexis hands-free
- Multi-language Support – Learn in any language
- Spaced repetition algorithm for flashcards
- Integration with popular LMS platforms
- Offline mode with ServiceWorker
- Custom AI model training per user
- Analytics dashboard for study habits
We welcome contributions from the community! Here's how you can help:
- 🐛 Report bugs – Found an issue? Let us know!
- 💡 Suggest features – Have an idea? Share it!
- 📝 Improve docs – Help others understand Lexis
- 🔧 Submit PRs – Fix bugs or add features
- ⭐ Star the repo – Show your support!
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License – see the LICENSE file for details.
Lexis is built with ❤️ by the Lexis Team:
![]() Saathvik Lead Developer |
![]() Shiva Login Page Developer |
- Firebase – For authentication infrastructure
- Groq – For lightning-fast AI inference
- Vercel – For seamless deployment
- Open Source Community – For inspiration and support
Need help? We're here for you!
- 🐛 Bug Reports: GitHub Issues
- 💬 Discussions: GitHub Discussions
- 📧 Email: support@lexis-ai.com (coming soon)
- 🌐 Website: lexis-phi.vercel.app
Built with inspiration from:
- The challenges of modern education
- The need for accessible study tools
- The power of AI to enhance learning
- The open-source community's generosity
Made with ❤️ by the Lexis Team | © 2025 Lexis AI Study Assistant



