Fuzzy Search with Fuse, Vue and Mark

Got inspired after seeing this linked by @kaushalmodi here and made After Dark do the fuzzy search thing in 3.8.0. So now there’re at least two themes with Fuse implementations baked in.

Noteworthy differences in my implementation:

  • Uses Vue instead of jQuery for app/template
  • Supports deep linking and history API
  • Provides opt-out for items ya don’t want searched
  • Shows post summaries for consistent look-and-feel


Implementation: https://github.com/comfusion/after-dark/commit/93d2a29
Doc: https://github.com/comfusion/after-dark#fuzzy-search
Demo: https://hackcabin.com/search/?s=bitcoin