README.md

This commit is contained in:
ale 2022-10-15 11:36:58 +02:00
parent 6529299cf0
commit 1e165ca886
3 changed files with 13 additions and 9 deletions

View File

@ -1,25 +1,29 @@
# wtshare - WebTorrent Share
This project can be used with JS only, but if you like you can use `docker` and `docker-compose` to deploy
You can share files from the browser with P2P technology ([WebTorrents](https://webtorrent.io/)) without installing anything, there is no size limit
### Configuration and Recommendations
![wtshare](capture.png)
```
If you want to use this project consider using it behind a proxy, you need to set some variables in the `main.js` file to work properly
```
This project can be used with NodeJS only, but if you like you can use `docker` and `docker-compose` to deploy
### Build
## Configuration and Recommendations
- If you want to use in production consider using it behind a proxy
- You need to set some variables in the `public/js/main.js` file to work properly
## Build
```bash
docker-compose build --no-cache
```
### Run
## Run
```bash
docker-compose up -d
```
### License
## License
MIT

BIN
capture.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

@ -3,7 +3,7 @@ var downloadTorrent = function (torrent) {
}
$(document).ready(function () {
var trackers = [
'ws://0.0.0.0:8888'
'ws://0.0.0.0:8888',
'http://0.0.0.0:8888/announce'
],
iceServers = [