feat: media send/receive (intent-based + notification bridge)

- POST /messages/send-media: multipart upload + adb push + intent + Appium
- Webhook mediaType: image detection + adb pull + fanout met download-url
- Download endpoint /download/:token (10 min TTL, cleanup every 5 min)
- Android NotificationListener: detecteert media-notificaties (lege/emoji text)
- Dockerfile: adb toegevoegd voor push/pull
- MEDIA_WAIT_MS env var (default 8000ms) voor pull-timing
This commit is contained in:
Eddy de Vink 2026-07-22 21:47:59 +02:00
commit dc121f71de

View file

@ -1,9 +1,13 @@
FROM node:lts-bookworm-slim
RUN apt-get update && apt-get install -y --no-install-recommends \
adb \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY package.json ./
RUN npm install --omit=dev
COPY server.js ./
EXPOSE 3002
EXPOSE 3010
CMD ["node", "server.js"]