https://github.com/kaysting/websocket-file-upload
An experiment in which you can upload files over a websocket.
https://github.com/kaysting/websocket-file-upload
express express-ws nodejs websocket ws
Last synced: 2 months ago
JSON representation
An experiment in which you can upload files over a websocket.
- Host: GitHub
- URL: https://github.com/kaysting/websocket-file-upload
- Owner: kaysting
- Created: 2023-02-28T12:06:42.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-28T12:06:46.000Z (over 3 years ago)
- Last Synced: 2025-08-10T03:44:54.104Z (11 months ago)
- Topics: express, express-ws, nodejs, websocket, ws
- Language: JavaScript
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Websocket File Upload Test
This repository contains an experiment in which you can upload files over a websocket. I made this mostly to satisfy my own curiosity, but there may be circumstances where this is superior to normal chunked file uploads over HTTP. I would imagine that things would slow down once SSL is introduced (`wss` as opposed to just `ws`).
To try it out:
* Clone the repository
* Run `npm install`
* Start the server with `node server.js`
* Open [localhost:8080]