For Plex on Linux · Free & open source

Your Plex library,
one keystroke away.

CLIX lets you browse and play your Plex movies, TV shows and music straight from the terminal. Type a few letters to find anything, press Enter, and it plays in mpv. No browser tab, no mouse, nothing to install but one script.

Just a demo, with a made-up library. Click it to try.

Features

Everything on your server, without leaving the terminal

CLIX is a single script. It talks to your Plex server, shows your libraries as quick, searchable lists, and hands whatever you pick to mpv, a free media player that is happy to be run from the command line.

Sign in with Plex

No token hunting. CLIX opens Plex's sign-in page, you approve it, and it remembers you. Servers friends share with you work too.

Movies, TV and music

Pick a movie, go show to season to episode, or artist to album to track. One library of a kind is picked for you.

Search as you type

Every list narrows as you type, even with letters missing: "hrbr" still finds Harbor Lights in a library of hundreds.

Counts as a real Plex play

Shows in Plex's Now Playing and in Tautulli, and saves your place and watched status so any Plex app can pick up where you left off.

Download for later

Save a movie, episode or track to your machine and play it from the Downloads menu with no network at all. Handy before a trip.

Updates itself

Pick Update in the menu or run ./clix.sh -u. The new version is downloaded and checked before it replaces the old one.

How it works

Plex has the library. mpv plays it. CLIX joins them up.

CLIX asks your Plex server what is in each library, lets you choose, then streams the file to mpv just like any other Plex app would. While it plays, CLIX keeps Plex up to date on where you are.

Your Plex server

Your own server, or one a friend shares with you. CLIX is built for your home network.

CLIX

Turns each library into a list you can search, and tells Plex what's playing.

mpv

Plays it in its own window, with the keyboard controls mpv fans already know.

↑ ↓

Move up and down a list

Enter

Pick the highlighted item

Esc

Go back one menu

a-z

Type to search any list

Ctrl C

Quit CLIX

Getting going

Nothing to configure

The first time you run CLIX it walks you through signing in. After that it opens straight to your libraries.

  1. 1

    Run the script

    One command downloads CLIX and starts it. It checks that the few tools it needs are installed and says which are missing.

  2. 2

    Sign in with Plex

    Your browser opens to Plex's sign-in page. Over SSH with no desktop? CLIX shows a short code to enter at plex.tv/link instead.

  3. 3

    Pick a server and play

    Choose your server (if you have only one, CLIX picks it), then Movies, TV Shows or Music. Switch servers any time.

Install it in one line

Paste this into a terminal. It makes a CLIX folder, downloads the script into it, makes it runnable and starts it. Your downloads are kept in that same folder.

mkdir CLIX && cd CLIX && curl -o clix.sh https://raw.githubusercontent.com/jeremehancock/CLIX/main/clix.sh && chmod +x clix.sh && ./clix.sh

CLIX needs these installed (most distros have them in their package manager):

  • curl
  • xmlstarlet
  • fzf
  • mpv
  • md5sum
  • For Linux, in any terminal you like
  • Works with your own server or one shared with you
  • Sign in with Plex, or type in a token if you prefer
  • One bash script, MIT licensed

FAQ

Questions, answered

Does it work on a Mac or Windows?

No, CLIX is for Linux only.

Can I use it away from home?

CLIX is built for your home network. Away from home, the dependable way is a VPN such as Tailscale, which puts your laptop back on your home network wherever you are.

If you're signed in with Plex and your server has remote access turned on, CLIX will also try that. But it plays the original file without shrinking it, so it needs a fast upload speed at home to play smoothly.

Can I play from a server a friend shared with me?

Yes. Shared servers show up in the server list after you sign in, and you can switch between servers from the main menu or with ./clix.sh -s.

A friend's server is reached over the internet, so it needs remote access turned on, and because CLIX plays the original file, a fast enough connection at their end.

Will the server owner see what I'm watching?

Yes, the same as with any Plex app. CLIX reports what's playing, so it appears in Plex's Now Playing and in Tautulli, and your place and watched status are saved to your Plex account.

My server has no internet. Can I still use CLIX?

Yes. Signing in needs to reach plex.tv, so instead put your server's address and a Plex token at the top of clix.sh. CLIX then skips signing in and talks to the server directly.

I used CLIX with a token before. What happens when I update?

Your token is kept, so everything works as before. The first time the new version starts, it offers once to switch you to Sign in with Plex. Say no and it won't ask again; run ./clix.sh -l whenever you change your mind.

How do I sign out?

Choose Sign Out in the main menu or run ./clix.sh -o. CLIX forgets your sign-in and server, and asks you to sign in again next time.

Support Development

CLIX is free and always will be. If it's become your favourite way to put something on, you can throw a few dollars at ongoing development, or at a bigger monitor for all those terminal windows.

Buy me a coffee