Meteor
[!WARNING] Meteor is in a very early stage of development. Mainstream site support is not guaranteed. You can see our roadmap here.
The modern interception proxy you've been waiting for.
Meteor is a web proxy powered by service workers that intercepts HTTP requests and routes them through a Wisp server using bare-mux.
Installation
Meteor is a client-side JavaScript library. You can install it in your application in one of two ways:
Build Meteor's scripts by first cloning the repository, installing packages (pnpm install
), running pnpm build
and copy the files in the dist/
folder into a meteor
folder in your application's folder.
meteorPath
is exported from the @z1g-project/meteor
NPM package, which resolves to a path in node_modules
of built Meteor scripts. You can use this however you serve static directories in your backend framework.
Express:
Fastify:
Usage
Once you have the scripts served, register your service worker and set your transport on your frontend.
More in-depth usage and configuration can be found in the Wiki.
Testing and development
Running pnpm demo
will serve a basic UI to test Meteor, along with a dev server that watches for changes in the source code and re-builds accordingly.
Last updated on