Skip to content
GUIJam
Please leave a star!11 stars

Visual AI UI editing for Laravel and Inertia

Edit the UI of your Laravel or Inertia app by drawing on the running page. GUIJam previews AI variants from Claude Code, Codex or another AI coding CLI live, and writes the one you keep to your source.

With Laravel's @vite directive, Inertia, or any server that renders the HTML itself, Vite never sees an index.html. GUIJam still works, with live previews.

Setup#

Run npx guijam@latest init, or add guijam() first in your Vite plugins. A typical Laravel and React setup looks like this:

vite.config.ts
import react from '@vitejs/plugin-react';
import { guijam } from 'guijam/vite';
import laravel from 'laravel-vite-plugin';
import { defineConfig } from 'vite';

export default defineConfig({
  plugins: [guijam(), laravel({ input: ['resources/js/app.tsx'], refresh: true }), react()],
});

How GUIJam loads#

GUIJam loads from the script entries in build.rollupOptions.input, which laravel-vite-plugin already sets. No extra setup is needed: the toolbar appears on every page that includes your Vite entry.

The same applies to any backend that serves its own HTML and points its script tags at the Vite dev server.

Documentation