cmyflix/README.md
2022-07-04 23:56:35 +02:00

2.8 KiB

cmyflix

A Netflix clone, now in C!

cmyflix is also a complete rewrite of my original Myflix using C, so it's about 30x faster than the original whilst keeping almost all functionality.

cmyflix tries to be a somewhat simple and lightweight "DIY Netflix", similar to Plex, streama or Emby, for your NAS, especially aimed at the Raspberry Pi/Odroid/etc ecosystem. It's not meant or designed to be fancy (if you have the hardware and want a ton of functionality, go for other solutions :) ), but the bare minimum to be somewhat pretty, fast and usable. The program create json databases that store the files location and metadata, these databases are then used to create static web pages that can be served from any web server!

Big props to the following libraries: cwalk, cjson.
If you want to password protect your cmyflix files, you might want to look at this!

Do you like my work? Feel free to donate :)
donation

Sreenshots:

TV shows page TV shows

TV show season/episode modal TV show episodes

TV show episode player TV show episode player

Movies page Movies

Movies player Movies player

How to compile:

Simply compile by running make, the required libraries are (in Ubuntu) libbsd-dev libcjson-dev libcurl4-openssl-dev.

How to install:

Either install from source with make install OR use a pre-compiled package from the release tab.

Beware, the pre-compiled deb file is built using the default libcurl4-openssl-dev backend.

Requirements to run:

cmyflix uses libcjson(>=1.7.15), libcurl(>=7.68), imagemagick, ffmpeg and a TMDB api key.

Configuration & usage:

For starters, cmyflix looks for cmyflix.cfg first in the same folder as the binary, then in $HOME/.config/cmyflix/ and lastly in /etc/cmyflix/. Same thing applies for folder html and its contents.

For more options and information, look in the configuration file or see the help menu, which can be invoked by passing --help.