You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Guy Van Sanden 573d366e97 Run as nostr 7 months ago
scripts Initial version 7 months ago
src Add gunicorn 7 months ago
.gitignore Update package 7 months ago
Gruntfile.js Bump version 7 months ago
LICENSE Initial commit 7 months ago
README.md Added todo 7 months ago
package-lock.json Update package 7 months ago
package.json Add systemd 7 months ago
pleroma2nip05.service Run as nostr 7 months ago

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