A Saucebase template: an AI chat product with free and paid plans. The chat itself is the AI Chat module; this template adds the plans, the landing page and the look. It installs saucebase/ai-chat with auth, billing and themes.
| Address | What it does |
|---|---|
/ |
The landing page: the chat in action, features, pricing, and a way to start |
/dashboard |
Goes to the chat: after sign-in, the chat is the app |
/chat |
The chat. Its conversations, search and WebMCP are in the app sidebar, on every page |
/pricing |
The plans, from billing |
| Plan | Price | Messages a month | Images a month |
|---|---|---|---|
| Free | €0 | 50 | 5 |
| Pro | €12 a month, or €120 a year | 2,000 | 100 |
The landing page quotes these plans: change database/seeders/DatabaseSeeder.php and both copies of stubs/resources/js/{vue,react}/components/landing/content.ts together.
saucebase new my-chat --template=saucebase/chatThen set an AI provider key in the admin (Settings → AI chat) or in .env. Until then, AI_CHAT_TEST_MODE=true answers with canned demos, so the app can be tried without a key. Run a queue worker for conversation titles.
This app builds the template:
- Its code is in
modules/chat. ChatServiceProvidersetsai-chat.sessionstosidebar, so the chats live in the app sidebar.- The app files it replaces are in
modules/chat/stubs:routes/web.php: the dashboard goes to the chat;routes/navigation.php: no starter-kit links;- the landing page (
resources/js/vue/pages/Index.vueandcomponents/landing/); - the header, footer, theme, logo and icons.
php artisan test --compact modules/chat/tests # feature tests
npx playwright test modules/chat/tests/e2e --project="@chat*" # browser tests
php artisan saucebase:template-capture # after editing a replaced app file
php artisan saucebase:template-capture --check # the stubs match the appSee Templates.
MIT. See LICENSE.