# sahilm/fuzzy

Go library that provides fuzzy string matching optimized for filenames and code symbols in the style of Sublime Text, VSCode, IntelliJ IDEA et al.

Repository: https://github.com/sahilm/fuzzy
Canonical: https://ross.abutalabs.com/products/fuzzy
Language: Go
License: MIT
License Family: permissive
Topics: fuzzy-search, golang, go, fuzzyfinder, fuzzy
Last push: 2026-06-24T08:56:52+00:00

## Health v2 (maintenance only)
Score: 87/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 89, release rhythm 76, longevity 100
- inputs: {"age_days": 3237, "days_push": 70, "days_rel": 83, "gap_med": 34, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1445, forks 66 (observed 2026-08-28T04:04:45.133004+00:00)

## What it is
A dependency-free Go library for fuzzy string matching optimized for filenames and code symbols, in the style of Sublime Text, VSCode, and IntelliJ IDEA. It returns matches ranked by quality along with matched character positions for highlighting, and is fast enough for interactive search boxes.

## Use cases
- add fuzzy file search to a Go CLI tool
- build an interactive fuzzy finder for code symbols
- rank fuzzy matches by quality in a search box
- highlight matched characters in fuzzy search results
- fuzzy match against custom data structures
- implement editor-style file jumping in a Go application

## When to choose
- you need fast, interactive fuzzy matching in a Go program
- you want match positions for highlighting without extra dependencies
- you need editor-style matching tuned for filenames and camelCase symbols

## When to avoid
- you need full-text or semantic search rather than pattern matching
- your project is not written in Go
- you need regex or exact substring search instead of fuzzy matching

## Facets
- artifact type: library
- maturity: active
- function: search-engine, parser, developer-tools
- domain: developer-tools, text-editors
- platform: go, cross-platform, cli
- tags: fuzzy-matching, fuzzy-finder, string-matching, zero-dependency, unicode-aware, search, command-line

## Member repositories
- sahilm/fuzzy (main) score 87

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:45.133004+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-30T04:36:14.858288+00:00, confidence not recorded.
  - readme: https://github.com/sahilm/fuzzy (fetched 2026-08-28T04:04:45.133004+00:00, sha d38e212e0303)
- Data as of 2026-08-30T08:39:29.467469+00:00.
