Open Source

ngx-open-web-ui-chat

Angular chat component for Open WebUI — one npm install

Tech stack AngularTypeScript
Free and open source

About this product

ngx-open-web-ui-chat is an Angular component for Open WebUI: one npm install puts a ready-made chat into an Angular 20 application and connects it to your Open WebUI instance. You give it three inputs — the Open WebUI address, a model id and an API key — and answers stream in over Socket.IO.

The chat keeps the whole conversation, renders markdown, and lets users stop, continue, regenerate or rate an answer, attach files and record voice messages. Optional inputs add a chat history sidebar, folders, notes, server-side tools and integrations such as web search, and the interface ships in ten languages.

It is a standalone, zoneless component built on Angular signals and written in TypeScript, so it drops into a modern Angular app without an NgModule. Typical uses are internal assistants, support chat on top of your own models, and AI features in admin panels.

The package is open source under the MIT licence and published on npm, with the code and the full API reference on GitHub and a live demo at micode-ai.github.io/ngx-open-web-ui-chat.

Key features

  • One npm install and a standalone component, no NgModule
  • Optional history, folders, notes and tools; ten interface languages
  • Real-time AI response streaming with markdown rendering
  • Full TypeScript support with type safety
  • Direct Open WebUI connection — no extra infrastructure needed

Frequently asked questions

Is there an Angular component that connects to Open WebUI?
Yes — ngx-open-web-ui-chat. It is an open-source Angular component from MiCode that renders a ready-made chat and connects it to your Open WebUI instance with three inputs: endpoint, modelId and apiKey.
How do I install it?
Run npm install ngx-open-web-ui-chat, add provideHttpClient, provideMarkdown and provideZonelessChangeDetection in main.ts, then put <openwebui-chat> in a template with your Open WebUI endpoint, model id and API key.
Does it support streaming and markdown?
Yes — answers stream token by token over Socket.IO and render as markdown. Users can stop, regenerate or rate an answer and attach files.
Is it free?
Yes, it's free and open source, available on npm.

Contact

We typically respond within 1 business day.