HUB
Sign inSign up

flowdjapp/flow-node

By flowdjapp

•Updated 1 day ago

Flow Node — the headless Flow server: browse your own music folders, at home or via Flow Remote.

Image
2

2.7K

flowdjapp/flow-node repository overview

⁠Flow Node

Flow⁠ is a file browser for DJs. It opens your own folders the way Finder or Explorer does, and renders waveform, BPM and musical key inline for every audio file. Nothing is imported, nothing is moved: the filesystem is the source of truth. Flow ships as a native app for macOS, Windows and Linux — install it and your library is right there.

Flow Node is the headless half of Flow. The native app needs a desktop. A node runs on the machine that actually holds the music — a NAS, a home server, a Raspberry Pi — and serves the same web client over your network. Mount your folders, open the address, and the library is in a browser: the same tree, the same waveforms, the same BPM and key. Nothing to install on the client, no desktop required, and the daemon keeps running whether or not anyone is looking.

Link the node to a Flow Remote⁠ account and the same library follows you out of the house: open Flow Remote⁠ from anywhere and the node answers through an outbound tunnel. No port forwarding, no dynamic DNS.

What it gives you:

  • Your files stay yours. The node reads the folders you mount. Nothing is uploaded to a service, and the image has no account of its own — it only holds a credential minted for the machine when you link it.
  • Browse and listen with no app. Open the node's address on a phone, tablet or TV browser: browse, search, play, download.
  • Listen away from home. With the account linked, the same library is reachable from Flow Remote.
  • Analysis runs on the node. BPM, musical key, waveforms and cover art are computed locally by the bundled tools, so every client sees them ready-made.
  • Read-only by design. A remote or LAN client can play and download; it cannot rename, move, delete or retag anything. Editing files stays with the native app on the machine that owns them.

⁠Quick start

docker pull flowdjapp/flow-node:latest

docker run -d --name flow --restart unless-stopped \
  -p 8841:8841 \
  -v flow-data:/data \
  -v /volume1/music:/music:ro \
  flowdjapp/flow-node:latest

Watch the log for the machine's own address:

docker logs flow
# remote: Flow is at https://192-168-1-9.local.flowdj.app:8841/

Open that address from any browser on the same network. With no password set, the read-only library is open to anyone who can reach the address — the daemon prints a capitalised warning saying exactly that at boot.

The advertised address is the machine's own network address. Behind Docker's bridge it is the container's private address, which nothing on your LAN can reach. On a NAS, give the container the host's network:

docker run -d --name flow --restart unless-stopped \
  --network host \
  -v flow-data:/data \
  -v /volume1/music:/music:ro \
  flowdjapp/flow-node:latest

The node then listens on 8841 directly, the URL in the log is the NAS's own, and -p is not needed.

⁠The library is your mounts

Every directory you mount becomes a library root named after the mount point:

MountRoot in Flow
-v /volume1/music:/music:romusic
-v /volume2/records:/records:rorecords

System mounts and file mounts are ignored, a mount nested inside another collapses into the outer one, and a root you remove stays removed across restarts.

For folders a mount cannot express (a folder inside a mount, or a library on a host that mounts nothing), use -pin or FLOW_PIN:

-e FLOW_PIN=/music/playlists
# or append to the container command: flow-node -pin /music/playlists

⁠Linking to Flow Remote

Linking is what makes the library reachable from outside your network. It happens inside the web client: open the node's address, go to Settings, and sign in with your Flow Remote account. One request stores the node's own credential, opens the outbound tunnel, and the machine appears in your account.

The account password is never stored: the node keeps a credential minted for it. The same sign-in is available as a server-rendered fallback at /link on the node's address.

⁠Configuration

VariableDefaultWhat it does
FLOW_REMOTE_LAN_PASSWORDunsetPassword for the LAN library. Unset: open read-only library (and the boot warning). Set: one field, then a 30-day sliding "remember this device" cookie.
FLOW_REMOTE_LAN_ADDR0.0.0.0:8841Listener address. The node asks for 8841 and counts upward if the port is taken — publish the port its log reports.
FLOW_REMOTE_CREDENTIAL_FILE/data/remote-node.jsonThe node credential and account session. Keep it on the volume.
FLOW_REMOTE_RELAY_ACCESSonoff keeps this machine off the relay entirely: no socket, no retries.
FLOW_REMOTE_LAN_TLS_URLhttps://flowdj.app/downloads/lan/tlsWhere the shared *.local.flowdj.app certificate is fetched. Without a certificate the LAN listener does not open; there is no plain-HTTP downgrade.
FLOW_REMOTE_LAN_TLS_DIR/data/lan-tlsWhere the certificate pair is cached (0600).
FLOW_REMOTE_LAN_INSECUREunsetDevelopment seam: serve the LAN listener over plain HTTP. Not for a real node.

/data is the machine: state.db, the pinned folders, the credential and the analysis tools. Mount a volume there — a fresh anonymous volume is a new machine on every run.

⁠What is inside

The daemon plus the web client, and the full analysis set the daemon resolves from /data/bin:

  • ffmpeg, ffprobe — metadata and media handling;
  • audiowaveform — waveform peaks;
  • aubio — BPM detection;
  • keyfinder-cli — musical key.

They are extracted from the image at boot. A newer binary dropped into /data/bin is left alone until the image's version changes.

Architectures: linux/amd64, linux/arm64.

Tag summary

Content type

Image

Digest

sha256:7449780fc…

Size

63.3 MB

Last updated

1 day ago

docker pull flowdjapp/flow-node