@jedrazb/querybox
v0.1.6
Published
Lightweight embeddable search and chat widget powered by Elasticsearch
Maintainers
Readme
Lightweight, embeddable search and AI chat widget powered by Elasticsearch
Demo · Documentation · Get Started
Installation
npm install @jedrazb/queryboxUsage
import QueryBox from "@jedrazb/querybox";
import "@jedrazb/querybox/dist/style.css";
const querybox = new QueryBox({
apiEndpoint: "https://api.querybox.dev/{yoursite.com}/v1",
});
// Open search
document.getElementById("search-btn").onclick = () => querybox.search();
// Open chat
document.getElementById("chat-btn").onclick = () => querybox.chat();Documentation
For full documentation, visit: https://www.querybox.dev
License
MIT © jedrazb
