A standalone, browser-based diagnostic page for validating Xirsys TURN, signaling, WebSocket relay, and usage stats APIs.
The project is static HTML, CSS, and JavaScript. It has no build step, package dependencies, remote stylesheets, or remote font dependencies.
Use the hosted API tester at https://xirsys.com/test/api-tester.
Clone the repository and start a local static server:
git clone https://github.com/xirsys/api-tester.git
cd api-tester
python3 -m http.server 8767 --bind 127.0.0.1Open http://127.0.0.1:8767/ in your browser. Stop the server with Ctrl+C when finished.
The tester checks:
- TURN endpoint response and ICE server shape
- Signaling host and token generation
- Two-peer WebSocket relay over the
/v2/token route - Selected usage statistics reports and modes
Credentials remain in browser memory and are sent directly from the browser to the configured Xirsys API base URL. This page does not persist submitted credentials. Diagnostic output redacts the submitted secret key.
Use temporary or throwaway credentials when testing changes to the tool.
index.html— standalone interfacestyles.css— self-contained presentation with no external dependenciesapi-tester.js— API and WebSocket diagnosticsassets/— local Xirsys wordmark and favicon