frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

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

https://github.com/kstonekuan/simple-chromium-ai
20•kstonekuan•8h ago
Chrome now includes a native on-device LLM (Gemini Nano) starting in version 138. I've been building with it since it was in origin trials, it's powerful but the official Prompt API is still a bit awkward:

- Enforces sessions even for basic usage

- Requires user-triggered downloads

- Lacks type safety or structured error handling

So I open-sourced a small TypeScript wrapper I originally built for other projects to smooth over the rough edges:

github: https://github.com/kstonekuan/simple-chromium-ai

npm: https://www.npmjs.com/package/simple-chromium-ai

- Stateless prompt() method inspired by Anthropic's SDK

- Built-in error handling and Result-based .Safe.* variants with neverthrow

- Token usage checks

- Simple initialization that provides a helper to trigger downloads (must be triggered by user action)

It’s intentionally minimal for hacking and prototyping. If you need fine-grained control (e.g. streaming, memory control), use the native API directly:

https://developer.chrome.com/docs/ai/prompt-api

Would love to hear what people build with it or any feedback!

Comments

xnx•4h ago
Could you host a static page of this on Github?
kstonekuan•1h ago
It only works in extensions for now but I can post a demo in the repo soon

You can also join Chrome’s EPP to use it on webpages

Bitchat – A decentralized messaging app that works over Bluetooth mesh networks

https://github.com/jackjackbits/bitchat
64•ananddtyagi•1h ago•36 comments

Nobody has a personality anymore: we are products with labels

https://www.freyaindia.co.uk/p/nobody-has-a-personality-anymore
149•drankl•3h ago•92 comments

Intel's Lion Cove P-Core and Gaming Workloads

https://chipsandcheese.com/p/intels-lion-cove-p-core-and-gaming
70•zdw•3h ago•0 comments

Building the Rust Compiler with GCC

https://fractalfir.github.io/generated_html/cg_gcc_bootstrap.html
89•todsacerdoti•4h ago•5 comments

Show HN: I wrote a "web OS" based on the Apple Lisa's UI, with 1-bit graphics

https://alpha.lisagui.com/
253•ayaros•7h ago•90 comments

There's a COMPUTER inside my DS flashcart [video]

https://www.youtube.com/watch?v=uq0pJmd7GAA
26•surprisetalk•1h ago•1 comments

Data on AI-related Show HN posts

https://ryanfarley.co/ai-show-hn-data/
224•rfarley04•2d ago•134 comments

I extracted the safety filters from Apple Intelligence models

https://github.com/BlueFalconHD/apple_generative_model_safety_decrypted
260•BlueFalconHD•6h ago•160 comments

Jane Street barred from Indian markets as regulator freezes $566 million

https://www.cnbc.com/2025/07/04/indian-regulator-bars-us-trading-firm-jane-street-from-accessing-securities-market.html
261•bwfan123•11h ago•149 comments

Centaur: A Controversial Leap Towards Simulating Human Cognition

https://insidescientific.com/centaur-a-controversial-leap-towards-simulating-human-cognition/
14•CharlesW•2h ago•5 comments

Opencode: AI coding agent, built for the terminal

https://github.com/sst/opencode
131•indigodaddy•8h ago•31 comments

Get the location of the ISS using DNS

https://shkspr.mobi/blog/2025/07/get-the-location-of-the-iss-using-dns/
258•8organicbits•13h ago•76 comments

Functions Are Vectors (2023)

https://thenumb.at/Functions-are-Vectors/
150•azeemba•10h ago•79 comments

I don't think AGI is right around the corner

https://www.dwarkesh.com/p/timelines-june-2025
157•mooreds•5h ago•180 comments

Backlog.md – Markdown‑native Task Manager and Kanban visualizer for any Git repo

https://github.com/MrLesk/Backlog.md
81•mrlesk•6h ago•16 comments

Lessons from creating my first text adventure

https://entropicthoughts.com/lessons-from-creating-first-text-adventure
29•kqr•2d ago•1 comments

Crypto 101 – Introductory course on cryptography

https://www.crypto101.io/
30•pona-a•4h ago•2 comments

Evaluating the factuality of verifiable claims in long-form text generation

https://aclanthology.org/2024.findings-emnlp.552/
3•gone35•2d ago•0 comments

Attabotics CEO on devastating week that brought bankruptcy

https://retailtechinnovationhub.com/home/2025/7/6/attabotics-ceo-scott-gravelle-opens-up-about-devastating-week-that-saw-bankruptcy-and-tesco-deal
9•bcantrill•53m ago•3 comments

Corrected UTF-8 (2022)

https://www.owlfolio.org/development/corrected-utf-8/
39•RGBCube•3d ago•28 comments

Mirage: AI-native UGC game engine powered by real-time world model

https://blog.dynamicslab.ai
22•zhitinghu•1d ago•17 comments

A non-anthropomorphized view of LLMs

http://addxorrol.blogspot.com/2025/07/a-non-anthropomorphized-view-of-llms.html
95•zdw•3h ago•86 comments

The Broken Microsoft Pact: Layoffs and Performance Management

https://danielsada.tech/blog/microsoft-pact/
45•dshacker•3h ago•23 comments

Metriport (YC S22) is hiring engineers to improve healthcare data exchange

https://www.ycombinator.com/companies/metriport/jobs/Rn2Je8M-software-engineer
1•dgoncharov•8h ago

Hannah Cairo: 17-year-old teen refutes a math conjecture proposed 40 years ago

https://english.elpais.com/science-tech/2025-07-01/a-17-year-old-teen-refutes-a-mathematical-conjecture-proposed-40-years-ago.html
350•leephillips•10h ago•76 comments

Swedish Campground: "There are too many Apples on the screen!"

https://www.folklore.org/Swedish_Campground.html
23•CharlesW•2h ago•6 comments

Curzio Malaparte's Shock Tactics

https://www.newyorker.com/books/under-review/curzio-malapartes-shock-tactics
7•mitchbob•3d ago•2 comments

Async Queue – One of my favorite programming interview questions

https://davidgomes.com/async-queue-interview-ai/
96•davidgomes•9h ago•82 comments

Toys/Lag: Jerk Monitor

https://nothing.pcarrier.com/posts/lag/
48•ptramo•11h ago•37 comments

Collatz's Ant and Σ(n)

https://gbragafibra.github.io/2025/07/06/collatz_ant5.html
25•Fibra•8h ago•3 comments