A minimal Electron application with JavaScript, Electron, and Tailwind CSS.
- Electron app with secure preload and main/renderer separation
- Uses electron-vite for fast development and builds
- Integrated Tailwind CSS for styling
- Groq SDK integration for AI chat completions
- Environment variable support via
.env - Pre-configured ESLint and Prettier for code quality
- Cross-platform build scripts (Windows, macOS, Linux)
src/main/– Electron main process codesrc/preload/– Preload scripts (secure API exposure)src/renderer/– Renderer process (UI, assets, HTML, JS)resources/– App icons and static resources.env– Environment variables (see.sample.envfor template)
npm installnpm run dev# For Windows
npm run build:win
# For macOS
npm run build:mac
# For Linux
npm run build:linuxCopy .sample.env to .env and add your Groq API key:
GROQ_API_KEY=YOUR_API_KEY- Start the app with
npm run dev. - Enter your Groq API key and prompts in the UI.
- The app uses the Groq API to generate AI completions.
npm run lint
npm run formatMIT

