Installation
Download the package from the AIPPics Desktop Server page — for macOS (Apple silicon or Intel) or Linux (x86_64). On Linux both packages install the server as a systemd service; on macOS the installer sets it up as a LaunchAgent that starts at login. Either way the server runs as your own user — never as root — so it can reach your photo folders.
macOS (.pkg)
Pick the package that matches your Mac: Apple silicon (M1 and later) or Intel (Apple menu → About This Mac). It needs macOS 13.5 or later and carries its own Node.js. The package is signed and notarized by Apple, so it opens like any other installer: double-click it and follow the steps.
The installer puts the server in /usr/local/aiudtfs and sets it up for the user who is logged in: it writes the default settings and starts a LaunchAgent (com.aisksoft.aiudtfs) that launches the server at every login. The first time, macOS asks whether node may accept incoming network connections — choose Allow, otherwise the phone cannot connect.
Check that it runs, and read its address and the recovery PIN, in Terminal:
tail -n 30 ~/.aiudtfs_state/launchd.log
If nobody was logged in during the installation, finish the setup yourself, in Terminal, as your user:
/usr/local/aiudtfs/node-runtime/bin/node /usr/local/aiudtfs/scripts/configure.mjs
Debian and Ubuntu (.deb)
The smallest download; it pulls Node.js in through apt.
sudo apt install ./aiudtfs_<version>_all.deb
Any other Linux (.tar.xz)
This archive carries its own Node.js, so nothing has to be installed first.
tar -xJf aiudtfs-<version>-linux-x64.tar.xz
cd aiudtfs
sudo ./scripts/install-linux.sh
The script asks a few questions (where to keep the server's own files, the
device name, the port, the photos folder) and offers a sensible default for
each. Add -y to accept every default without questions. It unpacks into
/opt/aiudtfs.
What you get
| Default | |
|---|---|
| Photos folder | ~/AIUDTFS_DataDir |
| Server's own files (config, password, album database, log) | ~/.aiudtfs_state |
| Port | 48651 |
| Service name | aiudtfs |
"~" is the home folder of the user the service runs as (the one who ran
sudo).
Check that it runs and read its address:
systemctl status aiudtfs
journalctl -u aiudtfs -n 30
On start the server prints the computer's network address(es), the port, the address of the admin page and whether the password is still the default.
On macOS the "service" is the LaunchAgent com.aisksoft.aiudtfs, the log is ~/.aiudtfs_state/launchd.log, and "~" is the home folder of the user who is logged in. The systemctl and journalctl commands in this section are for Linux only.
First login
A new server starts with the password changeme. Open
http://<computer-address>:48651/admin, enter it and press Unlock — the
server immediately asks for a new password (at least 8 characters, typed
twice) and will not let you go on before you choose one. The same password
is then used by the phone app and the web gallery.
The firewall
Open TCP 48651 so that other devices can reach the server, and
UDP 5353 (mDNS/Bonjour) so the AIPPics app can find it without typing
an address. For example, with ufw:
sudo ufw allow 48651/tcp
sudo ufw allow 5353/udp
On macOS no command is needed: when asked, allow node to accept incoming connections (if you chose Deny, switch it to Allow in System Settings → Network → Firewall).
Updating and removing
Install a newer package the same way as the first one: the server's own
files and your photos live outside /opt/aiudtfs and are not touched.
sudo apt remove aiudtfs # removes the program; the service stops
sudo apt purge aiudtfs # also removes the service definition
Neither command deletes your photos or the server's own folder
(~/.aiudtfs_state) — delete those by hand if you really want them gone.
On macOS, install the newer .pkg over the old one — the server restarts with the new version and keeps its settings. To remove it, run this in Terminal:
sh /usr/local/aiudtfs/scripts/uninstall-macos.sh
It stops and deletes the LaunchAgent and the program (and asks for the administrator password). It does not touch your photos or ~/.aiudtfs_state.