A self hosted livestreaming server.
This repository has been archived on 2021-01-16. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 
 
 
Go to file
knotteye 25cf8a37a2 Big Commit!
Seriously, this one is pretty massive. Satyr now has proper sessions in the browser (like a real website), and a lot of changes were made.

API Endpoints were changed from requiring a username and password to requiring a valid JsonWebToken, obtained from /api/login
Satyr will generate a PEM format key for JWT signing and verification on startup if it can't find one at config/jwt.pem
This file was added to .gitignore
Two new depencies: cookie-parser and jose, for reading and signing JWTs.

Refactored http.ts into mutiple functions, with a couple helper functions related to cookies and JWT decoding and verification. Socket.IO chat will also automatically log in users with a valid JWT.

Refactor api.ts to reflect new requirements from endpoints.

Minor bugfix in server.ts so we don't throw an uncaught exception when rejecting a stream with an invalid key.

Transcode options readded to default.toml. They do nothing and they are not sane defaults. Both of those things are in the todo list.
2019-12-03 19:51:14 -06:00
config Big Commit! 2019-12-03 19:51:14 -06:00
docs Fix handling of usernames with capital letters in the web page. 2019-11-10 08:27:00 -06:00
install Change systemd service description 2019-11-27 22:07:20 -06:00
site Play MPEG-DASH by default. 2019-11-10 10:29:15 -06:00
src Big Commit! 2019-12-03 19:51:14 -06:00
templates Big Commit! 2019-12-03 19:51:14 -06:00
.gitignore Big Commit! 2019-12-03 19:51:14 -06:00
CONTRIBUTORS Add contributors file 2019-11-05 17:22:52 -06:00
LICENSE Add package.json and LICENSE, name the project. 2019-09-15 12:23:09 -05:00
README.md Move readme because gitlab doesn't like it. 2019-10-20 16:40:19 -05:00
package-lock.json Big Commit! 2019-12-03 19:51:14 -06:00
package.json Big Commit! 2019-12-03 19:51:14 -06:00
tsconfig.json Changed init functions to be more consistent. 2019-09-26 14:43:24 -05:00

README.md

Satyr: A livestreaming server

System dependencies: A stable version of node>=10, mysql3 (or a compatible implementation such as MariaDB), and ffmpeg >=4.2

Build Instructions

git clone https://gitlab.com/knotteye/satyr.git
cd satyr
npm install
npm run setup
npm run build

Follow the instructions after setup runs.

Run the server

npm start