https://github.com/waridrox/p2p-file-share
https://github.com/waridrox/p2p-file-share
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/waridrox/p2p-file-share
- Owner: waridrox
- Created: 2022-07-08T22:56:21.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-09T06:19:00.000Z (almost 4 years ago)
- Last Synced: 2025-02-23T00:13:43.746Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://p2p-file-share.herokuapp.com
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PeerShare
PeerShare is a file sharing app that allows users to transfer files between multiple devices. It uses torrent based web technologies and runs in the web browser. It supports instant file sharing with multiple devices at once.
PeerShare uses WebTorrent to transfer files between multiple devices, and WebSockets to create temporary rooms. Files shared via WebTorrent are peer-to-peer(as they use WebRTC internally) which means there is direct transfer between the sender and receiver without any intermediate server.
## Features
- No signup required.
- Supports one to many transfers.
- Works on almost all browsers that support WebRTC protocol.
- Cross platform and responsive.
- Easy to use, no app installation or dependency required.
## Comparision with


## Try it live!
- Head over to the website [here](https://p2p-file-share.herokuapp.com/).
- A random string will get appended to the above URL.
- Share the link of the page to the other peer over the same network.
- A connection will be established once the other peer opens the link.
- Start sharing files!
## Tech Stack
**Server:** Node, Express, SocketIO, WebTorrent
**Client:** HTML, CSS, JS, ejs
## References
- https://webtorrent.io/faq
- https://www.researchgate.net/figure/Total-number-of-packets-for-1MB-file-transfer_fig2_336175322
- https://stackoverflow.com/questions/44434604/how-does-utorrent-choose-between-tcp-and-utp
- https://news.ycombinator.com/item?id=8317441
- https://feross.org/libtorrent-webtorrent/
## License
[MIT](https://choosealicense.com/licenses/mit/)