Skip to content

Commit

Permalink
Support for searching Google Chrome history
Browse files Browse the repository at this point in the history
This uses the WASM compiled version of sqlite since [native modules are
not supported](raycast#135).

The query for matching is a rudimenary `title LIKE '%query%'` where
clause. I intend to make this a bit more sophisticated to handle
multiple terms.

It is only using the native throttle support to debounce access to
the database. It's possible that this will need more tuning or better
resource management.

It also does not yet support choosing a specific profile for history.
This would be possible by setting that string in preferences. For now it
defaults to "Default".
  • Loading branch information
bromanko committed Oct 22, 2021
1 parent 73de6a5 commit eb367ab
Show file tree
Hide file tree
Showing 5 changed files with 209 additions and 3,951 deletions.
Binary file added extensions/google-chrome/assets/sql-wasm.wasm
Binary file not shown.
Loading

0 comments on commit eb367ab

Please sign in to comment.