Architecture of tabularisdb/tabularis
tabularisdb/tabularis is 868 source files holding 6,172 symbols across 7 modules, written mainly in TypeScript, Rust, JavaScript. The largest module is src, with 412 files, and 400 files are entry points into the dependency graph.
How tabularis fits together
The user interface lives in src, the largest directory with 412 files, and includes src/pages/Editor.tsx, the SQL editor page. The src-tauri directory holds the Rust backend with 157 files, and src-tauri/src/commands.rs is one of the repository's hotspot files. Database-specific code sits under src-tauri/src/drivers, for example src-tauri/src/drivers/mysql/mod.rs, and PostgreSQL, MySQL/MariaDB and SQLite ship built in. Other databases are plugins built against packages/plugin-api, whose entry point is packages/plugin-api/src/index.ts. The packages/create-plugin package includes packages/create-plugin/templates/rust-driver/src/main.rs as a template for writing a Rust driver plugin. The tests directory holds 151 files of tests.
Largest modules
- src: 412 files and 91,493 lines of code
- src-tauri: 157 files and 43,571 lines of code
- tests: 151 files and 27,429 lines of code
- packages: 40 files and 1,602 lines of code
- root: 26 files and 3,646 lines of code
- demo: 22 files and 2,287 lines of code
- .claude: 16 files and 1,150 lines of code
- .agents: 15 files and 1,066 lines of code
Languages
By file count: TypeScript 561 files, Rust 165 files, JavaScript 6 files, Python 1 file, Shell 1 file.
More on tabularis: summary and FAQ, codebase overview, code health.
Related guide: Best dependency graph tools for monorepos