3 ms·
Tool author here. There are a bunch of really good tools for code search already which are a lot more sophisticated than this one - livegrep for example. I bui
by simonw 6y ago
Tool author here. There are a bunch of really good tools for code search already which are a lot more sophisticated than this one - livegrep for example.
I built this partly as a learning exercise, to see how far I could push the idea of a Datasette plugin and to figure out how to call external processes from Python asyncio.
I also built it because I had a hunch that the "datasette publish" mechanism for deploying Datasette to serverless hosting providers such as Google Cloud Run could make it easy to deploy code search engines too. I think the most interesting thing about this project is the GitHub Actions workflow I wrote that deploys the demo instance running against code from 60+ repositories: https://github.com/simonw/datasette-ripgrep/blob/main/.github/workflows/deploy_demo.yml https://github.com/simonw/datasette-ripgrep/blob/main/.githu...