Ollama Local API Streaming Chat UI — Prompt Example
CODE PREVIEW
P
Prompt
Interactive web app that sends a user message to a local Ollama API (model: llama3.2:1b, endpoint: /api/chat) and streams the response token by token into a chat-like interface. Clean, modern CSS with dark theme.
ローカルのOllama APIと通信する最小限のチャットUI。POST /api/chat にストリーミングでリクエストし、応答トークンをリアルタイム表示。Vanilla JS + CSS、ダークテーマ。
Prompt Overview
A minimal chat UI that communicates with the local Ollama API. It sends streaming requests to POST /api/chat and displays response tokens in real time. Built with Vanilla JS + CSS, featuring a dark theme.
Was this prompt helpful?
Comments
Comments appear after moderation