- Notifications
You must be signed in to change notification settings - Fork0
AI Chat UI is a responsive, modern chat interface, designed for seamless interactions with local Large Language Models (LLMs) like Ollama. It features a clean design, light/dark themes, PWA support for offline use, real-time chat with streaming responses, and local storage for chat history.
License
arif891/ai_chat_ui
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A modern, responsive chat interface for AI conversations using local Large Language Models like Ollama.
- 🎨 Modern UI with Light/Dark themes
- 📱 Responsive design & PWA support
- 🔄 Real-time streaming responses
- 💾 Local chat history
- ⚡ Zero dependencies
- 🔒 Privacy-focused (all data stays local)
- Ollama installed and running
- Modern web browser (Chrome, Edge, Safari or Firefox)
Configure Ollama for CORS
Choose your operating system:
Windows
setx OLLAMA_ORIGINS"*"
MacOS
launchctl setenv OLLAMA_ORIGINS"*"
Linux
sudo systemctl edit ollama.service# Add under [Service]:Environment="OLLAMA_ORIGINS=*"sudo systemctl daemon-reloadsudo systemctl restart ollama
Restart Ollama
VisitChat UI
Optional: Install as PWA for desktop-like experience
⚠️ Chrome Users: Disable 'Respect the result of Private Network Access preflights' inchrome://flags/
AI_Chat_UI/├── assets/ # Static assets (images, fonts)│ ├── css/ # Stylesheets│ ├── js/ # JavaScript files│ └── icons/ # App icons├── layx/ # Core framework│ ├── main/ # Main components│ └── utils/ # Utility functions└── pages/ # Static HTML pages
Theme Modification
- Edit
/layx/main/base/variable.css
for base variables - Edit
/layx/main/base/variable_color.css
for color schemes
- Edit
UI Components
- Main styles:
assets/css/chat_app/main.css
- Core logic:
assets/js/chat_app/main.js
- Main styles:
- Fork repository
- Create feature branch (
git checkout -b feature/AmazingFeature
) - Commit changes (
git commit -m 'Add AmazingFeature'
) - Push branch (
git push origin feature/AmazingFeature
) - Open Pull Request
MIT License - SeeLICENSE for details
- Multi-LLM support (Claude, GPT4All)
- Enhanced theme customization
- Voice input/output
- Markdown export
- Context length management
- Custom prompts library
About
AI Chat UI is a responsive, modern chat interface, designed for seamless interactions with local Large Language Models (LLMs) like Ollama. It features a clean design, light/dark themes, PWA support for offline use, real-time chat with streaming responses, and local storage for chat history.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.