# Dify Batch Tester A simple web app for batch testing prompts/workflows. ## Requirements - Node.js 18+ ## Local Development 1. Install dependencies: `npm install` 2. Create local env file: `cp .env.example .env.local` 3. Update `.env.local` with your keys/values: - `GEMINI_API_KEY` - `APP_URL` 4. Start the dev server: `npm run dev` 5. Open: [http://localhost:3000](http://localhost:3000) ## Scripts - `npm run dev` - start development server - `npm run build` - build for production - `npm run preview` - preview production build - `npm run desktop:dev` - start the Tauri desktop app in development - `npm run desktop:build` - build the Tauri desktop app - `npm run lint` - run TypeScript checks ## Desktop App This project includes a Tauri v2 wrapper in `src-tauri/`. Before running the desktop app, install the Tauri system prerequisites for your OS: [Tauri prerequisites](https://v2.tauri.app/start/prerequisites/). On macOS, that includes Rust/Cargo and Xcode command line tools. After prerequisites are installed: ```bash npm install npm run desktop:dev ``` To create a desktop bundle: ```bash npm run desktop:build ```