ElitoGame / HexaLaunch

A radial hexagon menu to boost productivity
5 stars 0 forks source link

App Detection, Paper Bin Extension #14

Closed ElitoGame closed 1 year ago

ElitoGame commented 1 year ago

Description:

TimeFrame:

GanttStart: 2022-11-10 GanttDue: 2022-11-20

Additional Information:

The library: https://www.npmjs.com/package/search-index might come in Handy when creating a custom search index.

ElitoGame commented 1 year ago

I ended up creating 2-3 .json files for temporary app storage and re-querying it every startup. I also realized that I had to think ahead and already work on the Search feature, so I would not have to change my storage type later on. I ended up using Lyra, though I did check out a couple other approuches like lunr and entire modern databases such as SurrealDB and edgeDB. However the simple json and JS fulltext search approach is likely fast enough, more lightweight and simpler to setup with way fewer things to install.

Quick summary of the App detection methods I ended up using: