# NIP78

## 任意自定义应用程序数据

`draft` `optional` `author:sandwich` `author:fiatjaf`

此 NIP 的目标是为不关心互操作性的自定义应用程序启用[远程存储](https://remotestorage.io/)类似的功能。

尽管互操作性很好，但有些应用程序不想或不需要互操作性，这对它们来说没有意义。然而，NOSTR 仍然可以以“自带数据库”的方式作为这些应用程序的通用数据存储，例如：用户将打开一个应用程序，并以某种方式输入他们首选的存储中继，这将使这些应用程序能够在那里存储特定于应用程序的数据。

## NOSTR 事件

这个 NIP 指定了事件类型 `30078`（参数化可替换事件）的使用，它带有一个 `d` 包含对应用程序名称和上下文的引用的标记--或者任何其他任意字符串。 `content` 而其他 `tags` 可以是任何东西或任何格式。

## 一些使用案例

* NOSTR 客户端（以及其他与 NOSTR 无关的应用程序）上的用户个人设置
* 客户端开发人员将动态参数传播给用户而无需更新这些参数的方法
* 与 Nostr 无关的应用程序生成的个人隐私数据，但允许用户使用 Nostr Relays 作为其个人数据库


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sherry-pang.gitbook.io/nostr-cn/fu-lu-1-nip-xiang-jie/78.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
