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 # 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)
``` This project can be used with NodeJS only, but if you like you can use `docker` and `docker-compose` to deploy
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
```
### 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 ```bash
docker-compose build --no-cache docker-compose build --no-cache
``` ```
### Run ## Run
```bash ```bash
docker-compose up -d docker-compose up -d
``` ```
### License ## License
MIT 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 () { $(document).ready(function () {
var trackers = [ var trackers = [
'ws://0.0.0.0:8888' 'ws://0.0.0.0:8888',
'http://0.0.0.0:8888/announce' 'http://0.0.0.0:8888/announce'
], ],
iceServers = [ iceServers = [