Skip to content
javinfo

CLI

javinfo from your terminal: look up titles, stream over LAN, organize your library.

The javinfo CLI is a native Linux and macOS binary that puts the javinfo API in your terminal: quick lookups, LAN playback, and Kodi/Jellyfin libraries from files you have.

Install

One line, no Rust toolchain:

One-line installer
curl -fsSL https://javinfo.dev/install.sh | bash

The script detects OS and CPU, downloads the matching binary, verifies its checksum, installs to ~/.local/bin. Keep that on your PATH.

Prefer something else?

  • Prebuilt binaries: grab an archive from the Releases page. Linux x86_64, Linux arm64 and macOS Apple Silicon ship; macOS Intel and Windows need a source build.
  • From source: cargo install --path . (Rust 1.85+), or cargo build --release and run target/release/javinfo.

Set up your key

Get a jvi_ key from the dashboard, then:

javinfo login                    # prompts for the key
# or non-interactively:
javinfo login --api-key jvi_your_key_here
# or skip login entirely with an env var:
export JAVINFO_API_KEY=jvi_your_key_here

login also scans PATH for players (vlc, mpv, ffplay, iina, …) so open can launch one. The key lives in ~/.config/javinfo/config.toml, mode 0600.

Look up a title

movie resolves a DVD code through the provider waterfall and prints a summary:

javinfo movie EBOD-391
javinfo movie SSIS-001 --json          # full JSON response
javinfo movie CAWD-001 --providers fanza,missav   # pin providers

Play over your LAN

open starts a local re-streaming daemon and prints a play URL any device on your network can open:

javinfo open EBOD-391
javinfo open EBOD-391 --with vlc       # launch the player too
javinfo open EBOD-391 --with mpv

The URL is http://<your-lan-ip>:8787/s/<token>/EBOD-391.m3u8. The daemon fetches the stream, injects headers, caps quality (--max-height 1080 by default) and re-serves it locally. Each session has an opaque token, so codes alone can't reach the daemon. Lifecycle:

javinfo serve start                    # run in the background
javinfo serve status
javinfo serve stop

Organize your library

nfo scans a folder or file, matches each DVD code, and writes Kodi and Jellyfin sidecars (.nfo metadata, poster, fanart, thumb, trailer) next to your videos:

javinfo nfo ~/Videos/JAV --dry-run     # preview the plan, change nothing
javinfo nfo ~/Videos/JAV --write       # also create a folder and rename: SSIS-001/SSIS-001.mp4
javinfo nfo ~/Videos/SSIS-001.mkv      # single file

Nothing is renamed or moved without --write, and existing .nfo files stay put (--force refreshes them). Metadata comes from fanza,dmm; --write torrent uses javdb and drops torrent and magnet files.

Check your setup

status shows key source (masked), configured players, and whether the daemon runs:

javinfo status
javinfo status --json

Make it yours

Open source (MIT). Want a missing feature? Pull requests welcome, or fork it. Source: github.com/javinfo/cli.

Next

On this page