opral/lix: Embeddable repository that combines files, database, and version control.

2 phút đọc

opral/lix: Embeddable repository that combines files, database, and version control. – Repository opral/lix. Mô tả: Embeddable repository that combines files, database, and version control.. 754 stars, 24 forks, ngôn ngữ chính Rust, cập nhật 2026-09-16.

1. Repository làm gì?

Embeddable repository for your product

Files, SQL database, and version control in one. Everything inside is versioned data: file content, app tables, reviews, comments. There is no external control plane to sync. Agents read and write normal files. Your product queries SQL. You branch, diff, merge, and roll back all of it together:

JavaScript · Rust · Python · Go

Run locally with FilesystemStorage:

Give each customer a repository

Your product gives every customer their own repository: their files, their data, and the automations LLMs now write for them.

2. Dữ liệu và cấu trúc đáng chú ý

Lix handles any file format, collaborates in real time, and embeds in your product. Non-technical users get accept and undo, not branches and pull requests. Permissions are coming.

Sync the files that coding agents and applications work on, between machines and with a server.

This creates a partial replica with on-demand sync. SQL loads missing inputs; reads and writes whose dependencies are resident run locally, with commits uploaded in the background.

Use LixRay or run your own server.

Your app reads and writes SQL rows and normal files. Lix records every change with its author, so history, blame, branching, and rollback are queries instead of features you build.

Files and rows update in one ACID transaction.

Plugins map files to SQL rows. A paragraph, cell, or property becomes a row Lix can version.

3. Khả năng ứng dụng và giới hạn

With FilesystemStorage, the file stays available on disk. Its rows are queryable with SQL. Lix tracks changes to both.

Runs in-process as part of your infrastructure

Lix runs in-process with pluggable storage: in memory, on the local filesystem, or in a server backed by S3.

Existing VCS like Git assume a local POSIX filesystem, which makes them hard to embed and scale. See the Storage docs.

Git tracks files but has no SQL. PostgreSQL/SQLite have SQL but no files and no change history. Lix has all three.

Số liệu repository có thể thay đổi; nên mở liên kết nguồn để kiểm tra README, giấy phép và trạng thái phát hành.

Nguồn tham khảo: Xem bài gốc

📆
Âm Lịch: 17/8
Giáp Thìn

📆 Lịch Âm Dương NsN

×
Hôm Nay - Chủ Nhật
Âm Lịch: 17 Tháng 8
Năm Bính Ngọ
📌 Ngày Can Chi: Giáp Thìn
✨ Giờ Hoàng Đạo: Dần (3-5), Thìn (7-9), Tỵ (9-11), Thân (15-17), Dậu (17-19), Hợi (21-23)
Vĩnh Phúc (Liên Bảo - Vĩnh Yên)
27°C
Nắng Đẹp
💧 89% | 💨 15 km/h
Hôm nay 32°
28/09 33°
29/09 34°
30/09 33°
01/10 31°