Skip to content

Latest commit

Β 

History

History
89 lines (62 loc) Β· 3.63 KB

README.md

File metadata and controls

89 lines (62 loc) Β· 3.63 KB

Luzzle 🧩

Luzzle is a text-first approach for managing your digital garden. It enables a folder of Markdown files to be used as a database for web, desktop or mobile projects.

a database which you own and control. in real time.

no takeout needed.

What is a digital garden? πŸ“

Think of it as a personal library for anything you want to record. books you've read, gear in your inventory, contacts in your address book or all the poems you've written.

Instead of being trapped in a spreadsheet or a proprietary app, these records live in an archive folder. Each piece is just a Markdown file representing a single item. πŸ“βœ¨

Why Text? 🧠

Plain text is the best (hands down!) format for long-term preservation and ownership. It’s the original WYSIWYG interface: human-readable, machine-writable, and it won't hold your data hostage.

By using text, we get to stand on the shoulders of giants. We don't need to reinvent search, syncing, or versioning when we can just use the Unix tools that have already solved those problems for decades.

Three Ways to Use Luzzle πŸš€

Depending on how you want to interact with your garden, Luzzle offers three entry points. Use one, two or all three. It's a buffet!

  • The CLI (@luzzle/cli) β€” Just get a database. A command-line companion to quickly initialize and sync your Markdown archive into a local SQLite index. Great if you just want to run queries or plug Luzzle into your own scripts. See the CLI guide for usage and commands.

  • The LSP (@luzzle/lsp) β€” Schema-aware editing. Get autocomplete, schema validation, and diagnostics inside your editor (like Neovim) as you edit your piece frontmatter. See the editor setup.

  • The Web Stack (@luzzle/web) β€” Digital garden on the web. A responsive SvelteKit explorer/admin interface, a background worker queue to sync and transform assets, and a caching reverse proxy. It runs via Docker Composeβ€”making it the heaviest to deploy, but also the most complete. See the web guide.

The Spec πŸ—οΈ

Luzzle is both a set of rules and the code to run them.

  • Your archive is just a root folder.
  • JSON schemas live in .luzzle/schemas/ to define your piece types (like book or film). πŸ“‚
  • Attachments like images and archives live in an .assets/ folder. πŸ–ΌοΈ
  • Pieces use a simple naming convention: name.piece-type.md (e.g., dune.book.md).

The formal specification is still evolving alongside the codebase. 🚧

The Monorepo πŸ“¦

This ecosystem contains a few projects to manage a luzzle archive:

  • @luzzle/core the specification implementation πŸ«€
  • @luzzle/cli the terminal companion for managing pieces πŸ’»
  • @luzzle/lsp auto-complete in your editor while editing pieces ✏️
  • @luzzle/web web app for browsing, editing and publishing pieces πŸ”Ž

a set of services to power a luzzle web app:

  • @luzzle/web.worker jobs for publishing and previewing πŸ‘·
  • @luzzle/web.proxy a caching layer for @luzzle/web πŸš€
  • @luzzle/web.lsp websocket server for the editor's luzzle lsp πŸ’‚

and some shared packages used for the web project:

  • @luzzle/web.config shared configuration schemas for the web stack βš™οΈ
  • @luzzle/web.jobs shared job definitions
  • @luzzle/web.theme shared css styles and theme types
  • @luzzle/web.pieces shared piece definitions and helpers
  • @luzzle/web.templates shared template contracts and canonical built-in sources

Documentation πŸ“–

Start with the guides: your archive, the CLI, editor support and the web stack. Working on Luzzle itself? See development.