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

オープン
#2,588 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
kotlin
領域
mobile

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Kotlin
スター
1.7k
フォーク
85
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

DimensionDev/Flare のほかの issue

DimensionDev/Flare の issue をすべて見る

似ている issue

Kotlin の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。