Pleb is a very simple local-network oriented video streaming site. All you have to do is throw an MP4 or other compatible video file into a specified directory, and it will show up in a list of streamable videos in the browser interface. That's it. No fancy client. No fancy database. Nothing. Just stick a file in a directory and watch it in your browser.
It even looks nice on phones, although your mileage may vary in Chrome due to WebKit, and by extension Blink, being a buggy flaming garbage fire, especially when it comes to flexbox. This particular screenshot was taken in Brave, so it seems to be working for now at least.
- ffmpeg and ffprobe
- Used for generating thumbnails. If these aren't found, thumbnails won't work, but everything should still function fine.
To install for simple command-line usage, use
go get -u -v github.com/DeedleFake/pleb/cmd/pleb
For Docker, a container is provided as deedlefake/pleb
:
docker run -it --rm -v "/srv/videos:/videos:ro" -p 8080:8080 deedlefake/pleb
To use, simply point pleb at a directory that has videos in it:
pleb -videos /srv/videos
By default, pleb serves to port 8080
, so open http://localhost:8080 in your browser.
Video titles are pulled directly from the filenames by simply stripping the extension, so name the file something that's descriptive. Times, which can be used for sorting, are simply the modification time of the video file.