Support libsql #12576

Open
opened 2025-11-02 10:14:40 -06:00 by GiteaMirror · 8 comments
Owner

Originally created by @rawkode on GitHub (Mar 2, 2024).

Feature Description

I for love to see the SQLite driver swapped out for libsql, allowing us to use a highly available sqlite database.

This should be close to a drop in replacement.

Screenshots

No response

Originally created by @rawkode on GitHub (Mar 2, 2024). ### Feature Description I for love to see the SQLite driver swapped out for libsql, allowing us to use a highly available sqlite database. This should be close to a drop in replacement. ### Screenshots _No response_
GiteaMirror added the type/proposal label 2025-11-02 10:14:40 -06:00
Author
Owner

@delvh commented on GitHub (Mar 2, 2024):

Sounds good to me.
Only the

To get started with the libSQL API:
Go (experimental)

is a bit concerning to me

@delvh commented on GitHub (Mar 2, 2024): Sounds good to me. Only the > To get started with the libSQL API: [Go](https://github.com/tursodatabase/libsql/blob/main/bindings/go) (experimental) is a bit concerning to me
Author
Owner

@lunny commented on GitHub (Mar 2, 2024):

Sorry, maybe we need some investigate whether libsql is mature enough.

@lunny commented on GitHub (Mar 2, 2024): Sorry, maybe we need some investigate whether libsql is mature enough.
Author
Owner

@delvh commented on GitHub (Mar 2, 2024):

I mean, according to their docs, they are a fork of SQLite.
In other words, they are as mature as SQLite.

@delvh commented on GitHub (Mar 2, 2024): I mean, according to their docs, they are a fork of SQLite. In other words, they are as mature as SQLite.
Author
Owner

@silverwind commented on GitHub (Mar 2, 2024):

Does this Go binding require CGO? We've been looking for a native sqlite driver.

@silverwind commented on GitHub (Mar 2, 2024): Does this Go binding require CGO? We've been looking for a native sqlite driver.
Author
Owner

@delvh commented on GitHub (Mar 2, 2024):

Probably

@delvh commented on GitHub (Mar 2, 2024): Probably
Author
Owner

@techknowlogick commented on GitHub (Mar 2, 2024):

Yes, it does require CGO. I've just thrown up an experimental branch

@techknowlogick commented on GitHub (Mar 2, 2024): Yes, it does require CGO. I've just thrown up an experimental branch
Author
Owner

@rawkode commented on GitHub (Mar 2, 2024):

There's a client which I don't believe needs CGO

https://github.com/tursodatabase/libsql-client-go

@rawkode commented on GitHub (Mar 2, 2024): There's a client which I don't believe needs CGO https://github.com/tursodatabase/libsql-client-go
Author
Owner

@rawkode commented on GitHub (Mar 2, 2024):

However, I believe that will only support libsql and not SQLite

@rawkode commented on GitHub (Mar 2, 2024): However, I believe that will only support libsql and not SQLite
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#12576