A Front End for stable-diffusion.cpp. Built with Electron and Node.js, I made it to be simple to interact with the stable difussion cpp cli
The binary might be detected by chrome or microsoft edge not be trusted due the lacking of a digital signature. those new changes has broken the cloudflare tunnel. and the ngrok tunnel is not working as expected. by detfault the app is sharing in the local network to use it remotly in the same network on the phone or other device.
This project hasn’t been fully tested. I ran into VRAM limitations when trying larger models, so testing was pretty limited.
I mostly developed and tested this on Windows. The first version did work on Ubuntu, but after the latest changes, I have no idea if it still works on Linux, since I haven’t tested it there again. Same goes for the build created by the GitHub Action, I haven’t tested it at all
- Node.js: v16 or higher (Tested with v22.20.0).
- stable-diffusion.cpp: Tested with version
master-418-200cb6f. - NPM: Included with Node.js.
-
Clone the repository
git clone https://github.com/yourusername/flaxeo-ui.git cd flaxeo-ui -
Install dependencies
npm install
-
Run the application
npm start
-
Clone the repository
git clone https://github.com/yourusername/flaxeo-ui.git cd flaxeo-ui -
Install dependencies
npm install
-
Run the application
node ./server.js
-
Clone the repository
git clone https://github.com/yourusername/flaxeo-ui.git cd flaxeo-ui -
Install dependencies
npm install
-
Run the application
npm run build:win
To run the application in debug mode with hot-reloading for the frontend:
npm run dev- Frontend: Vue 3, TypeScript, Tailwind CSS
- Backend: Node.js (Express) handling API requests and managing the
sd-server and sd-clisubprocess. - Core: Electron for the desktop application wrapper.
- Inference: Relies on
sd-server and sd-cli(based on stable-diffusion.cpp) for efficient local inference.
This project is a UI to stable-diffusion.cpp by @leejet.
