Inspiration: My inspiration came from the desire for a way to directly process selected text on a webpage, avoiding the need to switch between multiple webpages for processing. Sometimes I only want to translate or analyze certain sentences, rather than translating the entire webpage into another language. Therefore, I created SmartCard, which pops up a SmartCard from the selected text.
How it was implemented: Primarily relying on a Chrome extension (Manifest V3) + scripts, On-Device Translation for local translation, and the Prompt API (Gemini Nano) for summarizing and polishing.
Challenges and solutions: As a beginner with limited API experience, I encountered many difficult-to-solve bugs during the programming process.
Taken: Learned how to progressively enhance the new Chrome AI capabilities.
Log in or sign up for Devpost to join the conversation.