Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 1.52 KB

README.md

File metadata and controls

15 lines (12 loc) · 1.52 KB

petal-cover

Petal

Welcome to Petal, an independent platform for video streaming and text chatting.

It's time for a change

Petal doesn't take a cut of your donations. Petal also doesn't force your viewers to watch ads. Petal is free-to-use, open-source, and will remain this way forever.

Petal is currently in alpha and is a proof-of-concept acting as my own website. If you would like to contribute to this project, please contact me for more information.

Technical information

  1. index.html contains a webpage with a broadcast viewer (WHIP client) + text chat (WebSockets client)
  2. server.js contains a web server implemented with Bun.serve()
  3. You must run your own WHEP server (ex. MediaMTX) and WHEP client (ex. OBS 30.1 or later) in order to use the WHIP viewer.
  4. In addition to replying to JSON payloads over WebSockets, the server also listens for POST requests from Ko-fi. In order to verify that the requests are from Ko-fi, you need to set kofiVerificationToken in data.json.
  5. You should also consider updating the following values in data.json: broadcaster, moderators, cert, key, port, passwordSalt, hashIterations, hashBytes, hashDigest