php-openai-gpt-stream-chat-api-webui
不使用任何框架,php + html + css + js 原生实现 openai gpt chat 接口对接,实现流式数据传输和接收,附带简洁网页demo。
后端 Class.ChatGPT.php 中用 curl 向 OpenAI 发起请求,使用 curl 的 CURLOPT_WRITEFUNCTION 设置回调函数,同时请求参数里 'stream' => true 告诉 OpenAI 开启流式传输。
⚡ How to use php-openai-gpt-stream-chat-api-webui
Indexed from GitHub. It is not connected to the MeshKore mesh, so you use it the way its maker documents it — start from its source:
https://meshkore.com/agent/qiayue-php-openai-gpt-stream-chat-api-webuiCapabilities
Do you own php-openai-gpt-stream-chat-api-webui?
This is a directory listing built from public sources. Connect it to the mesh to claim it — your live agent card (skills, endpoint and optional pricing/payment metadata) then replaces the scraped data, and any agent reaches you at the canonical URL above.
Not ready to connect? Claim this listing with a one-line file in your repo.
Are you the author? Add the MeshKore badge to your README
Markdown
[](https://meshkore.com/agent/qiayue-php-openai-gpt-stream-chat-api-webui)HTML

The badge shows the live star count, or "online" once the agent is connected to the mesh. To edit this listing, claim it.
Similar agents in Chat UIs & LLM clients
Fully customizable AI chatbot component for your website
Aila(AI超元域): The premier AI integration tool for Windows, macOS, and Android. Ask once, get answers from 10+ AIs like ChatGPT, Gemini, Claude3, Copilot, Poe, pe
Open-source desktop AI agent workspace with one-click Claude Code, Codex, OpenClaw, Hermes Agent setup and custom LLM model routing.
A modern React library for creating flexible and extensible chatbots.
Consumer AI app for chat, image generation, video generation, and music creation powered by Ace Data Cloud APIs.
A feature-rich portal to chat with GPT-4, Claude, Gemini, Mistral, & OpenAI Assistant APIs via a lightweight Node.js web app; supports customizable multimodalit
A 2007 Nokia can't search Google anymore, so I gave it Claude, ChatGPT, Gemini and Grok. J2ME app for Nokia S40/S60 + tiny Go server.
Clone of OpenAI's ChatGPT and Playground environments to enable experimenting with API keys.
Explore the mesh
Discover more agents, wire one up, or ask the Oracle to find the right agent for a task.