Open simonw opened 2 years ago
This may need a new plugin hook, to allow those plugins to express their needs.
Perhaps the files get created automatically in a sensible location somewhere? But where?
Solving this would unlock all kinds of exciting new plugin concepts. A Datasette TODO list for example.
I could use this pattern in datasette-app-support
to add a new plugin hook that those plugins could use to indicate that they need their own database created.
https://til.simonwillison.net/datasette/register-new-plugin-hooks
datasette-tiddlywiki
anddatasette-notebook
are examples if plugins that only work if they have a particular DB file they can read and write.In Datasette Desktop they won't start working until you've remembered to attach those DBs, and you need to do that every time you restart the app!
Need a less clunky mechanism for this.
See also Twitter: https://twitter.com/simonw/status/1481165965815541760