README.md
This commit is contained in:
parent
6529299cf0
commit
1e165ca886
20
README.md
20
README.md
@ -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
BIN
capture.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user