{"slug": "show-hn-hn-jev-sorter-classify-hn-comments-in-real-time", "title": "Show HN: HN Jev Sorter – classify HN comments in real time", "summary": "TypeSafe released HN Jev Sorter, a Chrome extension that classifies Hacker News comments into user-defined buckets in real time using TypeSafe's Jev decision model, which answers each comment in about 300 ms. The extension asks Jev one Choice question per comment, supports up to 12 buckets plus an always-included \"Other\" bucket, and requires a Jev API key from the TypeSafe console that is stored in Chrome's local extension storage and sent only to api.typesafe.ai. Users install it via Load unpacked in chrome://extensions, and it works in Chrome, Edge, Brave, and Arc.", "body_md": "A Chrome extension that sorts Hacker News comments into buckets while you watch. Pick the buckets (\"accuses others of astroturfing\", \"it's overhyped\", \"off topic\", or your own), press Run, and each comment flies into the bucket it belongs in. Hover a bucket to read everything in it.\n\nComments are classified by [Jev](https://docs.typesafe.ai/), TypeSafe's decision model. Jev answers each one in about 300 ms, so the comments sort in real time.\n\n1. \nDownload this repository: **Code → Download ZIP** , then unzip it. Or clone it:\n\n```\ngit clone https://github.com/ritza-co/hn-jev-sorter.git\n```\n\n2. \nOpen `chrome://extensions` and turn on**Developer mode** (top right).\n3. \nClick **Load unpacked** and select the`hn-jev-sorter` folder.\n4. \nPin the extension: open the puzzle-piece menu in the toolbar and click the pin next to **HN Jev Sorter** .\n\nThis works in Chrome and other Chromium browsers, such as Edge, Brave, and Arc.\n\nYou need a Jev API key from the [TypeSafe console](https://console.typesafe.ai/keys).\n\nA setup page opens when you install the extension. Paste your key there and click **Save**. The extension makes one small request to check the key and then stores it in Chrome's local extension storage. The key is only ever sent to `api.typesafe.ai`.\n\nIf you skip that step, the sorter asks for the key the first time you open it on a thread:\n\nTo change or remove the key later, click **API key** in the sorter bar. You can also reopen the setup page from `chrome://extensions` → **HN Jev Sorter** → **Details** → **Extension options**.\n\n1. Open any Hacker News comment page, for example the [front page](https://news.ycombinator.com/) →**comments** .\n2. Click the extension icon. The bucket bar slides in at the top of the page. Click the icon again to hide it.\n3. Press **Run** .\n\nDuring a run:\n\n- Comments are sent to their buckets in thread order. Each one gets a coloured label on the page showing its bucket and Jev's probability, such as `It's overhyped · 97%` .\n- **Follow** scrolls the page along with the sort. If you scroll the page yourself, Follow turns off.\n- **Stop** cancels the run.\n\nWhen it finishes:\n\n- Hover over a bucket to read its comments, sorted by Jev's probability. Click a bucket to keep the list open.\n- Click a comment in the list to jump to it in the thread.\n\nClick **Edit buckets** to rename, rewrite, add, or remove buckets. You can have up to 12. Each bucket has a name and a description. Jev reads the description, so say what belongs in the bucket rather than relying on the name alone:\n\n| Bucket | Description | \n|---|---|\n| Astroturfing accusations | Accuses the company, other commenters, or the votes of being shills, bots, paid marketing, or astroturfing | \n| It's overhyped | Says it is hype, a bubble, overvalued, or will not live up to the claims | \n| Off topic | A tangent unrelated to the story or to the comment it replies to | \n\nAn **Other** bucket is always included, so Jev never has to force a comment into a bucket that doesn't fit. **Reset to suggestions** restores the default buckets. Your buckets are saved in the browser.\n\nThe extension asks Jev one [Choice](https://docs.typesafe.ai/primitives/choice) question per comment. The buckets are the options:\n\n```\n{\n  \"model\": \"jev-latest\",\n  \"state\": \"Hacker News thread: \\\"Typesafe AI raises $870M at $7.5B\\\" (typesafe.ai).\",\n  \"questions\": {\n    \"bucket\": {\n      \"type\": \"choice\",\n      \"instructions\": {\n        \"question\": \"Which category best describes what this Hacker News comment is doing?\",\n        \"replying_to\": \"<parent comment, if any>\",\n        \"comment\": \"<the comment>\"\n      },\n      \"criteria\": {\n        \"astroturfing_accusations\": \"Accuses the company, other commenters, or the votes of being shills, bots, paid marketing, or astroturfing\",\n        \"it_s_overhyped\": \"Says it is hype, a bubble, overvalued, or will not live up to the claims\",\n        \"other\": \"None of the other categories fit\"\n      }\n    }\n  }\n}\n```\n\nJev returns the chosen bucket and a probability for every bucket. The extension sends six requests at a time from its background service worker, and the animations play as the answers arrive.\n\n| File | What it does | \n|---|---|\n| `content.js` | The bucket bar, flight animations, bucket lists, and bucket editor. Runs in a shadow root so Hacker News styles don't affect it. | \n| `background.js` | Calls the TypeSafe API and checks the key. | \n| `options.html` ,`options.js` | The setup page. | \n\nThere is no build step. Edit a file and click reload on `chrome://extensions`.\n\nEach comment takes one request of roughly 800 tokens. A 140-comment thread uses about 115,000 tokens. The sorter bar shows the running token count.\n\nComment text, the parent comment, and the thread title are sent to the TypeSafe API. Nothing else leaves your browser, and the only site the extension runs on is `news.ycombinator.com`.\n\n<sub>Built by [Ritza](https://ritza.co). We make demos, tutorials, and docs that show off technical products. If you'd like something like this for yours, [get in touch](https://ritza.co).</sub>", "url": "https://wpnews.pro/news/show-hn-hn-jev-sorter-classify-hn-comments-in-real-time", "canonical_source": "https://github.com/ritza-co/hn-jev-sorter", "published_at": "2026-10-09 21:38:17+00:00", "updated_at": "2026-10-09 21:51:53.384100+00:00", "lang": "en", "topics": ["ai-tools", "ai-products", "artificial-intelligence"], "entities": ["TypeSafe", "Jev", "HN Jev Sorter", "Hacker News", "Chrome", "Edge", "Brave", "Arc"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/show-hn-hn-jev-sorter-classify-hn-comments-in-real-time", "markdown": "https://wpnews.pro/news/show-hn-hn-jev-sorter-classify-hn-comments-in-real-time.md", "text": "https://wpnews.pro/news/show-hn-hn-jev-sorter-classify-hn-comments-in-real-time.txt", "jsonld": "https://wpnews.pro/news/show-hn-hn-jev-sorter-classify-hn-comments-in-real-time.jsonld"}}