3 ms·
Datasette is a tool you run against your stuff usually. I have control over my repos. Once you do cross repos search providing global filters on every query tu
by the_mitsuhiko 6y ago
Datasette is a tool you run against your stuff usually. I have control over my repos.
Once you do cross repos search providing global filters on every query turns into an awful user experience.
WRT web frontends: datasette runs locally.
- oefrha 6y agoWell, all this tool does is calling rg from a directory with a bunch of repos, so providing global filters on every query is as awful as rg providing a --glob flag... Which is arguably not that awful to a lot of users. > Datasette is a tool you run against your stuff usually. ... datasette runs locally. I don't think so? I could be wrong but I thought a major use case (or the major use case) is providing a frontend for your data to other people. Like on https://ripgrep.datasette.io/-/ripgrep https://ripgrep.datasette.io/-/ripgrep. To quote https://docs.datasette.io/en/stable/ https://docs.datasette.io/en/stable/, > Datasette is aimed at data journalists, museum curators, archivists, local governments and anyone else who has data that they wish to share with the world.
- the_mitsuhiko 6y ago> I don't think so? I could be wrong but I thought a major use case (or the major use case) is providing a frontend for your data to other people. _I_ use datasette and I only ever used it locally or in a docker container. In either case for datasette-ripgrep to work you need to check out the repos you want to search in one folder that datasette will then invoke ripgrep on. There are folks that publish datasette installations for public consumptions but even in that case I would assume that code search was preconfigured to make any sense with ignore files.
- masklinn 6y ago> To quote https://docs.datasette.io/en/stable/ https://docs.datasette.io/en/stable/, >> Datasette is aimed at data journalists, museum curators, archivists, local governments and anyone else who has data that they wish to share with the world. That doesn't preclude installing the program locally. The official "getting started" talks of remote / web datasettes as "demos" and "trials".
- oefrha 6y ago> That doesn't preclude installing the program locally. Of course not. But the project makes it pretty clear that it's designed with multiuser in mind. Can you host multiuser web apps only for yourself? Of course, I do that all the time. The unreasonable thing is saying "I use this thing exclusively for my own stuff on my local network, so screw your requests for multiuser, public-facing use cases."
- masklinn 6y ago> Of course not. But the project makes it pretty clear that it's designed with multiuser in mind. It really doesn't. AFAIK Simon Willison (the author and creator) does his exploration locally, on things of interest to himself. Publishing the analysis for others to see is no more "multiuser" than publishing a PDF.