https://github.com/ayushbobale/tunnel-tester
A testing platform for the @ayushbobale/tunnel-io & @ayushbobale/tunnel-react libraries
https://github.com/ayushbobale/tunnel-tester
Last synced: 3 months ago
JSON representation
A testing platform for the @ayushbobale/tunnel-io & @ayushbobale/tunnel-react libraries
- Host: GitHub
- URL: https://github.com/ayushbobale/tunnel-tester
- Owner: AyushBobale
- Created: 2024-06-23T07:00:04.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-06-30T15:00:39.000Z (11 months ago)
- Last Synced: 2025-01-13T03:45:07.825Z (4 months ago)
- Language: TypeScript
- Homepage: https://tunnel-tester.vercel.app
- Size: 70.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Basic of usage TunnelIO for end users
Hosted at [tunnel-tester.vercel.app](https://tunnel-tester.vercel.app/)
I will be adding proper documentation for code usage of both the base JS package as well as the React Hook wrapper and API as wellA testing for [@ayushbobale/tunnel-io](https://www.npmjs.com/package/@ayushbobale/tunnel-io) and [@ayushbobale/tunnel-react](https://www.npmjs.com/package/@ayushbobale/tunnel-react) packages
**Creation Date:** Jun 30, 2024
**Created By:** Ayush Bobale
[View most recent version on Tango.us](https://app.tango.us/app/workflow/15e74193-77c1-4a53-bd1a-34fd2475495b?utm_source=markdown&utm_medium=markdown&utm_campaign=workflow%20export%20links)---
### 1. For Peer A check Is Initiator

### 2. Copy Peer A's local description [can copy the JSON from below as well]
This the SDP offer of Peer A

### 3. Now Open Peer B into a new tab or a new computer
Paste the copied local description into the input beside Set Peer button

### 4. Click on Set Peer after pasting the local description of the Peer A

### 5. Click on Copy localDescription
This creates the SDP answer to the offer of Peer A

### 6. Paste the copied offer into the Peer A's peer text input

### 7. Click on Set Peer to complete the connection

### 8. Test by sending a message from Peer A to Peer B and vice versa

### 9. Type "b"

### 10. A bootleg file transfer has been implemented although it simultaneously bi-directional file transfer is not tested
Due to the limitation in Firefox Browser for [showsavefilepicker](https://developer.mozilla.org/en-US/docs/Web/API/Window/showSaveFilePicker) API all downloads are in-memory so larger files are not ideal to send

### 11. Click on Send File

### 12. File transfer progress is shown on both ends with send progress for sender and receive progress for receiver

---