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



