Skip to content

A very simple local-network oriented browser-based video streaming.

License

Notifications You must be signed in to change notification settings

DeedleFake/pleb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pleb

Docker Cloud Build Status GitHub tag (latest SemVer)

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.

Screenshot

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.

Phone Screenshot

Dependencies

ffmpeg and ffprobe
Used for generating thumbnails. If these aren't found, thumbnails won't work, but everything should still function fine.

Installation

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

Usage

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.

About

A very simple local-network oriented browser-based video streaming.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages