The official OutRay plugin for Vite. Automatically creates a public tunnel when your dev server starts. No CLI required.
Whether you're building a web app with React, a real-time service with Vue, a desktop app with Svelte, or a command-line tool with SolidJS, OutRay seamlessly integrates into your stack.
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import outray from '@outray/vite';
export default defineConfig({
plugins: [
react(),
outray(),
]
});$ npm run dev
➜ Local: http://localhost:5173/
➜ Tunnel: https://abc123.outray.app
The OutRay Vite plugin seamlessly integrates with all Vite-based frameworks.