Tamery 0.99.5 is outSee what’s new
Blog
Turso

How to connect to Turso

Valerii Strilets

Turso is SQLite over the network (libSQL). Connecting takes two things, the database URL and an auth token, on desktop and the web alike.

Connect to Turso

Choose Turso under Engine and enter your database URL and auth token, or paste both at once:

TURSO_DATABASE_URL=libsql://your-database.turso.io
TURSO_AUTH_TOKEN=your-token

The URL uses the libsql:// scheme. If you copy those two lines straight out of your .env, Tamery reads them as they are.

Self-hosted libSQL

A self-hosted libSQL server works the same way. If yours runs without TLS, add ?tls=0 to the URL.

Works everywhere

Turso connects from both the desktop and web apps, with no local proxy needed, since the database is already remote. The auth token follows the same sync rules as a password, so you decide whether it travels with the connection.

One difference from local SQLite

Turso cannot hold a transaction open between runs. Run a whole BEGIN … COMMIT block together with Run all rather than one statement at a time. Everything else, browsing rows, editing, SQL, indexes and triggers, works as you would expect from SQLite.

FAQ

What do I need to connect to Turso?

The database URL, a libsql:// address, and an auth token. Paste both, or the two TURSO_* lines from your .env.

Does Turso work in the web app?

Yes, on both desktop and web, with no local proxy, since the database is already remote.

Can I connect to a self-hosted libSQL server?

Yes. If it runs without TLS, add ?tls=0 to the URL.


Download Tamery and paste your database URL and auth token. The full reference is in the Turso docs.