The source behind http://stream.loki - minimal nginx configuration and backend code for a streaming site with streams index, thumbnails, viewcount, chat, and streamkeys.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Thomas Lynch 4d1102887f fix streams link in public .html pages 1 year ago
auth-server add README, fix a bunch of paths, reorganise, make more suitable for public 1 year ago
nginx add README, fix a bunch of paths, reorganise, make more suitable for public 1 year ago
public fix streams link in public .html pages 1 year ago
.gitignore Add viewer count script for cronjob and iframe in corner of viewcount, show 0 when offline with nginx try_files 2 years ago
LICENSE initial commit 2 years ago
README.md add README, fix a bunch of paths, reorganise, make more suitable for public 1 year ago
crontab add README, fix a bunch of paths, reorganise, make more suitable for public 1 year ago
posters.sh add README, fix a bunch of paths, reorganise, make more suitable for public 1 year ago
viewers.sh add README, fix a bunch of paths, reorganise, make more suitable for public 1 year ago

README.md

stream

The source of stream.loki (or another simple nginx-rtmp-based streaming site).

The aim is to have a simple streaming site with chat (irc iframe), view count, an index page (/streams) of all live streams, and do it with minimal backend.

This repo provides:

  • the nginx configs and static files
  • small nodejs http server for nginx to authenticate stream keys (optional)
  • some cronjobs to generate viewer counts and stream thumbnails

License

GNU AGPLv3, see LICENSE.