🧠 Inspiration

Most grammar and writing tools depend on cloud servers to correct and improve text — which means user content leaves their device. This raises privacy concerns and requires a stable internet connection.
I wanted to build something that proves powerful AI can work locally, safely, and instantly inside the browser.


💡 What It Does

SmartText Nano is a Chrome Extension that helps users:

  • 📝 Proofread text to fix grammar and punctuation
  • ✏️ Rewrite text to improve tone and clarity
  • 📄 Summarize content into concise insights

It uses Google Chrome’s Built-in AI (Gemini Nano) APIs — Proofreader, Rewriter, and Summarizer — to process text completely on the device.


🛠️ How I Built It

  • Built with HTML, CSS, and JavaScript (Manifest V3)
  • Used Chrome’s contextMenus API for text selection
  • Integrated Chrome’s new Built-in AI APIs (Gemini Nano) through window.ai
  • Added local simulation fallback so users can demo even before Gemini Nano is widely available
  • Styled popup UI for a clean, Google-inspired design

⚙️ Challenges I Ran Into

  • Getting Chrome’s Built-in AI flags to work properly (chrome://flags)
  • Handling fallback behavior when window.ai APIs aren’t yet enabled
  • Debugging manifest and service worker errors in Manifest V3

🚀 Accomplishments That I'm Proud Of

  • Built a fully functional Chrome extension from scratch
  • Implemented three separate AI functions in one interface
  • Achieved privacy-first, zero-server architecture
  • Created a professional open-source repo, video demo, and complete documentation

🧭 What I Learned

  • Hands-on experience with Gemini Nano APIs (Proofreader, Rewriter, Summarizer)
  • Deep understanding of Chrome Extensions (Manifest V3)
  • How to use local AI for privacy and offline performance
  • How to package and document projects for Devpost challenges

🔮 What’s Next for SmartText Nano

  • Add Translator API for multilingual text rewriting
  • Integrate Prompt API for multimodal inputs (image + text)
  • Add Firebase AI Logic for hybrid cloud + on-device processing
  • Publish SmartText Nano on the Chrome Web Store

🏁 Summary

SmartText Nano proves that high-quality AI writing tools can run entirely within the browser — without sending data to any external server.
It combines privacy, performance, and usability into one simple Chrome extension powered by Gemini Nano.

Built With

Share this project:

Updates