Home

Awesome

RSSNOTES

rssnotes is a nostr relay that functions as an rss to nostr bridge by creating nostr profiles and notes for RSS feeds. rssnotes is a read only relay. rssnotes is a fork of rsslay.

Features

Screenshot

alt text

Run the relay using docker compose

Prerequisites:

  1. Create a new rssnotes folder and cd into it.
mkdir rssnotes
cd rssnotes
  1. Create two folders: db and qrcodes.
mkdir db
mkdir qrcodes
  1. Create four files: docker-compose.yml, .env, seedrelays.json and logfile.log.
touch docker-compose.yml
touch .env
touch seedrelays.json
touch logfile.log
  1. Copy and paste the contents from the sample.docker-compose.yml file into your docker-compose.yml file. Save and exit the file.

  2. Copy and paste the contents of the sample.env file into your .env file.

  3. Modify the contents of your .env file. Add values for the following REQUIRED environment variables.

  1. The remaining variables in the .env file are optional. Save and exit the .env file.

  2. Copy and paste the contents from the sample.seedrelays.json file into your seedrelays.json file. Save and exit the file.

  3. Run docker-compose up -d while in the rssnotes directory. This will start the rssnotes container in the background. Go to http://localhost:3334 in your browser.

Run the relay as a service

  1. Clone the repo and cd into the repo folder.
git clone https://github.com/trinidz/rssnotes
cd rssnotes
  1. Download the correct rssnotes released binary for your system into the rssnotes folder.

  2. Rename downloaded the binary:

# The binary format is simillar to rssnotes-rx.x.x-ostype-arch. Change the downloaded binary name to rssnotes.
mv rssnotes-rx.x.x-ostype-arch rssnotes
# Make sure the binary is executable
chmod +x rssnotes
  1. Copy and rename the other necessary files:
cp sample.env .env
cp sample.seedrelays.json seedrelays.json
  1. Open the .env file and add values for the following REQUIRED environment variables.
  1. The remaining variables in the .env file are optional.

  2. Create a systemd service file:

sudo nano /etc/systemd/system/rssnotes.service
  1. Add the following contents:
[Unit]
Description=RSSNotes Relay Service
After=network.target

[Service]
User=myuser
Group=myuser
ExecStart=/home/myuser/rssnotes/rssnotes
WorkingDirectory=/home/myuser/rssnotes
Restart=always
MemoryLimit=2G

[Install]
WantedBy=multi-user.target
  1. Replace /home/myuser/ with the actual paths where the files are stored.

  2. Reload systemd to recognize the new service:

sudo systemctl daemon-reload
  1. Start the service:
sudo systemctl start rssnotes
  1. Enable the service to start on boot:
sudo systemctl enable rssnotes
  1. Go to http://localhost:3334 in your browser.