From 12ad2e7ebf525df227b7fae9a332ff3209b07965 Mon Sep 17 00:00:00 2001 From: Daniel Samson <12231216+daniel-samson@users.noreply.github.com> Date: Wed, 21 Jan 2026 10:36:04 +0000 Subject: [PATCH] Add README.md --- README.md | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..3f86f86 --- /dev/null +++ b/README.md @@ -0,0 +1,42 @@ +# Barn Job Daemon (Cross-Platform) + +A **cross-platform service** for managing long-running jobs that involve +downloading and uploading media via WebDAV, using FFmpeg to analyse and transcode video, with strong guarantees around durability, +observability, and crash recovery. + +This project is designed to run as a **real OS service / daemon** on: + +- ✅ Windows (Windows Service) +- ✅ macOS (launchd) +- ✅ Linux (systemd) + +The daemon is **not HTTP-bound**. +It runs independently in the background and exposes control via a local CLI / IPC interface. + +--- + +## Why This Exists + +Running FFmpeg jobs over SSH or ad-hoc scripts quickly breaks down when you need: + +- Multiple concurrent jobs +- Reliable handling of failures +- Recovery after crashes or restarts +- Cross-platform support +- Programmatic job inspection and control + +This project treats FFmpeg jobs as **first-class managed units of work**, not shell commands. + +--- + +## Core Goals + +- Run FFmpeg jobs reliably in the background +- Survive SSH disconnects, restarts, and crashes +- Explicitly model job state and failure reasons +- Provide durable, inspectable job state +- Work consistently on Windows, Linux, and macOS +- Avoid coupling to HTTP or web frameworks + +--- +