Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jcbernack/node-file-stream
Lightweight file streaming server using node-express
https://github.com/jcbernack/node-file-stream
Last synced: 5 days ago
JSON representation
Lightweight file streaming server using node-express
- Host: GitHub
- URL: https://github.com/jcbernack/node-file-stream
- Owner: JcBernack
- Created: 2015-12-01T01:40:42.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-08T00:33:15.000Z (almost 9 years ago)
- Last Synced: 2023-02-26T14:06:47.011Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# node-file-stream
Launches an express web server capable of streaming large files. This enables clients to pause and resume downloads or open urls directly in compatible media players, e.g. VLC. Also provides an optional barebones directory listing.
## SSL Certificate
The server needs an SSL certificate to run. On windows you can do the following:
- Download openssl binaries and place them into the `openssl` subfolder: https://indy.fulgan.com/SSL/
- Execute `openssl/GenerateCertificate.bat` and move the generated files `key.pem` and `cert.pem` to the parent folder.## Installation
- Execute `npm install`
- Modify `config.js` as needed
- Add users using `node addUser.js username password`
- Start with `npm start`## ololo protocol handler
This is for windows only.
- Modify paths in `protocol/register.reg` as needed
- Execute `register.reg`
- Modify `protocol/config.json` as needed
- (To remove it again execute `unregister.reg`)