An open API service indexing awesome lists of open source software.

https://github.com/brandonp2412/livepulse

Livestream videos with JavaScript + HTML
https://github.com/brandonp2412/livepulse

bun html javascript websockets

Last synced: about 2 months ago
JSON representation

Livestream videos with JavaScript + HTML

Awesome Lists containing this project

README

          

# LivePulse

This is a minimal example of how to create a LiveStream website, using:

- https://bun.sh (quickly run javascript code)
- https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API (communicate between clients)
- https://developer.mozilla.org/en-US/docs/Web/API/MediaStream (build the video stream)

![Screenshot](./screenshot-terminal.png)
![Screenshot](./screenshot-website.png)

# Getting started

To install dependencies:

```bash
bun install
```

To run:

```bash
bun run index.ts
```

This project was created using `bun init` in bun v1.1.42. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.