Inspiration
As a non-native English speaker, I often struggle with grammar and spelling mistakes. I've tried using grammar checkers like Grammarly, but they are not always accurate and sometimes suggest incorrect corrections.
I've also used tools like ChatGPT, but constantly copying and pasting text is not very convenient.
So, I decided to build my own AI grammar checker Chrome extension.
What it does
It checks the grammar and spelling of the text you write in the browser. It works for nearly every text field on almost every website. You can replace text with the corrected text with a simple click.
How we built it
I used Chrome Gemini Nano as a base for the extension. In addition, I used TypeScript and no framework to keep the code simple.
Challenges we ran into
Because Gemini Nano is a very small model, it often loses context or outputs incomplete answers. It was hard to tweak the prompts to make them more accurate.
Accomplishments that we're proud of
It generally works, doesn't require any payments or remote servers, and I like that Gemini Nano is capable of running even on less powerful devices.
What we learned
I delved deep into how to work with AI in general, learning about AI tokens, K, and temperature, for example.
What's next for AI Grammar Checker
I plan to continue tweaking the prompts and adding more features, like showing suggestions for corrections inline.
Log in or sign up for Devpost to join the conversation.