ColorDreamer is a magical web application that generates custom children's coloring books using AI. It creates theme-based storylines and high-quality black-and-white line art, compiling them into a downloadable PDF.
Install Dependencies
npm install
Start Dev Server
npm run dev
Open http://localhost:5173 to view the app.
The app supports multiple AI providers. You can configure them in the Settings (⚙️) menu within the app.
11434.OLLAMA_ORIGINS environment variable:
OLLAMA_ORIGINS="*" ollama serve
This project is set up as a standard Vite React app, which makes it very easy to deploy to Vercel or Netlify.
npm run builddistTo build the static files for a traditional web server:
npm run build
The output files will be in the dist folder. Upload these files to your web server (Nginx, Apache, etc.).
src/: Source code (conceptually root in this setup)components/: UI Components (ChatBot, Settings, etc.)services/: API logic for Gemini, OpenAI, etc.utils/: Helper functions (PDF generation).locales.ts: Translation strings.MIT