# The Nostr Media file manager

<https://nostrmedia.com/manage>

The file manager is the web interface to everything Nostr Media stores for your Nostr
public key. It is available to every Purple, Onyx and Gold subscriber.

## Signing in

There is no password. On first visit the page asks your signer to sign a kind `24242`
event carrying a `["t","manage"]` tag; that signature is what proves the files are yours.
Any Nostr login method works — a NIP-07 browser extension, a NIP-46 remote signer, or a
key held locally in the browser.

The signed event is kept in browser storage so you are not re-prompted on every visit.
Signing out clears it.

## What it does

- **Browse** every file, thirty per page, with thumbnails for images and inline players
  for audio and video.
- **Search** by filename or SHA-256 hash.
- **Filter** by images, video, audio or other.
- **Rename** a file. Names are sanitised to letters, digits, `-`, `_` and `.`; the stored
  blob and its URL are unaffected.
- **Copy** a file's public URL.
- **Delete** a file. Deletion removes the blob and purges the CDN cache.
- **Zapwall** a file: tick the box, set a price in satoshis, and viewers must zap that
  amount to unlock it. All of the payment goes to you.
- **Upload** by dragging files onto the page, including files up to 5 GB, which are sent
  through the presigned multipart flow.
- **See your quota** — used storage against your tier's limit, shown as a progress bar.

## Notes

- Files encrypted client-side arrive with no recognisable type and are stored as `.bin`;
  the manager shows them with a padlock rather than a preview.
- Zapwalling a file changes its URL from `/p/<pubkey>/...` to `/zapwall/<pubkey>/...`.
  The manager copies the right URL for the file's current state.
- Everything the manager does is available over HTTP as well — see the
  [API reference](https://nostrmedia.com/docs/api.md).
