Inspiration
We frequently encountered complicated language when reading academic or technical publications online, necessitating the opening of a new tab in order to look for more straightforward definitions or explanations. Focus was disrupted and understanding was slowed down by this frequent context shift. That irritation served as the impetus for Word Rewriter, which uses Chrome's built-in AI to rapidly simplify or rewrite text without ever leaving the site.
What it does
With the help of the Word Rewriter Chrome extension, users may quickly:
- Give a more straightforward explanation, or
- Rewrite it using more precise wording.
With Chrome's new Gemini Nano local AI model, it operates fully on-device, guaranteeing speed, privacy, and offline functioning. For professionals, journalists, and students who wish to better comprehend or communicate concepts while maintaining flow, the extension is perfect.
How we built it
The expansion was constructed using:
- Manifest V3 for the construction of Chrome extensions.
- For logic and user interface, use JavaScript, HTML, and CSS.
- The Rewriter API is one of Chrome's built-in AI APIs for processing text locally.
- a modular folder structure that divides content scripts, backend logic, and frontend (UI).
- StackBlitz + GitHub for live testing and cooperative development.
Local AI calls are triggered by the popup and context-menu actions, which instantly show the results inside the page overlay after analyzing and rewriting selected text in real-time.
Challenges we ran into
-The new built-in AI APIs in Chrome are currently in preview; learn how to use them.
- controlling the asynchronous transfer of messages between background and content scripts.
- designing the pop-up to be lightweight and uniform across websites with bright and dark settings.
- To safely enable text selection access, debug permissions and manifest settings.
Accomplishments that we're proud of
- successfully developed a fully working AI extension that uses local device intelligence and operates entirely offline.
- built a user interface that feels native to Chrome and is clear and responsive.
- Explain and Rewrite, the two main modes, were implemented with instantaneous contextual output.
- Before the formal release, we learned how to use Chrome's AI developer tools.
What we learned
-How browser environments may effectively include AI-powered features. -In productivity extensions, simple UI/UX design is crucial. -The practical aspect of Chrome’s on-device AI processing and how it ensures privacy. -Extension functionality can be made or broken by minute details in the manifest or message.
What's next for Word Rewriter - Chrome Extension
-For accessibility, include spoken output and voice input. -Turn on personalized writing style and tone settings (e.g., formal, friendly, brief). -Encourage summary and translation straight from the extension. -After adding onboarding and refining the user interface, publish on the Chrome Web Store. -For more complex text rewriting operations, integrate with the Gemini Cloud AI fallback.
Log in or sign up for Devpost to join the conversation.