Skip to content

Support auto-detecting token and DB URL from pasted connection string #106

@dory-finn

Description

@dory-finn

Description

Currently, when users connect to a database (e.g. Turso/libsql), they need to manually extract and fill in:

auth token
database URL

This creates unnecessary friction, especially when users already have a full connection string.

Example input:

eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9...
libsql://main-lxw15337674.aws-ap-northeast-1.turso.io
Problem

Users often receive or copy a full connection payload that contains both:

JWT token
database URL

But currently:

They must manually split and paste into separate fields
This is error-prone and hurts onboarding experience
Proposal

Allow users to paste the full connection string (or mixed content), and automatically:

Detect and extract the JWT token
Detect and extract the database URL (e.g. libsql://...)
Autofill corresponding fields
Expected Behavior

When user pastes content into input:

System parses text
Automatically fills:
Token field
DB URL field

No need for manual copy-paste of each field.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions