https://github.com/uk0/wasm-websocket-upload-big-file
websocket upload big file power by wasm(rust)
https://github.com/uk0/wasm-websocket-upload-big-file
Last synced: 7 months ago
JSON representation
websocket upload big file power by wasm(rust)
- Host: GitHub
- URL: https://github.com/uk0/wasm-websocket-upload-big-file
- Owner: uk0
- Created: 2023-12-18T05:44:05.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-18T06:06:04.000Z (over 2 years ago)
- Last Synced: 2025-02-24T16:14:33.118Z (over 1 year ago)
- Language: Rust
- Size: 37.6 MB
- Stars: 7
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### wasm-websocket-upload-big-file
websocket upload big file power by wasm(rust)
#### example
* 1.websocket 上传文件(wasm)
* 2.大文件切片md5计算(wasm)。
#### quick
```bash
./build.sh
Finished release [optimized] target(s) in 0.55s
[INFO]: ⬇️ Installing wasm-bindgen...
[INFO]: Optimizing wasm binaries with `wasm-opt`...
[INFO]: Optional fields missing from Cargo.toml: 'description', 'repository', and 'license'. These are not necessary, but recommended
[INFO]: ✨ Done in 0.86s
cd pkg && python server.py
```
