TwFusejs brings fuzzy searching to TiddlyWiki 5, powered by Fuse.js.
On purpose, this TwFusejs plugin is not a one-size-fits-it-all fuzzy search plugin covering all bases. Instead, this is "just" a lightweight solution on purpose, and thus has some limitations in terms of speed and functionality. On the plus side, this plugin avoids having to calculate and maintain a dedicated search index.
Stock Pedantic Search | Fuzzy Search |
---|---|
Use it as the NPM package tw5-fusejs
in your own TiddlyWiki development projects (please note: no more --save
necessary with more recent npm
versions):
$ npm install tw5-fusejs
Clone the TwFusejs repository on GitHub, then install the required Nodejs modules, and finally create the release files:
$ git clone https://github.com/TheDiveO/TwFusejs
$ cd twfusejs
$ npm install
$ npm run release
The release files (TwFusejs.tid
plugin and demowiki.html
) are located in the
release/editions/output
subdirectory inside the repository root.
Simply drag and drop the plugin TwFusejs.tid
file into your own TiddlyWikis.
Or test drive the plugin by navigating to the demowiki.html
file.
Clone this repository, then install the required dependencies via npm install
.
And start mucking around:
$ npm run develop
...and then navigate your browser to http://localhost:8080.