Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 486 Bytes

File metadata and controls

19 lines (13 loc) · 486 Bytes

lethal-js

A clean framework for creating web-proxies with just 4 lines of code

Usage

Important

You need to move the contents of /lethal-js to your root folder (due to scope issues)

import { setTransport, setWisp, makeURL, getProxied } from '/lethal.mjs'

const frame = document.getElementById('frame');

setTransport('epoxy');
setWisp('wss://wisp.mercurywork.shop/wisp/');

frame.src = await getProxied(makeURL('Hello World!'));

See example.html for more.