@hackage SQLiteDAV0.2.0.0

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

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!