-fast browser-to-browser transfers powered by WebTorrent & React
| True P2P transfers | Files travel directly between peers via WebRTC — never stored on a server. |
| Share & Download panels | Drag-and-drop to seed files, or paste any magnet link to fetch. |
| One-click magnet generation | Every torrent you seed returns a ready-to-share magnet URI. |
| Real-time stats | Progress %, peer count, and up/down speeds shown in clean progress bars. |
| Swiss design | Sans-serif type, strict grid layout, generous whitespace, muted-red accent #BA3C3C. |
| Zero installs / plugins | Pure JavaScript; runs in any modern browser with native WebRTC support. |
Experience the hosted build here → https://torrent-share.vercel.app/
(Open in two tabs or devices to watch the peer connection in action.)
| Layer | Library / Tool | Notes |
|---|---|---|
| Front-end UI | React 18 | Functional components + hooks |
| P2P engine | WebTorrent | Browser build, WebRTC transport |
| Bundler | Vite | Lightning-fast dev & prod builds |
| Styling | Vanilla CSS | CSS Grid + custom properties |
git clone https://github.com/your-user/torrent-share.git
cd torrent-share
npm install
npm run dev # open http://localhost:5173
Build for production:
npm run build
npm run preview # local preview of dist/
https://torrent-share.vercel.app/
-
Share a file
• Drag a file onto the “Share Files” drop-zone (or click to pick).
• Copy the generated magnet link and send it to a friend. -
Download a file
• Paste a magnet link into the “Download Files” field.
• Watch the progress bar fill, then click the file name to save.
WebTorrent requires native WebRTC. Supported on recent versions of:
- Chrome / Edge / Opera
- Firefox
- Safari
- Mobile equivalents (iOS 15+, Android 10+)
- Dark-mode CSS vars
- Selective file prioritization
- TURN fallback for symmetric NATs
- i18n support (EN, DE, FR)
Pull requests and issues are welcome!
Please run npm run lint before submitting any PR.
- Fork the repo & create your branch:
git checkout -b feature/foo - Commit your changes:
git commit -m "Add foo" - Push to the branch:
git push origin feature/foo - Open a Pull Request
MIT © 2025 shornalore