Title: easyNostr-Nip05
Author: mjeftovic
Published: <strong>2023-06-01</strong>
Last modified: 2024-12-31

---

Szukaj wtyczek

Wtyczka **nie została przetestowana z trzema ostatnimi głównymi wydaniami WordPressa**.
Może nie być już utrzymywana lub obsługiwana, co może skutkować problemem ze zgodnością
z nowszymi wersjami WordPressa.

![](https://ps.w.org/easynostr-nip05/assets/icon-256x256.png?rev=2920306)

# easyNostr-Nip05

 Autor: [mjeftovic](https://profiles.wordpress.org/mjeftovic/)

[Pobierz](https://downloads.wordpress.org/plugin/easynostr-nip05.1.0.3.zip)

 * [Szczegóły](https://pl.wordpress.org/plugins/easynostr-nip05/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/easynostr-nip05/#reviews)
 *  [Instalacja](https://pl.wordpress.org/plugins/easynostr-nip05/#installation)
 * [Rozwój](https://pl.wordpress.org/plugins/easynostr-nip05/#developers)

 [Wsparcie](https://wordpress.org/support/plugin/easynostr-nip05/)

## Opis

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](https://easyNostr.com/). 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: markjr@bombthrower.com (NIP-05)
    npub1elwpzsul8d9k4tgxqdjuzxp0wa94ysr4zu9xeudrcxe2h3sazqkq5mehan

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

 * via BTC: bc1qdkaymqtvpus5prx6lsfx4483kvv95mjah2z2wc
 * Lightning: lnbc1pjzem7hpp502vefct5jyv4lgjrhr76rstfvgq4tsds7eyhvsts9z6l47exr0fsdqu2askcmr9wssx7e3q2dshgmmndp5scqzpgxqyz5vqsp5hjumlyrmchfvkd0q3tc3q0kktlpnu7d3frjk4ln5uq4n6pjm00zs9qyyssqma8xvjhshaq25aq0p5t85eyq2jjxsygjd97ka0tmrtpaajndwmj4xf5x4mtjalp8xzj8mz8ju6kmyet8l8r59z3a75nu60npglddltspfffw7c

## Instalacja

 * Upload the plugin files to the /wp-content/plugins/nostr directory, or install
   the plugin through the WordPress plugins screen directly.
 * Activate the plugin through the Plugins screen in WordPress.
 * Visit the user profile pages and enter the pubkey in under the Nostr NIP-05 Identity
   section.
 * Optionally enter a pubkey for the „root” (i.e _@example.com) user in the easyNostr
   settings page.
 * Make sure that your web server is enabled for Cross-Origin Resource Sharing (
   CORS). You can use a utility like https://cors-test.codehappy.dev/ to check.

## Najczęściej zadawane pytania

### How do I enable Cross-Origin Resource Sharing (CORS) for my web server?

The plugin adds modifies (or creates) an .htaccess file in your /.well-known/ directory
that should enable CORS.

cPanel/WHMS has „AllowOverride All” on by default, so the plugin should be able 
to turn this on when you activate it.

### The .htaccess file was created, but CORS is still not enabled

Check that the /.well-known/ directory was created, and that it has perms set to
0755

If that’s the case but CORS is still not enabled, you may have to manually enable
it from your server settings.

If you have access to the server itself, you can follow the instructions on enablng
CORS:

 * For Apache: https://enable-cors.org/server_apache.html
 * For Nginx: https://enable-cors.org/server_nginx.html

If you are using a web hosting provider using cPanel or Plesk then:

 * For Plesk: https://support.plesk.com/hc/en-us/articles/12377597400087
 * For cPanel: if it didn’t enable when you installed the plugin, (it’s more complicated)[
   https://support.cpanel.net/hc/en-us/articles/1500001533562-How-To-add-nosniif-
   CORS-HSTS-Clickjack-and-X-Xss-Protection-headers?_ga=2.48828454.1039362881.1680543384-
   1840926562.1678002612].

Failing that, you may need to contact your webserver support people.

## Recenzje

Wtyczka nie ma jeszcze żadnej recenzji.

## Kontrybutorzy i deweloperzy

„easyNostr-Nip05” jest oprogramowaniem open source. Poniższe osoby miały wkład w
rozwój wtyczki.

Zaangażowani

 *   [ mjeftovic ](https://profiles.wordpress.org/mjeftovic/)
 *   [ Mark E. Jeftovic ](https://profiles.wordpress.org/markjr13/)
 *   [ Tejinder Benipal ](https://profiles.wordpress.org/tejinderb/)

[Przetłumacz wtyczkę “easyNostr-Nip05” na swój język.](https://translate.wordpress.org/projects/wp-plugins/easynostr-nip05)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/easynostr-nip05/), sprawdź
[repozytorium SVN](https://plugins.svn.wordpress.org/easynostr-nip05/) lub czytaj
[dziennik rozwoju](https://plugins.trac.wordpress.org/log/easynostr-nip05/) przez
[RSS](https://plugins.trac.wordpress.org/log/easynostr-nip05/?limit=100&mode=stop_on_copy&format=rss).

## Rejestr zmian

#### 1.0.0

 * initial package

#### 1.0.1

 * minor format tweaks from initial release
 * updated readme

#### 1.0.2

 * removed heredoc for htaccess file (not allowed by WordPress)
 * added htaccess-template.txt

#### 1.0.3

 * fix remaining function prefixes on nostr_menu (now enip05_menu), nostrsettings(
   now enip05_settings), nostractive (now enip05_active)

## Meta

 *  Wersja **1.0.3**
 *  Ostatnia aktualizacja **2 lata temu**
 *  Włączone instalacje **10+**
 *  Wersja WordPressa ** 4.7 lub nowszej **
 *  Testowano do **6.7.10**
 *  Wersja PHP ** 7.0 lub nowszej **
 *  Język
 * [English (US)](https://wordpress.org/plugins/easynostr-nip05/)
 * Tag
 * [nostr](https://pl.wordpress.org/plugins/tags/nostr/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/easynostr-nip05/advanced/)

## Oceny

Nie przesłano jeszcze żadnych recenzji.

[Twoja opinia](https://wordpress.org/support/plugin/easynostr-nip05/reviews/#new-post)

[Zobacz wszystkierecenzje.](https://wordpress.org/support/plugin/easynostr-nip05/reviews/)

## Zaangażowani

 *   [ mjeftovic ](https://profiles.wordpress.org/mjeftovic/)
 *   [ Mark E. Jeftovic ](https://profiles.wordpress.org/markjr13/)
 *   [ Tejinder Benipal ](https://profiles.wordpress.org/tejinderb/)

## Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

 [Zobacz forum wsparcia](https://wordpress.org/support/plugin/easynostr-nip05/)