windows-iso-downloader/frontend
Shekhar Vaidya 5eec0351e7 feat: add curl | bash installer for Linux/macOS without Homebrew
Adds a GET /install.sh endpoint on the backend (embedded via Go's
embed package, so the script stays a real, shellcheck-able .sh file
rather than a Go string literal). Auto-detects OS/arch (including
Termux on Android via $PREFIX) and always resolves the latest GitHub
release via the /releases/latest/download/ redirect, so unlike the
winget/brew/AUR manifests it needs no per-release maintenance.

Verified end-to-end in an ephemeral Ubuntu container (both the normal
/usr/local/bin path and the Termux $PREFIX path), and locally against
a running backend instance.

Documented alongside the existing winget/Homebrew instructions in
README.md, the release notes template, the web CLI page, and the
per-product CliHandoff card.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-13 22:28:23 +05:30
..
public chore: remove product 48 (Win 8.1 Single Language) — Microsoft removed it server-side 2026-06-18 10:59:39 +05:30
src feat: add curl | bash installer for Linux/macOS without Homebrew 2026-07-13 22:28:23 +05:30
.env.example feat: initial release — Windows ISO Downloader v3 2026-04-10 20:15:46 +05:30
.gitignore feat: initial release — Windows ISO Downloader v3 2026-04-10 20:15:46 +05:30
eslint.config.js feat: initial release — Windows ISO Downloader v3 2026-04-10 20:15:46 +05:30
index.html feat(frontend): add Google Search Console verification meta tag 2026-05-12 20:51:28 +05:30
package.json feat: initial release — Windows ISO Downloader v3 2026-04-10 20:15:46 +05:30
README.md feat: initial release — Windows ISO Downloader v3 2026-04-10 20:15:46 +05:30
tsconfig.app.json feat: initial release — Windows ISO Downloader v3 2026-04-10 20:15:46 +05:30
tsconfig.json feat: initial release — Windows ISO Downloader v3 2026-04-10 20:15:46 +05:30
tsconfig.node.json feat: initial release — Windows ISO Downloader v3 2026-04-10 20:15:46 +05:30
vite.config.ts feat: initial release — Windows ISO Downloader v3 2026-04-10 20:15:46 +05:30

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...

      // Remove tseslint.configs.recommended and replace with this
      tseslint.configs.recommendedTypeChecked,
      // Alternatively, use this for stricter rules
      tseslint.configs.strictTypeChecked,
      // Optionally, add this for stylistic rules
      tseslint.configs.stylisticTypeChecked,

      // Other configs...
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])

You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:

// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...
      // Enable lint rules for React
      reactX.configs['recommended-typescript'],
      // Enable lint rules for React DOM
      reactDom.configs.recommended,
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])