github ifsvivek/nocturne v0.7.5
NOCTURNE 0.7.5

52 minutes ago

NOCTURNE is now an app and a server. nocturne-server runs your library manager, downloads, requests and the Jellyfin-compatible gateway in one background service with a web dashboard, and the desktop app connects to it, on this computer or another one.

Highlights

  • nocturne-server: one headless binary and one user service with modules you switch on one by one: a library manager for movies, shows, music and books (monitoring, quality profiles, search, grab and import with naming templates), downloads with a built-in torrent engine, requests, the gateway for Jellyfin apps, sources (other Jellyfin and NOCTURNE servers), storage (local folders, SMB/NFS shares without root, remote agents), optional Cloudflare Tunnel and LAN discovery. A web dashboard on port 8100 and a CLI (nocturne-server install, status, logs, apikey, ...) manage it.
  • Downloads are off by default. NOCTURNE ships no indexers or trackers: you add your own Torznab/Newznab addresses. Imports go into a folder NOCTURNE manages or into your existing folders, and never delete or overwrite a file NOCTURNE did not import.
  • The desktop app connects to local and remote servers (Settings > NOCTURNE Servers) and shows their downloads, library, requests, storage, sources and gateway; without a server it works as before.
  • The gateway now runs inside the server, works with the Jellyfin web client and the apps built on it, merges every library of every server, serves artwork as a server does, and signs in with API keys too.
  • Settings is redesigned: a sidebar of sections with search, settings grouped in cards, and a drill-in list on narrow windows. Dialogs, menus and cards have depth, and empty pages say what to do.
  • Linux packages are split: nocturne-server alone for a headless machine, nocturne (the desktop app) depends on it.

Security

  • First-run setup over the network needs a one-time code that only the machine's owner can read; sign-in limits hold against parallel guesses; connections are capped per address; the server's state file is private; idle sessions expire after 30 days. See SECURITY.md.

Known limitations

  • The server is Linux only. Newznab (Usenet) results are found but not grabbed; there is no Usenet hand-off yet. Peer exchange cannot be turned off. One admin account. The library manager was tested with local torrents and fake indexers, not real ones.
  • The keyring stays locked until you log in, so a server started at boot reads indexer keys and server sign-ins only after login.

Added

  • nocturne-server: a headless server with independently enabled modules behind one REST + WebSocket API, first-run admin setup, session tokens and API keys, a local-admin unix socket, and a CLI (install, status, config, apikey, ...).
  • Library manager in the server: monitored movies, shows, music and books, quality profiles, user-added Torznab / Newznab indexers, automatic and interactive search, a download queue on the built-in torrent engine, import into your library folders under naming templates, failed-download handling, RSS, missing and upgrade searches, and native requests.
  • The app as a client of NOCTURNE servers: Settings > NOCTURNE Servers lists this computer's server (found by its local socket, where you are the administrator without a password) and servers added by address (sign in with a user and password or an API key; a link to the first-run setup when a server has no administrator yet), shows each one's status, version and modules, opens its dashboard, and installs, starts or stops this computer's service. A Server button in the header opens the active server's Downloads (live progress, pause, resume, retry, remove), Library (titles per kind, monitor, search now, releases with grab), Requests (approve, cancel), Storage (roots, health, free space), Sources (check, switch on or off) and Gateway (address, Quick Connect approval, API keys, signed-in devices) pages, each only while its module runs. NOCTURNE servers that a server's discovery module finds on your network are offered for adding. Tokens stay in the keyring.
  • Gateway: the Jellyfin web client, and the official phone apps that wrap it, work through the gateway: sign-in by password or Quick Connect, Home, libraries, item pages, search, favourites, playback (direct play, transcoding when the browser needs it, subtitle and audio track changes, resume), the display, home, playback and subtitle settings (kept by the gateway, never written to a server), the cast menu and sign-out.
  • Gateway: named API keys for clients that sign in with a key instead of the password; they are stored hashed, can be revoked one by one and survive a password change.
  • Server: sources (Jellyfin servers by password, Quick Connect or API key, and other NOCTURNE servers; tokens in the keyring), the gateway as a module of the server with its management in the server API, optional remote access through your installed cloudflared (a dashboard-made tunnel or a quick test address), and a scan of the local network for Jellyfin and NOCTURNE servers. On first start the server takes over the 0.7 gateway settings, devices and ids and the app's Jellyfin accounts without changing the app's own files or keyring entries.

Changed

  • Settings is a two-pane page: a sidebar of sections (General, Appearance & Themes, Home, Playback, Sources & Servers, Sync & Trakt, Requests, Gateway, Privacy & Data, Updates, About) with icons, and the selected section with its rows in rounded cards. A search field at the top of the sidebar (or /) filters rows across all sections. Tab and Shift+Tab move between sections; the arrow keys walk every row and cross into the next section. Narrow windows show the section list and drill into one section.
  • One elevation scale: raised cards and overlays (dialogs, menus, toasts, tooltips, the search panel) get soft shadows over the existing hairline outlines.
  • Empty Requests, Discover, Calendar and My themes views show an icon and a sentence instead of a bare line of text.
  • Linux packages: nocturne-server is its own package (Arch, .deb, .rpm) with only the server binary and no desktop dependencies (no mpv, Vulkan, Wayland or fonts), for headless machines; the nocturne app package depends on it. The tarball and the in-app updater ship and update nocturne-server next to nocturne.
  • Downloads: the torrent engine's settings are in [downloads], the dashboard's Settings and (DHT, LSD, UPnP) the app's Downloads page: incoming port, a network interface to bind to (a VPN lock), DHT (on), local peer discovery (now off by default), UPnP (off), speed limits and how many torrents download and seed at once.
  • Dashboard Servers page: add a server (password, Quick Connect with the code shown, API key), sign in again, check, switch on or off and remove sources, and add a server discovery found; dates read as dates, and a scan shows that it is scanning.
  • The gateway status lists every network address of the machine (and a quick tunnel's address when it exposes the gateway).
  • The remote access card suggests trusting cloudflared (trusted_proxy = "127.0.0.1" for the server and the gateway) and applies it in one click; the trusted proxy then counts only against the global connection limit.
  • Sizes read in binary units (KiB, MiB, GiB) in the app and the dashboard; the four default quality profiles have distinct names (Movies: Standard, ...).

Fixed

  • The dashboard no longer calls the routes of modules that are off (no console errors); it shows the module-off state instead. It also shows disk space again.
  • Switching off a module whose start failed (remote access without cloudflared) clears its error and tells the dashboard.
  • nocturne-server config set http.port (and the other listener keys) says the change needs a restart; --help lists agent.
  • PUT /storage/roots/{id} takes a new agent key (checked against the agent) instead of ignoring it.
  • nocturne-server agent --new-key while the server runs: the next configuration change no longer drops the agent's key (the agent then refused to start with "no agent key yet").
  • nocturne-server install on a machine without a systemd user manager no longer leaves a unit file behind, and says to run nocturne-server serve instead.
  • The header is opaque, so page text no longer shows through it while scrolling (Settings content now also starts below the header).
  • Settings rows no longer repeat their section in the label ("Home: Latest" is "Latest" under Home).
  • A stray › chevron no longer stays in the header after the window is widened so that every link fits.
  • Gateway: favourites kept in the gateway (server changes off) now show in the Favourites tab, and a watched title started again keeps its resume point.
  • Server security review: first-run setup over the network needs a one-time setup code (nocturne-server open prints the link with it), so nobody else can claim the admin account first; sign-in is limited to 5 failures per address and name in 10 minutes in the server and the gateway, also against parallel guesses; sessions unused for 30 days expire; at most 64 connections per address; the programs the server runs can be changed only on the server itself; the server's database is readable by its owner only; the gateway's web client pass-through fetches only files; the storage agent key never follows a redirect.

Don't miss a new nocturne release

NewReleases is sending notifications on new releases.