SQLiteDAV: WebDAV server that maps an SQLite database to directories and files.

[ database, library, mit, program, web ] [ Propose Tags ] [ Report a vulnerability ]

SQLiteDAV is a WebDAV server that exposes an SQLite database as a filesystem-like hierarchy.

It supports two modes:

  • Plain SQLite databases, where tables become folders, rows become folders keyed by rowid, and columns become files named <col>.<ext> with the extension derived from the cell's type.

  • SQLite Archive (sqlar) databases, where paths inside the archive table are exposed as a filesystem.

This lets you mount an SQLite database via any WebDAV client (Finder, GNOME Files, Windows Explorer, davfs2, etc.) and browse, read, and edit its contents as regular files and folders.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.2.0.0
Dependencies aeson, base (>=4.7 && <5), bytestring, containers, directory, exceptions, filepath, http-types, magic, mime-types, optparse-applicative, protolude, regex-tdfa, servant, servant-foreign, servant-options, servant-server, sqlite-simple, SQLiteDAV, text, time, unix, wai-extra, warp, xml, xml-conduit, zlib [details]
License MIT
Author Adrian Sieber
Maintainer Adrian Sieber
Uploaded by adrian at 2026-05-26T10:17:10Z
Category Web, Database
Home page https://github.com/Airsequel/SQLiteDAV#readme
Bug tracker https://github.com/Airsequel/SQLiteDAV/issues
Source repo head: git clone https://github.com/Airsequel/SQLiteDAV
Distributions
Executables sqlitedav
Downloads 0 total (0 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for SQLiteDAV-0.2.0.0

[back to package description]

SQLiteDAV

WebDAV server that maps an SQLite database to directories/files.

Database Schema SQL Schema Code
File View Screenshot of macOS Finder

Installation

From Binaries

  1. Go to https://github.com/Airsequel/SQLiteDAV/releases
  2. Download the latest release for your platform
  3. Unzip the archive:
    unzip sqlitedav_*.zip
    
  4. Make the binary executable:
    chmod +x sqlitedav
    

From Source

Prerequisite: Install Stack

git clone https://github.com/Airsequel/SQLiteDAV
cd SQLiteDAV
stack install

Usage

  1. Start WebDAV server:
    sqlitedav path/to/database.sqlite
    
  2. Connect your WebDAV client to http://localhost:1234
    (E.g. with macOS Finder by executing cmd + k)

WebDAV Compliance

The repository ships a Dockerised setup for running the Litmus protocol compliance test suite against a local SQLiteDAV instance. It points Litmus at an empty sqlar archive so the test files it creates do not collide with the committed fixtures.

make litmus

The target builds a small container image (Debian + litmus), starts SQLiteDAV against a scratch database, and runs Litmus against http://host.docker.internal:1234/sqlar/. Set LITMUS_PORT to use a different port.

Roadmap

The next features are implemented based on popular demand. So please upvote any issues you would like to see implemented!