No Server, No API Key, No Internet: An LLM in a Browser Tab

I built an offline recipe generator with Transformers.js. Here is what I learned, including the parts that went badly.