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
- Host: GitHub
- URL: https://github.com/brandonp2412/livepulse
- Owner: brandonp2412
- Created: 2025-02-16T22:04:16.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-16T22:28:04.000Z (over 1 year ago)
- Last Synced: 2025-02-16T23:25:11.088Z (over 1 year ago)
- Topics: bun, html, javascript, websockets
- Language: HTML
- Homepage:
- Size: 1.11 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)


# 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.