A single-file HTML chat app (simple ChatGPT-style UI) that talks to Chrome’s built-in LLM Prompt API and persists conversations in LocalStorage so you can continue chats later.
It includes:
- Multiple chats + chat search
- Per-chat delete in the sidebar + “clear all”
- Markdown rendering for assistant replies (safe, lightweight renderer)
- “Speak” button under the robot icon (Web Speech API /
speechSynthesis) - Export a chat as JSON
- Small footer credit link: “made with ❤️ by Equites.Digital”
This project relies on Chrome’s Built-in AI Prompt API:
- You need a Chrome build/environment where
window.LanguageModelis available. - The API may require enabling Chrome flags / origin trial depending on your setup.
- Run from a secure context (recommended:
http://localhostorhttps://).
If LanguageModel is unavailable, the UI will show an “unavailable” status and won’t be able to run prompts.
Reference: Chrome docs (Prompt API)