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

Aperta
#2,588 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
kotlin
Ambito
mobile

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Kotlin
Stelle
1.7k
Fork
85
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DimensionDev/Flare

Tutte le issue di DimensionDev/Flare

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.