[Feature Request] [Nostr] Support automatically strip EXIF metadata or custom Blossom / NIP-96 media upload servers

Abierto
#2,588 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
kotlin
Área
mobile

Línea de trabajo

Start by tracing Flare's media upload flow to the affected Blossom endpoint, https://blossom.nostr.build/upload, and review how image payloads and app settings are handled. Define whether the change supports client-side EXIF stripping, custom Blossom/NIP-96 server selection, or both; done means camera photos no longer fail because of GPS/EXIF metadata and the selected server behavior is covered.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Related problem
Currently, media uploads on Nostr fail with a 400 Bad Request error when uploading photos containing GPS/EXIF metadata to the default server (https://blossom.nostr.build/upload).

The error returned by the server is:

Error uploading the file: Private metadata detected: ["exif:GPSInfo", ...]

Since blossom.nostr.build strictly blocks files with embedded location data, and Flare currently does not offer a way to change the media server or sanitize EXIF data prior to upload, users are unable to post photos directly from their camera without prior manual photo processing.


Possible solution
To address this, I would welcome either (or both) of the following solutions:

  1. Client-side EXIF Stripping:
  • Strip sensitive EXIF/GPS metadata locally on the device before sending the image payload to the Blossom upload endpoint.
  1. Custom Media Server Configuration:
  • Allow users to set a custom Blossom server URL (or implement NIP-96 / Blossom NIP-63 server selection) in the app settings.
  • Optionally, parse user-defined server lists from Nostr events (kind: 10063).

Alternatives

  • Manually running photos through a metadata-scrubbing app prior to sharing them via Flare, which disrupts the mobile sharing workflow.
  • Turning off GPS permissions for the system camera app entirely.

Additional context

  • Affected Endpoint: https://blossom.nostr.build/upload
  • Protocol: Blossom (BUD) / Nostr Media Storage

Lenguaje dominante
Kotlin
Estrellas
1.7k
Forks
85
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de DimensionDev/Flare

Todos los issues de DimensionDev/Flare

Issues similares

Más issues de Kotlin

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.