Hacker News new | ask | show | jobs
by zainab-ali 1218 days ago
For those of you interested in browser-based search with SQLite WASM, I’ve written a small post on the Craft of Emacs search page.You can check out the actual search here: https://craft-of-emacs.kebab-ca.se/search.html

Kudos to the SQLite team. It was a joy to implement.

3 comments

It was a joy to read this article. I'd love to know more on the nitty-gritty details of the implementation.
Are there any gotchas around the sql parameterization? Looks like you're passing in an array into db.exec. I would have thought that would be enough, but if I search for org-mode then I see an error on the console complaining about no such column: mode.
adding some quotes seems to help; you can search for e.g. "coe-xx-mode" and it will turn up results.
Is this an alternative to helm-swish?