Tomatic
Openrouter based AI Chat Interface.Goals
- Frontend-only (statically hosted)
- All AI models via Openrouter
- UI Very close to the LLM API interface. No hidden system prompts.
- Space efficient UI, high information density
Getting Started
You can set up your development environment in two ways. We recommend using Nix for a fully reproducible setup, but a standard Node.js environment works perfectly well.
Recommended Setup (with Nix)
This approach uses a Nix flake to create a consistent development environment. It automatically provides the correct versions of Node.js, pnpm, and other system-level dependencies like browser drivers for tests.
Prerequisites:
Steps:
-
Enter the development shell. If you have
direnvinstalled,cdinto the project directory and rundirenv allow. Otherwise, activate it manually:The shell hook automatically runs
pnpm installon entry. -
Run the development server.
The app will be running at http://localhost:5173.
Alternative Setup (with pnpm)
This is a standard setup for a Vite React project. You will need to manage your own Node.js installation.
Prerequisites:
Steps:
-
Install project dependencies.
-
Install Playwright browsers. Our end-to-end tests use Playwright, which requires separate browser binaries.
pnpm exec playwright install -
Run the development server.
The app will be running at http://localhost:5173.