simonw / datasette-ripgrep

Web interface for searching your code using ripgrep, built as a Datasette plugin
https://ripgrep.datasette.io
Apache License 2.0
72 stars 1 forks source link

Optionally use "ripgrep-all" #17

Open amotl opened 3 years ago

amotl commented 3 years ago

Dear Simon,

I would like to salute you for conceiving this excellent tool which stretches the usage of Datasette beyond its original use-case for publishing SQLite databases [1].

As @pansen just made me aware of ripgrep-all by @phiresky and contributors (most probably through [2]), I would like to humbly ask if this would also spark your interest on this matter.

So, the current limitation of conveniently searching through code might well be expanded to searching through a number of other document types [3] - maybe without having to change the code base significantly.

With kind regards, Andreas.

[1] https://simonwillison.net/2020/Nov/28/datasette-ripgrep/ [2] https://news.ycombinator.com/item?id=25277280 [3] https://phiresky.github.io/blog/2019/rga--ripgrep-for-zip-targz-docx-odt-epub-jpg/

simonw commented 3 years ago

I posted a request for a --json flag to help me do that over here: https://github.com/phiresky/ripgrep-all/issues/78