Closed invisal closed 7 months ago
Nice work! Tried to use it yesterday, but I realized it doesn't have the ability to connect to a locally hosted/self-hosted libsql instance. I was able to jerry rig something together by removing the validation for token
and using the connection string ws://localhost:8080
. (works because the underlying ws
client ignores the jwt param if the token is an empty string)
The locally hosted element will be important during development of any frontend and backend of a headless cms as the most reliable way to do E2E and integration testing (as well as hot-reload dev) will be to swap out the Turso connection string for a docker connection string at the test runner level. That way libsql-studio will be the fastest way to inspect the state of the db and debug.
The easiest way to start a self hosted libsql server is either via the turso cli or via docker. I'd recommend docker for testing as it'll be deterministic
Nice work! Tried to use it yesterday, but I realized it doesn't have the ability to connect to a locally hosted/self-hosted libsql instance. I was able to jerry rig something together by removing the validation for
token
and using the connection stringws://localhost:8080
. (works because the underlyingws
client ignores the jwt param if the token is an empty string)The locally hosted element will be important during development of any frontend and backend of a headless crm as the most reliable way to do E2E and integration testing (as well as hot-reload dev) will be to swap out the Turso connection string for a docker connection string at the test runner level. That way libsql-studio will be the fastest way to inspect the state of the db and debug.
The easiest way to start a self hosted libsql server is either via the turso cli or via docker. I'd recommend docker for testing as it'll be deterministic
Thanks for reporting. I will make the token as optional and it should works with local connection.
LibSQL Studio v0.3.0 Roadmap
What should be direction of LibSQL?
There are hundreds of database GUI in the market. It is very hard for LibSQL Studio to go toe to toe with them because:
Instead we should focus on what web-based allows us to do best:
We will attack one use-case at the time.
Headless CMS Use-case
Our first use-case that we want to solve is to turn Turso + LibSQL Studio into a mini-headless CMS. Here is how it works:
In order to achieve, we will add the following features:
Medium-like Editor
We will integrate with EditorJS (https://editorjs.io/). Any TEXT column can launch an full-fletch WYSIWYG editor. The editor should support:
Upload Image into Column
Any TEXT column, we can add ability to upload the image and insert the uploaded image link into the column
Two type of connections
LibSQL Studio will offer two type of connections:
Collaboration
If it is managed connection, LibSQL Studio allows owner to add more user to create and edit data. In version v0.3.0, we will not focus on permission restriction. We will add more permission in later version
Self-Host
LibSQL Studio is an open-source project. https://libsqlstudio.com is the hosted version of LibSQL Studio. If you don't like how https://libsqlstudio.com operate, everyone is free to host it on your own. I will add more guide on how to self-host LibSQL Studio