Get the latest tech news

Show HN: Simple wrapper for Chrome's built-in local LLM (Gemini Nano)


A lightweight TypeScript wrapper for Chrome's built-in AI Prompt API that trades flexibility for simplicity and type safety. - kstonekuan/simple-chromium-ai

A lightweight TypeScript wrapper for Chrome's built-in AI Prompt API that trades flexibility for simplicity and type safety. When the model needs to be downloaded, initialize returns an object with type: 'needs-download' and a trigger function that you must call from a user gesture (like a button click). Customize model parameters beyond basics Access streaming responses Use advanced session options Control memory/context in detail

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Chrome

Chrome

Photo of local LLM

local LLM

Photo of simple wrapper

simple wrapper

Related news:

News photo

Chrome on Android needs to copy this one iOS 26 and iPadOS 26 feature

News photo

Google fixes fourth actively exploited Chrome zero-day of 2025

News photo

Slightly better named character reference tokenization than Chrome, Safari, FF