EpoxyTransport
EpoxyTransport is a transport for bare-mux which allows you to use epoxy-tls in your bare client, providing end-to-end encryption for your web proxy traffic.
Installation
Section titled “Installation”npm install @mercuryworkshop/epoxy-transport
Basic Usage
Section titled “Basic Usage”import { BareMuxConnection } from "@mercuryworkshop/bare-mux";
const connection = new BareMuxConnection("/baremux/worker.js");
// Set EpoxyTransport with Wisp server
await connection.setTransport("/path/to/epoxy/index.mjs", [{
wisp: "wss://wisp.mercurywork.shop/"
}]);
Alternative Usage
Section titled “Alternative Usage”You can also use the SetTransport function for simpler setups:
import { SetTransport } from "@mercuryworkshop/bare-mux";
SetTransport("EpxMod.EpoxyClient", {
wisp: "wss://wisp.mercurywork.shop/"
});
Features
Section titled “Features”- End-to-End Encryption: Full encryption using epoxy-tls
- Wisp Protocol: Efficient WebSocket multiplexing
- Lightweight: Minimal overhead compared to other transports
- Fast: Optimized for performance
Building from Source
Section titled “Building from Source”npm install
npm run build
Related Projects
Section titled “Related Projects”- bare-mux - Transport multiplexer that EpoxyTransport integrates with
- CurlTransport - Alternative transport with proxy support
- epoxy-tls - The encryption library powering EpoxyTransport
- Wisp Protocol - WebSocket multiplexing protocol
Created and maintained by Mercury Workshop.