A powerful Chrome extension that transforms passive reading into active, personalized learning using AI-powered tools. Leverage Google's Gemini Nano for instant text analysis, translation, quizzes, and more.
🏆 Google Chrome Built-in AI Challenge 2025 Entry Innovate with Intelligence: Build the Future of the Web with Gemini Nano and Chrome AI
- 📝 Summarize: Get concise summaries of any text selection
This project was created for the Google Chrome Built-in AI Challenge 2025 as a Chrome Extension entry.
- ✅ Prompt API: For answering questions about selected text
- ✅ Summarizer API: For creating concise text summaries
- ✅ Translator API: For multilingual text translation
- ✅ Writer API: For generating quiz questions
- ✅ Rewriter API: For text simplification
- ✅ Proofreader API: For checking and correcting answers
Transforms passive reading into active learning by providing instant AI-powered analysis tools directly in the browser, making education more accessible and engaging without requiring server-side processing or internet connectivity.
- Students and learners across all age groups
- Researchers and academics
- Language learners
- Professionals seeking to simplify complex documents
- Anyone wanting to make reading more interactive and educational
- 🌍 Translate: Translate text to your preferred language
- ❓ Ask Questions: Get AI-powered answers about selected text
- 📚 Generate Quizzes: Create interactive quiz questions
- 🔄 Simplify: Make complex text easier to understand
- ✓ Check Answers: Proofread and correct your responses
-
Download the Extension
git clone https://github.com/yourusername/adaptive-learning-assistant.git cd adaptive-learning-assistant -
Enable Developer Mode
- Open Chrome and go to
chrome://extensions/ - Toggle "Developer mode" in the top right corner
- Open Chrome and go to
-
Load the Extension
- Click "Load unpacked"
- Select the project folder
- The extension will appear in your extensions list
-
Enable Gemini Nano
- Ensure you're using the latest version of Google Chrome
- Go to
chrome://settings/?search=gemini+nano - Enable "Use Gemini Nano in Chrome"
- Wait for the model to download if prompted
- Select Text: Highlight any text on any webpage
- Right-Click Menu: A floating menu will appear with AI tools
- Choose Action: Click any button to perform AI analysis
- View Results: Results appear in a modal window
- Close Results: Click the × button to close the modal
- Set your default target language in Settings
- Click "Translate" on selected text
- Enter target language or use your default
- Choose simplification level in Settings
- Options range from "5th Grader" to "Technical Expert"
- Perfect for breaking down complex concepts
- Select study material
- Click "Quiz" to generate questions
- Use for self-testing and reinforcement
Access settings by clicking the extension icon and then "Settings":
- Default Target Language: Set your preferred translation language
- Automatically filled when using translation feature
- Default Level: Choose how complex text should be simplified
- Options: 5th Grader, Middle School, High School, Business Professional, Technical Expert
- Theme: Choose light, dark, or auto (system preference)
- Affects the appearance of floating UI and result modals
- Supported Translation Languages: Select multiple languages for enhanced translation suggestions
- Voice Recognition Language: Choose language for speech-to-text input (supports 13+ languages)
- Includes Spanish, French, German, Italian, Portuguese, Chinese, Japanese, Korean, Arabic, Hindi, Russian, and more
- Browser: Google Chrome (latest stable version)
- AI Model: Gemini Nano (built-in Chrome AI)
- Permissions: Active tab access, scripting, storage, microphone (for voice input)
- Ctrl+Shift+S: Summarize selected text
- Ctrl+Shift+T: Translate selected text
- Ctrl+Shift+Q: Ask questions about selected text
- Ctrl+Shift+V: Voice input for questions (uses microphone)
- Ctrl+Shift+Z: Generate quiz from selected text
- Ctrl+Shift+R: Simplify selected text
- Ctrl+Shift+C: Check/correct answers
adaptive-learning-assistant/
├── manifest.json # Extension manifest
├── background.js # Background service worker
├── html/
│ ├── popup.html # Extension popup interface
│ └── options.html # Settings page
├── js/
│ ├── popup.js # Popup functionality
│ ├── content.js # Content script with AI tools
│ └── options.js # Settings page logic
├── css/
│ └── content.css # Styles for floating UI
└── icons/
└── téléchargement.png # Extension icons
- Uses Chrome's built-in Gemini Nano model
- Requires explicit language specification (
enfor English) - Handles various availability states (available/downloadable/downloading/unavailable)
- Node.js (for any build tools if added later)
- Google Chrome with Developer Mode enabled
# No build process required - pure Chrome extension
# Just load the unpacked extension in Chrome- Load extension in Chrome developer mode
- Test all AI features on various websites
- Verify error handling when AI is unavailable
- Test settings page functionality
- 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.
"AI API not available" Error
- Ensure Chrome is updated to the latest version
- Enable Gemini Nano in Chrome settings
- Check that your device supports the required AI features
Extension not loading
This project aligns with the Google Chrome Built-in AI Challenge 2025 criteria:
- Scalable: Works across all websites and content types
- API Usage: Utilizes 6 different Chrome AI APIs effectively
- Global Reach: Supports multiple languages and user types
- Offline Capability: Functions without internet connectivity
- User Journey Improvement: Transforms passive reading into active learning
- New Capability: Brings AI-powered education tools directly to the browser
- Accessibility: Makes advanced learning tools available to everyone
- Creative Implementation: Innovative use of floating UI and modal interactions
- Visual Quality: Modern, professional design with smooth animations
- User-Centric: Intuitive icons and clear visual hierarchy
- Ease of Use: One-click text selection and tool access
- Error Handling: Comprehensive error states with helpful guidance
- Settings Management: Intuitive configuration with real-time validation
- API Showcase: Demonstrates all core Chrome AI APIs
- Best Practices: Proper error handling, loading states, and user feedback
- Performance: Client-side processing with no server dependencies
Submission Details for Challenge:
- Entry Type: Chrome Extension
- APIs Used: Prompt, Summarizer, Translator, Writer, Rewriter, Proofreader
- Demo Video: [Link to be added]
- Live Demo: Available through Chrome Web Store or direct extension loading
- GitHub Repository: Public with comprehensive documentation
- Verify all files are in the correct directory structure
- Check manifest.json for syntax errors
- Ensure Developer Mode is enabled in Chrome extensions
Settings not saving
- Check browser console for errors
- Verify Chrome storage permissions
- Try refreshing the settings page
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Voice-to-text for question asking
- Export functionality for summaries and quizzes
- Integration with popular learning platforms
- Custom AI model fine-tuning
- Multi-language support expansion
- Dark mode theme
- Keyboard shortcuts
- Initial release with core AI features
- Modern UI design
- Comprehensive error handling
- Settings page with validation
Made with ❤️ using Chrome's Gemini Nano AI
Transform your reading experience with the power of AI! 🚀