Skip to content

zrnge/webz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

WebZ

Privacy-first, multi-engine AI search & chat — runs entirely in your browser.

Live Demo

License Build PRs HTML5 CSS3 JS No backend Zero config Stars


✨ What is WebZ?

WebZ is a single-file AI search assistant inspired by Claude's interface. It blends live web search (Wikipedia + SearxNG) with AI summarization (Pollinations or any OpenAI-compatible endpoint) into one clean conversational UI — no signup, no tracking, no database.

Drop the HTML file anywhere and it works.

🎯 Features

  • 🔍 Multi-engine web search — Wikipedia + SearxNG with inline [1] [2] citations
  • 🤖 Bring your own AI — Free Pollinations by default, or plug in Groq, OpenAI, OpenRouter, LM Studio, etc.
  • 🌊 True streaming — real SSE streaming with abort/stop support
  • 🧠 Conversational memory — last 6 turns kept as context for follow-ups
  • 📎 File attachments — drop in .txt .md .json .csv .log .py .js .html .css for analysis
  • 🎤 Voice input + 🔊 read-aloud (Web Speech API)
  • 💻 Syntax-highlighted code with per-block copy buttons
  • 🌓 Dark / light themes with smooth transitions
  • ⌨️ Full keyboard shortcuts (Ctrl+K, Ctrl+B, Ctrl+,, etc.)
  • 📤 Export to JSON or copy transcript
  • 🔒 Zero persistence — refresh wipes everything, nothing leaves your browser except the API call itself

🚀 Quick Start

Option 1 — Use the live demo

👉 zrnge.github.io/webz

Option 2 — Self-host

git clone https://github.com/zrnge/webz.git
cd webz
# open webz.html in your browser. That's it.

No build step. No npm install. No backend.

⚙️ Custom AI Endpoint

In Settings, switch off "Use free AI" to plug in any OpenAI-compatible API:

Provider Endpoint Example model
Groq https://api.groq.com/openai/v1/chat/completions llama-3.1-8b-instant
OpenAI https://api.openai.com/v1/chat/completions gpt-4o-mini
OpenRouter https://openrouter.ai/api/v1/chat/completions anthropic/claude-3.5-sonnet
LM Studio (local) http://localhost:1234/v1/chat/completions whatever you loaded

Your API key lives in memory only and is wiped on refresh.

⌨️ Keyboard Shortcuts

Action Shortcut
Send message Enter
New line Shift + Enter
Focus input Ctrl/⌘ + K
New chat Ctrl/⌘ + Shift + O
Toggle sidebar Ctrl/⌘ + B
Toggle theme Ctrl/⌘ + Shift + L
Open settings Ctrl/⌘ + ,
Stop generating Esc

🛠 Tech Stack

Pure vanilla — no framework, no bundler.

🔐 Privacy

WebZ ships with zero local storage and no analytics. Every query goes directly from your browser to the configured search engines and AI provider — WebZ itself has no servers. If you want full air-gapped privacy, point the custom AI endpoint at a local LM Studio instance and disable web search.

🤝 Contributing

Issues and PRs welcome — open a ticket and let's chat.

📜 License

MIT © Zrnge


Made with by Zrnge