💾 Archived View for freeside.wntrmute.net › src › nomadlink.gmi captured on 2023-06-16 at 16:23:24. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-03-01)

-=-=-=-=-=-=-

nomadlink

nomadlink is a tool for syncing a Nomad RSS feed to pnut.

Nomad

Pnut

I have it running as a cronjob on a Raspberry Pi.

Raspberry Pi setup

1. Install go.

Installing Go on a Raspberry Pi

2. Install mercurial: `sudo apt install mercurial`

3. Fetch the repository and `cd` to the directory: `hg clone https://hg.sr.ht/~kisom/nlink && cd nlink`

4. Make the config directory: `mkdir -p ~/.config/nomadlink`

5. Create a new Pnut dev app.

Pnut developer page

6. Copy the `creds.json` file to `~/.config/nomadlink/creds.json` and fill it out with the correct details from the Pnut dev page.

7. Run `go build`.

8. Verify the build works by running `./nlink -i -m`. This will create the database and mark all the posts you currently have on nomad as already posted.

9. Copy `nlink` to `/usr/local/bin`: `sudo cp nlink /usr/local/bin/`

10. Edit your crontab (`crontab -e`) and add the following line:


11. Eventually, posts should start showing up.

Optional

12. Install postfix and set it up as a local site.

sudo apt install postfix bsd-mailx