The official OutRay plugin for Express. Automatically creates a public tunnel when your server starts. No CLI required.
Import the plugin, call it with your app, and you're done. The tunnel starts automatically when your server listens, even on dynamic ports. No configuration required.
import express from 'express';
import outray from '@outray/express';
const app = express();
// Add OutRay middleware
outray(app);
app.get('/', (req, res) => {
res.json({ message: 'Hello World!' });
});
app.listen(3000);$ node index.js
Server running on port 3000
➜ Tunnel: https://quick-tiger.outray.app
The OutRay Express plugin works seamlessly with your favorite databases, webhooks, and APIs.