Story

Show HN: PicoGPT v2 – GPT in <40 lines of vanilla JS running from a QR code

kuberwastaken Monday, February 16, 2026

A few days ago I posted about PicoGPT - my take on MicroGPT by Andrej Karpathy, minified to 64 lines to run from a QR code

This is now v2 with minified JS! This version features a minimal GPT implementation with native browser execution through data URI with <40 lines of minified JS and no external dependencies

It makes use of the DecompressionStream Web API and a similiar logic to my past project of running a DOOM-like game from a QR code

you can quite literally "train" and run inference of a GPT model from your mobile device

Would love to hear what you think about it !

Related Links:

Show HN: PicoGPT – GPT in a QR Code https://news.ycombinator.com/item?id=46993035

MicroGPT by Andrej Karpathy - https://gist.github.com/karpathy/8627fe009c40f57531cb1836010... https://karpathy.github.io/2026/02/12/microgpt/

Show HN: I made a Doom-like game fit inside a QR code - https://news.ycombinator.com/item?id=43729683 https://github.com/kuberwastaken/backdooms

(PS: You'd need something like https://qrscanner.org/ that can scan larger QR codes)

Summary
The article discusses the PicoGPT, an open-source and lightweight language model trained on a large corpus of text data. The model is designed to be efficient and easy to deploy on low-power devices, making it suitable for various applications, including chatbots and natural language processing tasks.
2 1
Summary
github.com
Visit article Read on Hacker News Comments 1