An experiment in using generative AI in a non-chat form. You write a goal and your thoughts, press a button, and get one read-only answer. There is no back-and-forth: every response stands alone.
Part of Thursday.
No build step. Any static server over the repo root works:
python3 -m http.server 8000Then open http://localhost:8000. It needs to be served over HTTP — the page
uses ES modules, which will not load from file://.
The first visit asks you to pick an AI provider. A free key from AI for All is enough to try it.
index.html— the pagelib/— the OpenAI client, provider setup, and page scriptstatic/— CSS, examples, and the system prompt the model runs under
MIT. Feel free to copy and share.