[WordPress] 外掛分享: easyNostr-Nip05

前言介紹

  • 這款 WordPress 外掛「easyNostr-Nip05」是 2023-05-31 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2024-12-31,距離現在已有 124 天。
  • 外掛最低要求 WordPress 4.7 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.0 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

markjr13 | tejinderb |

外掛標籤

NIP05 | nostr | NIP-05 | easyNostr |

內容簡介

總結:使用這個外掛可以讓你的 WordPress 成為 Nostr NIP-05 端點伺服器,並新增一個使用者設定檔專門放置 Nostr 的公鑰,必須以十六進制格式輸入。轉換 Nostr 公鑰為十六進制的工具可以在 easyNostr 的 NIP-05 金鑰轉換工具中找到。

問題與答案:

Q1: 使用這個外掛可以做什麼?
A1: 使用這個外掛可以讓你的 WordPress 成為 Nostr NIP-05 端點伺服器。

Q2: 安裝後會新增哪個使用者設定檔欄位?
A2: 安裝後,會新增一個使用者設定檔專門放置 Nostr 的公鑰欄位。

Q3: Nostr 的公鑰輸入格式為何?
A3: Nostr 的公鑰輸入格式為十六進制。

Q4: 如何將 Nostr 公鑰轉換為十六進制?
A4: 可以使用 easyNostr 的 NIP-05 金鑰轉換工具將 Nostr 公鑰轉換為十六進制。

Q5: 有哪些需求需要符合才能使用這個外掛?
A5: 符合以下三個需求:1)在您的網站主機上啟用跨來源資源共享(CORS),2)Web 伺服器具有在文件根目錄下建立或寫入 /.well-known/ 目錄的權限,3)/.well-known/nostr.json 檔案必須可執行為 PHP 腳本。

Q6: 有哪些待辦事項?
A6: 1)新增 Nostr 公鑰到十六進制金鑰的轉換功能,2)支援 Lnurl 功能,3)將外掛整合至 Nostr 中繼站。

Q7: 如何獲得支援?
A7: 可以透過 easyNostr 在 Github 和 Telegram 上尋求支援。此外,也可在 Nostr 內聯絡 easyNostr 或者發送郵件至 Mark Jeftovic 在 Nostr 上提供的電子信箱。

原文外掛簡介

This plugin will enable your WordPress installation to function as a Nostr NIP-05 endpoint / server.
When enabled, it will add a new field to the user profile for their Nostr public key (“npub”), which must be entered in hex format.
To convert the npub key into hexval you can use a utility such as the (NIP-05 key conversion tool) found at easyNostr. A future version of this plugin will likely have the conversion built-in.
Requirements

Cross-Origin Resource Sharing (CORS) must be enabled on your web host.

The webserver have permission to create or write to the /.well-known/ directory below your document root

The /.well-known/nostr.json file must be executable as a PHP script

Todo

Add conversion for npub to hexval keys

Lnurl support. We have to be careful here. If the WP install gets compromised an attacker can hijack future payments that reference your lnurl.

Integrations into Nostr relays.

Support

(The easyNostr Github)[https://github.com/easydns/wp-nostr-nip05]

(Telegram)[https://t.me/easynostr]

On Nostr via:
@easyNostr: npub157tuz2760n09vg9362r4chwezxtqrfz7qq2mpxp49kl4g9znzr9qxf6hsp

Mark Jeftovic in Nostr: [email protected] (NIP-05)
npub1elwpzsul8d9k4tgxqdjuzxp0wa94ysr4zu9xeudrcxe2h3sazqkq5mehan

If you find this plugin useful, please consider donating to support its development:

via BTC: bc1qdkaymqtvpus5prx6lsfx4483kvv95mjah2z2wc

Lightning: lnbc1pjzem7hpp502vefct5jyv4lgjrhr76rstfvgq4tsds7eyhvsts9z6l47exr0fsdqu2askcmr9wssx7e3q2dshgmmndp5scqzpgxqyz5vqsp5hjumlyrmchfvkd0q3tc3q0kktlpnu7d3frjk4ln5uq4n6pjm00zs9qyyssqma8xvjhshaq25aq0p5t85eyq2jjxsygjd97ka0tmrtpaajndwmj4xf5x4mtjalp8xzj8mz8ju6kmyet8l8r59z3a75nu60npglddltspfffw7c

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「easyNostr-Nip05」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.3 | trunk |

延伸相關外掛(你可能也想知道)

  • Nostr Verify 》總結:Nostr Verify 是一個 WordPress 外掛,可以透過 NIP-05 在 Nostr 上進行實名認證。, , 問題與答案:, , 問題:什麼是 Nostr Verify?, 答案:Nostr Ver...。
  • Postr For Nostr 》- 外掛名稱:Postr For Nostr, - 功能:, - 只能與NIP-07瀏覽器擴展一起使用,不需要在WordPress中保存私鑰。, - 可將稅目分類添加到記事中作為標籤。, ...。
  • Nostrtium 》總結:Nostrtium 外掛讓你可以從 WordPress 發佈到 Nostr,並提供基本的 Nostr 設置和信箱,供使用者在 WordPress 文章編輯頁面使用。使用者可以在信箱中自由...。
  • YEGHRO Nostr Login 》總結:這款外掛允許使用者使用 Nostr 進行登錄。, , 問題與答案:,
      ,
    • 問題:這個外掛的功能是什麼?,
        ,

文章
Filter
Mastodon