DanManTools
Coach Dan
A site search assistant that answers questions from your own pages — no AI API, no hallucinations, no monthly bill.
Get the embed codeYour site already has the answers. Coach Dan finds them.
Most visitors leave because they can't find what they need. Coach Dan crawls your site, indexes every page, and gives visitors instant answers — quoted directly from your content. It works on any website with two lines of HTML.
Fuzzy full-site search
Indexes up to 60 pages from your sitemap. Finds answers even with typos, using Optimal String Alignment matching.
Answers from your content only
Coach Dan quotes your own pages — never guesses, never hallucinates. If the answer isn't on your site, it says so and routes to your contact info.
Zero dependencies
Pure vanilla JavaScript. No frameworks, no npm, no API keys. Drops into any site — WordPress, Squarespace, custom HTML — with two script tags.
Fully brandable
Set your brand color, assistant name, contact URL, phone, and email. Shadow DOM isolation means your site's styles never clash with the widget.
Privacy-first
Index is cached in the visitor's own localStorage — nothing is sent to a server. No tracking, no cookies, no third-party calls.
Keyboard accessible
Full keyboard navigation, ARIA roles, and Ctrl+K shortcut. Works on desktop and mobile. Respects prefers-color-scheme for automatic dark mode.
How it works
Crawls your sitemap
On first open, Coach Dan reads your sitemap.xml and fetches up to 60 pages — parsing headings, paragraphs, and links.
Builds a local index
Content is tokenized and stored in the visitor's localStorage with a 24-hour TTL. Subsequent opens are instant.
Answers questions
Visitors type a question or search term. Coach Dan scores sections by relevance and quotes the best matches — with a link back to the source page.
Add Coach Dan to your site
Two script tags. No account required. Works on any website.
<!-- Coach Dan site assistant by DanManTools -->
<script>
window.CoachDanConfig = {
name: "Coach Dan",
color: "#e8641b",
phone: "",
email: "",
contactUrl: "/contact",
position: "right"
};
</script>
<script src="https://danmantools.com/coach-dan.js"></script>Configuration options
Set these on window.CoachDanConfig before loading the script.
| Option | Default |
|---|---|
| name | Coach Dan |
| color | #e8641b |
| position | right |
| phone | "" |
| "" | |
| contactUrl | "" |
| maxPages | 60 |