phantom-ship/shipyard: add media-processing tools for feedback

Feedback now accepts photos, voice notes, video, documents etc. Phase
A captures + stores raw files (Pillow for EXIF strip); Phase B derives
OCR text, speech transcripts, poster frames, PDF text — all via
subprocess so each tool degrades gracefully if absent. Wire the
following into the shipyard service:

  - python3Packages.pillow → EXIF strip on captured photos
  - ffmpeg                 → poster frames + audio→16kHz WAV for whisper
  - tesseract (eng + rus)  → OCR (vyscul writes in Russian)
  - whisper-cpp            → speech-to-text for voice / audio / video
  - poppler_utils          → pdftotext for document attachments

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
DannyDannyDanny 2026-06-07 13:16:38 +02:00
parent 680c20483c
commit cc8cc05a08
5 changed files with 204 additions and 2 deletions

View file

@ -0,0 +1,14 @@
# Standalone nixosSystem registration for distant-shore.
# Temporary: clan integration (zerotier/data-mesher/dm-pull-deploy) needs
# vars generated via sops on the admin machine. Until that runs, this
# keeps the box buildable without clan deps. Delete this file when
# distant-shore moves into flake-modules/clan.nix.
{ inputs, ... }: {
flake.nixosConfigurations.distant-shore = inputs.nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
inputs.disko.nixosModules.disko
../nixos/hosts/distant-shore.nix
];
};
}