# macOS Installer Generator A beautiful, simple web app that lets anyone create custom macOS installation scripts. ## Features - 🎨 Beautiful, modern UI - 📱 Mobile-friendly - 🔍 Search functionality - 🔗 Shareable URLs with selections - 📋 Copy script to clipboard - 💾 Download generated script - ⚡ Pure static - no backend needed - 🚀 Perfect for Cloudflare Pages ## Deployment to Cloudflare Pages 1. **Create a GitHub repo** (or use existing mac_os repo) 2. **Push the `website` folder** 3. **Connect to Cloudflare Pages:** - Go to Cloudflare Dashboard > Pages - Click "Create a project" - Connect to your GitHub repo - Build settings: - Build command: (leave empty) - Build output directory: `/` or `website` - Deploy! 4. **Custom domain (optional):** - Go to Pages project > Custom domains - Add `install.due.ren` - Update DNS (Cloudflare will guide you) ## Usage Once deployed, users can: 1. Visit `install.due.ren` 2. Select the software they want 3. Click "Generate Script" 4. Copy the script or share the URL ## Example URLs ``` # Node.js + VS Code + Docker https://install.due.ren/?brew=node&cask=visual-studio-code,docker # Full dev setup https://install.due.ren/?brew=node,go,python,git&cask=visual-studio-code,iterm2,docker # Your current setup https://install.due.ren/?brew=atuin,bash,bash-completion,gemini-cli,node,ffmpeg,mas,mole,rename,ykman&cask=eloston-chromium,deepl,element,signal,nextcloud,proton-drive,proton-mail,protonvpn,codex,nova,transmit&mas=1352778147,1503970375,409203825,409201541,1503446680,1579902068 ``` ## File Structure ``` website/ ├── index.html # Complete single-page app └── README.md # This file ``` That's it! One HTML file, fully functional. ## Customization To add more software, edit the `SOFTWARE` object in `index.html`: ```javascript 'Category Name': [ { name: 'package-name', desc: 'Description', type: 'brew' }, { name: 'app-name', desc: 'Description', type: 'cask' }, { name: '123456', desc: 'App Name', type: 'mas' }, ], ``` ## Local Development Just open `index.html` in a browser. No build step needed! ```bash open index.html # or python3 -m http.server 8000 ``` ## Browser Support Works in all modern browsers: - Chrome/Edge 90+ - Firefox 88+ - Safari 14+ ## License Free to use and modify!