-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Ability to open a SQLite database by "uploading" it #13
Comments
Related: |
In this general space (getting content into a browser based app), you could also add file system access. Elsewhere, JupyterLite was the prompt for the |
Related: It looks like you can't use a file:/// URL to load a local sqlite db into datasette lite, which I imagine is a common use case. If someone sends you a .db file to use, you need to find a "real URL" to host it at, which may not always be easy/desirable, esp. if it's sensitive data. Wonder how much work it would be to support file:/// URLs, whether or not it comes with a "nice file picker UI" to figure out the URL (which of course would be even nicer). |
As a workaround, I used the "Web server for chrome" extension to start a local web server, which also lets you explicitly set CORS headers, which seem to be working. But when I try to use the resulting URL, which loads fine in my browser and looks like http://127.0.0.1:8887/path/to/file.db it still says "That database URL could not be loaded" with no other explanation or error in the console log. Not sure why it's not working or how to fix it. |
Not actually uploading it to the server, but opening it through the browser file open UI - like https://squoosh.app/
The text was updated successfully, but these errors were encountered: