Go to file
Guy Van Sanden 5a5944ceb7 Add systemd 2023-03-07 14:47:41 +01:00
scripts Initial version 2023-03-06 12:34:26 +01:00
src Added ttl 2023-03-06 14:15:01 +01:00
.gitignore Initial version 2023-03-06 12:34:26 +01:00
Gruntfile.js Initial version 2023-03-06 12:34:26 +01:00
LICENSE Initial commit 2023-03-06 09:48:05 +01:00
README.md Added todo 2023-03-06 12:53:47 +01:00
package.json Add systemd 2023-03-07 14:47:41 +01:00
pleroma2nip05.service Add systemd 2023-03-07 14:47:41 +01:00

README.md

pleroma2nip05

Install

Create a python venv python3 -m venv venv

Activate the venv python3 -m venv venv

Install requirements pip3 install -r requirements

Create the config file

Create /etc/pleroma2nip05/config.yml from the config.yml in this repo

Configure nginx

Add this to your Pleroma vhost

   location /.well-known/nostr.json {
        proxy_pass http://localhost:5000/json;
    }

Go to your pleroma profile and add a custom field, name it nostr or Nostr (nothing else) and put in your HEX public key as value

Todo

  • Move relays to config
  • Add instructions to run with Gunicorn and systemd