Skip to content

ErkanSoftwareDeveloper/DBnote

Repository files navigation

NoteDB

NoteDB is a local-first desktop note database built with Tauri, React, Next.js, Rust, and SQLite.

Each vault is stored as a local SQLite database, so notes, links, tags, history, and graph relationships stay queryable without a cloud service. The same structure also makes the data useful for analytics, search experiments, embeddings, and machine-learning workflows.

Features

  • Local vaults stored on disk
  • SQLite-backed notes, tags, links, and history
  • Autosaving editor
  • Wiki-style links and backlinks
  • Full-text search
  • Graph view for note and base relationships
  • No account, sync service, or remote database required

Why SQLite

SQLite keeps the app portable while preserving a structured data model. A vault can be inspected, backed up, queried, exported, or used as a dataset for downstream tools.

Useful downstream workflows include:

  • semantic search
  • embedding pipelines
  • recommendation experiments
  • local ML preprocessing
  • graph and tag analysis

Requirements

  • Node.js 20+
  • Rust 1.77+
  • Tauri system dependencies for your operating system

Development

npm install
npm run tauri dev

Build

npm run tauri build

Checks

npm run build
cd src-tauri
cargo test

Project Structure

  • src/app - application shell
  • src/components - React components
  • src/lib - shared frontend types and Tauri API wrapper
  • src-tauri/src - Rust data layer and desktop commands
  • src-tauri/migrations - SQLite schema migrations

Installation (optional)

Download the latest installer from the Releases page.

  • macOS (Apple Silicon): .dmg
  • Windows: .msi (coming soon)

After installation, launch DBnote like any other desktop application.

Screenshots

Cover note notes

License

MIT

About

Local-first SQLite note app for writing, search, graphs, and ML-ready personal data.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Contributors

Languages