{"by":"scottfr","descendants":6,"id":45053553,"kids":[45159757,45055606,45055375,45074342],"score":34,"text":"Hey HN, I wanted a grammar checker that didn’t send my writing to someone&#x27;s servers, so we built Grammit, a Chrome extension that runs grammar checks locally using an LLM. Your text never leaves your computer during checking.<p>Here’s a 2-minute overview: <a href=\"https:&#x2F;&#x2F;www.loom.com&#x2F;share&#x2F;baf501ee6cf14a919a7384128246ed67\" rel=\"nofollow\">https:&#x2F;&#x2F;www.loom.com&#x2F;share&#x2F;baf501ee6cf14a919a7384128246ed67</a><p>Because it uses an LLM, it catches more than spelling and grammar. For example, it can correct some wrong statements like “The first US president was Benjamin Franklin.”<p>Grammit also includes an in-page writing assistant that can rephrase or draft new text. It also uses the local LLM.<p>We used many new web features to build this, such as:<p>- Chrome’s new Prompt API to talk to the local model.<p>- Anchor Positioning API to place the UI with minimal impact on the DOM.<p>- CSS Custom Highlights API for inline error marking.<p>- The new CSS sign() function to create CSS-driven layout with discontinuities.<p>Part of the fun of being early adopters of bleeding edge tech is we’re discovering new Chrome bugs (e.g., <a href=\"https:&#x2F;&#x2F;issues.chromium.org&#x2F;issues&#x2F;428354426\" rel=\"nofollow\">https:&#x2F;&#x2F;issues.chromium.org&#x2F;issues&#x2F;428354426</a>, <a href=\"https:&#x2F;&#x2F;issues.chromium.org&#x2F;issues&#x2F;428039224\" rel=\"nofollow\">https:&#x2F;&#x2F;issues.chromium.org&#x2F;issues&#x2F;428039224</a>).<p>I’d love your feedback on:<p>- Where the UX feels rough<p>- What do you think of the corrections and suggestions<p>Happy to answer questions about the tech or the Prompt API. Thanks for trying it out!<p>Chrome Web Store extension link: <a href=\"https:&#x2F;&#x2F;chromewebstore.google.com&#x2F;detail&#x2F;grammit-the-ai-grammar-ch&#x2F;pkfmoknmnkbidlniedaloiijibdpjjmm\" rel=\"nofollow\">https:&#x2F;&#x2F;chromewebstore.google.com&#x2F;detail&#x2F;grammit-the-ai-gram...</a>","time":1756395487,"title":"Show HN: Grammit – Local-only AI grammar checker (Chrome extension)","type":"story","url":"https://chromewebstore.google.com/detail/grammit-the-ai-grammar-ch/pkfmoknmnkbidlniedaloiijibdpjjmm"}