Dude - AI Browser Assistant
bzddbz
Competition Submission for Chrome Built-in AI Challenge 2025 Transform your web browsing experience with intelligent AI assistance that respects your privacy! šÆ WHAT'S NEW IN v0.0.2: ā Chrome Web Store compliant (removed unused scripting permission) ā Fixed temporal context in validation (no more false "speculation" flags) ā Auto-translate workaround for Built-in AI language limitations ā Enhanced privacy with minimal 3-permission model š§ KEY FEATURES: ⢠š Smart Summarization - Extract key points from articles with configurable length, type, and format ⢠š Multi-Language Translation - Translate to 15+ languages with automatic detection ⢠ā Content Validation - Check credibility, identify bias, and verify facts with temporal awareness ⢠āļø Intelligent Rewriting - Improve clarity, adjust tone, and modify complexity ⢠šÆ Custom Prompts - Execute specialized AI tasks on selected text ⢠š Voice Output - Listen to results with text-to-speech in multiple languages ⢠š¾ History & Export - Save important insights and export in JSON/Markdown formats ⢠š Secure Storage - API keys protected with XOR + Base64 obfuscation š¤ THREE AI PROVIDER OPTIONS: 1. Chrome Built-in AI (Gemini Nano) - Privacy-first, on-device processing. No data leaves your browser! 2. Google Gemini API - Cloud-powered fallback with advanced capabilities (optional) 3. OpenAI-Compatible - Use local LLMs like Ollama, LM Studio for fully offline operation (optional) š AUTO-TRANSLATE FEATURE: Enable automatic translation of all AI results to your preferred language. Built-in AI workaround for English/Spanish/Japanese limitation ensures seamless multilingual workflows! š PRIVACY & SECURITY: ā Local-first processing with Chrome Built-in AI (Gemini Nano) ā No external servers, tracking, or analytics ā API keys securely obfuscated in storage (XOR cipher + Base64) ā Minimal permissions: Only 3 essential permissions (activeTab, storage, sidePanel) ā Open source - full transparency and auditability ā” HOW TO USE: 1. Select text on any webpage (minimum 10 characters) 2. Press Ctrl+Shift+D (Cmd+Shift+D on Mac) or click extension icon 3. Choose AI operation: Summarize, Translate, Validate, Rewrite, or Custom Prompt 4. View results with optional voice output 5. Save to history or export for future reference š§ SETUP OPTIONS: Option A - Chrome Built-in AI (Recommended): ⢠Enable Chrome AI flags in chrome://flags/ ⢠Privacy-first with on-device processing ⢠Note: Output limited to English/Spanish/Japanese (auto-translate workaround active) Option B - Google Gemini API (Cloud): ⢠Add free API key from Google AI Studio ⢠Full language support without limitations ⢠Fallback when Built-in AI unavailable Option C - OpenAI-Compatible (Local LLM): ⢠Configure local server (Ollama, LM Studio, LocalAI, etc.) ⢠Fully offline operation ⢠No API key required for localhost š REQUIREMENTS: ⢠Chrome 127+ (Chrome Canary or Dev recommended for Built-in AI) ⢠For Built-in AI: Enable Chrome AI feature flags ⢠For Gemini: Free API key from Google AI Studio ⢠For Local LLM: Ollama or similar server running locally š PERFECT FOR: ⢠Students - Summarize research papers and articles ⢠Researchers - Analyze and validate information sources ⢠Content Creators - Rewrite and improve text quality ⢠Translators - Multi-language content processing ⢠Anyone dealing with information overload! š VERSION 0.0.2 HIGHLIGHTS: ⢠Removed unused "scripting" permission (Chrome Web Store compliance) ⢠Fixed validate function temporal context (current-date awareness) ⢠Implemented auto-translate workaround for Built-in AI ⢠Enhanced error handling and user feedback ⢠Improved security with minimal permission model š OPEN SOURCE: Apache-2.0 License - Full source code available for review and contributions GitHub: https://github.com/bzddbz/dude-open-chrome-browser-extension š¬ SUPPORT: Report issues or request features on GitHub Email: [email protected] If you like my work, buy me a coffee! ā https://buymeacoffee.com/bzddbz --- Built with ā¤ļø for the Chrome Built-in AI Challenge 2025 Privacy-first ⢠Open Source ⢠Multi-Provider ⢠Secure