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:
parent
680c20483c
commit
cc8cc05a08
5 changed files with 204 additions and 2 deletions
14
flake-modules/distant-shore.nix
Normal file
14
flake-modules/distant-shore.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue