# Haroenv/holmes

Fast and easy searching inside a page

Repository: https://github.com/Haroenv/holmes
Canonical: https://ross.abutalabs.com/products/holmes
Homepage: https://haroen.me/holmes/
Language: JavaScript
License: Apache-2.0
License Family: permissive
Topics: search, filter, holmes, minimal, dom, innertext
Last push: 2022-03-24T09:11:34+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3749, "days_push": 1623, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1725, forks 70 (observed 2026-08-28T04:05:28.103879+00:00)

## What it is
Holmes is a tiny (~2KB) JavaScript library that filters visible DOM elements on a page based on text typed into a search input. It matches against innerText of elements selected via querySelectorAll and toggles CSS classes to show or hide them.

## Use cases
- filter a list of items on a page as the user types
- add instant client-side search to a small static page
- hide non-matching DOM elements with a search box
- highlight matching text in search results
- add a lightweight no-backend search to a FAQ or docs list

## When to choose
- you have a limited number of items already rendered in the DOM
- you want a minimal dependency with no backend or index
- you don't need typo tolerance or fuzzy matching

## When to avoid
- you need to search large datasets or server-side content
- you need typo tolerance, ranking, or relevance scoring
- your content is loaded dynamically and not present in the DOM

## Facets
- artifact type: library
- maturity: maintenance
- function: search-engine, frontend-framework
- domain: web-development, frontend
- platform: browser
- tags: dom-filtering, client-side-search, vanilla-js, in-page-search, search, nodejs

## Member repositories
- Haroenv/holmes (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:28.103879+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:32:34.368357+00:00, confidence not recorded.
  - readme: https://github.com/Haroenv/holmes (fetched 2026-08-28T04:05:28.103879+00:00, sha 3a915ed9b18b)
  - homepage: https://haroen.me/holmes/ (fetched 2026-08-29T11:09:28.039709+00:00, sha a5b658605558)
  - site_page: https://haroen.me/holmes/doc/holmes.html (fetched 2026-08-29T11:09:28.048908+00:00, sha 2188a6953e0b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
