While not directly Node-RED related, I use it all the time and thought I'd share.
Netatalk is a freely-available Open Source AFP fileserver. A UNIX, Linux or BSD system running Netatalk is capable of serving many Macintosh clients simultaneously as an AppleShare file server (AFP).
Here are my install notes:
To see the pi in the ‘shared devices’ on your Mac, you must install netatalk
sudo apt install netatalk -y
Note: as of ‘Buster’ you need to edit a file to make this work. First you backup the afp.conf file then create a new one:
sudo mv /etc/netatalk/afp.conf /etc/netatalk/afp.original sudo nano /etc/netatalk/afp.conf
Next insert the following lines:
; ; Netatalk 3.x configuration file ; [Global] ; Global server settings ; [Homes] ; basedir regex = /home [etc] path = /etc ; uncomment this if the directory exists ; [WWW_testPi] ' path = /var/www/html [nodered] path = /home/pi/.node-red ; [My AFP Volume] ; path = /path/to/volume ; [My Time Machine Volume] ; path = /path/to/backup ; time machine = yes [$h] path = /home/pi home name = $h
save (ctrl-x and reply with 'y') and then restart the netatalk service with:
sudo systemctl restart netatalk
If you open a Finder window on your Mac, in the 'locations' section of the sidebar, Click on 'Networks' and you should see the Pi. Sign into it and you should see the home directory and node-red directory and you can add/delete/edit the Pi's files directly on your Mac.
I hope this proves as useful to others as it has for me.