News for hackers. Stuff that matters.
Re:Feather Wiki: app for creating personal non-linear notebo... by ux-app on Sunday May 22, 2022 @11:26PM (#31475058)
the data is all right there in JSON, so I guess you could add your own using JS
Re:Feather Wiki: app for creating personal non-linear notebo... by reactspa on Sunday May 22, 2022 @11:45PM (#31475149)
Add my own search engine?
Re:Feather Wiki: app for creating personal non-linear notebo... by true_religion on Monday May 23, 2022 @12:59AM (#31475464)
Yeah. You could index the notes or just the titles in FuseJS then implement a UI to search and show results.

https://fusejs.io/

Re:Feather Wiki: app for creating personal non-linear notebo... by Alamantus on Tuesday May 24, 2022 @04:12AM (#31489343)
I'm getting close to finishing the extension/plugin functionality for Feather Wiki, and I was able to successfully write a search extension using Fuse.js! The plugin will be included on the website when the new version with the extension support is ready :)
Re:Feather Wiki: app for creating personal non-linear notebo... by AMICABoard on Monday May 23, 2022 @09:09AM (#31478534)
Unfortunately with respect to Feather Wiki, fuse.min.js is too large (23KB) :) But the fuzzy search is a good idea. If you find a very tiny js search lib, please post it here on HN or here: https://codeberg.org/Alamantus/FeatherWiki/issues
Re:Feather Wiki: app for creating personal non-linear notebo... by reactspa on Monday May 23, 2022 @05:39PM (#31485098)
I did note your ":)", and I agree that compared to a total of 63kb, a 23kb addition can be quite large, but search is too important a feature, and I think it will be worthwhile.

Thank you to the GP for the suggestion to use https://fusejs.io

I wasn't aware that it's easy to implement one's own search engine.