You need
- A 64-bit Linux computer that holds your films and series, and stays on while others watch
- The internet, for the first install
- The folders where your films and series are kept
Install
Open a terminal on that computer
On a desktop, open the Terminal program. On a server without a screen, connect to it withsshas the person who is to own Nagenli. Do not usesudo: Nagenli installs for you alone and needs no administrator.You will seeA prompt with a blinking cursor, waiting for you.
Paste the line and press Enter
Copy the line, paste it into the terminal (often Ctrl + Shift + V), then press Enter.Paste this line into the terminal
curl -fsSL https://nagenli.com/install-linux.sh | shYou will seeIt says “Nagenli is running.” and shows the addresses to open it at, such as
http://192.168.1.20:8686.Choose your folders in Nagenli
On a new install the line asks where your films and series are: type each folder and press Enter, or just Enter to skip. To change them later, Settings open on the computer Nagenli runs on, athttp://localhost:8686. On a server without a screen, the line ends with a code: open Nagenli in a browser on another computer at home, go to Settings and type the code there. It is good for 10 minutes and for one browser, which may then manage Nagenli for a day. For a new code later, run this on the server:On the server
~/.local/share/nagenli/bin/nagenli -owner-codeAn ssh tunnel also works:
ssh -L 8686:127.0.0.1:8686 you@server, thenhttp://localhost:8686on your own computer.You will seeYour films and series on the screen.
Nagenli only reads your folders. It never changes, moves or deletes anything in them. The person who runs it must be allowed to read them.
Afterwards
What the line did
It put Nagenli in ~/.local/share/nagenli, after checking its fingerprint against the release, and made it start with the computer (a systemd user service). Your library and settings are kept in ~/.config/Nagenli. In its first minutes Nagenli fetches its own tested ffmpeg, the program that converts video. A recent ffmpeg of your system's own is used first, since it may use the graphics card.
Starting with the computer
Nagenli starts when you log in, and again by itself if it ever stops. If the line ended by asking you to run sudo loginctl enable-linger, run it once: then Nagenli also starts when the computer starts, before anyone logs in. On a system without systemd, the line says how to start it.
Updates
Automatic, a few times a day, and only while nobody is watching. To check by hand: in Nagenli, Settings › About › Check for updates. Running the line again also brings the newest version.
Your other devices
Phones, TVs and other computers at home open Nagenli at this computer's address on the home network, port 8686, for example http://192.168.1.20:8686. The line shows it, and so does Nagenli under Settings. If the computer has a firewall, let port 8686 in, for example with sudo ufw allow 8686.
Watching away from home
Optional. It lets a phone or TV in another home reach this computer.
Switch on Watch from anywhere
In Nagenli on this computer, open Settings › Devices and switch Watch from anywhere on.You will seeIt says setting up, then Ready. Under it is a connect code, like
K7Q-4M2-X9T.Type the code on the other device
On a TV or phone in another home, type the connect code, then the pairing code. It leads only to this computer.
In Docker instead
If you keep your services in Docker, Nagenli runs there too. Make a folder, fetch the files into it with the line below, write your film and series folders in compose.yaml, then run docker compose up -d --build. The short guide that comes with the files covers settings, updates and removal. Nagenli still updates itself, unless you turn that off in compose.yaml.
Run this in the new folder
curl -fsSL https://nagenli.com/docker/nagenli-docker.tar.gz | tar xzRemove Nagenli
Only if you want Nagenli off this computer. Paste this line in the terminal, as before. Your library and settings stay, unless you add -s -- --delete-data after sh.
Paste this line into the terminal to remove Nagenli
curl -fsSL https://nagenli.com/uninstall-linux.sh | shStuck? That is fine, it happens
It says curl is not found
Use this line instead, which needs wget: wget -qO- https://nagenli.com/install-linux.sh | sh. Or install curl first, for example with sudo apt install curl.
It says ffmpeg is missing
The ffmpeg Nagenli brings needs a recent system: Ubuntu 22.04, Debian 12 or newer. On an older one, or on Alpine, install your system's own with sudo apt install ffmpeg, sudo dnf install ffmpeg or sudo apk add ffmpeg. Then run systemctl --user restart nagenli.
Settings say they can only be changed on the server computer
That is on purpose: nobody else on the network can change Nagenli. On the server run ~/.local/share/nagenli/bin/nagenli -owner-code, then in Settings in this browser press Enter code and type it. Open Nagenli at the computer's number address, such as http://192.168.1.20:8686, not at its name.
My phone or TV cannot find this computer
Check three things: the computer is on; the phone or TV is on the same home network; and a firewall lets port 8686 in. To see whether Nagenli runs, type systemctl --user status nagenli. Its log is ~/.config/Nagenli/nagenli.log.
Nothing here helped? Send a message to the person who invited you to Nagenli. Tell them which step you are on, and add a photo of the screen (of the TV, if it is the TV that is stuck; a phone photo of a TV is fine).