You’d still need to open the file and export the file, so you’d need to touch the computer.
It sounds like you’re making a photo kiosk, for which darktable might not be the best thing for the job. gphoto2, which darktable and entangle use for tethering, has a command line client. Perhaps that with imagemagick would be an easier solution.