# alex8088/electron-vite

Next generation Electron build tooling based on Vite 新一代 Electron 开发构建工具，支持源代码保护

Repository: https://github.com/alex8088/electron-vite
Canonical: https://ross.abutalabs.com/products/electron-vite
Homepage: https://electron-vite.org
Language: TypeScript
License: MIT
License Family: permissive
Topics: electron, source-code-protection, vite, hmr, hot-reloading, node-worker, typescript-decorator, bytecode
Last push: 2026-08-18T05:10:43+00:00

## Health v2 (maintenance only)
Score: 92/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 79, longevity 100
- inputs: {"age_days": 1666, "days_push": 15, "days_rel": 143, "gap_med": 24, "n_releases_24m": 14}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5583, forks 243 (observed 2026-08-28T04:09:22.565525+00:00)

## What it is
electron-vite is a build tool and CLI for Electron apps based on Vite, providing pre-configured defaults for main, preload, and renderer processes. It offers fast HMR, hot reloading, multi-threading support, and source code protection via V8 bytecode compilation.

## Use cases
- build an electron app with vite
- hot reload electron main process during development
- protect electron app source code with v8 bytecode
- scaffold an electron project with react or vue
- set up electron multi-threading with worker threads
- debug electron app in vscode with sourcemaps

## When to choose
- you want vite-powered tooling for an electron app
- you need fast HMR and hot reloading across main, preload, and renderer
- you want to compile electron code to bytecode for source protection
- you need out-of-the-box TypeScript, Vue, React, or Svelte support in electron

## When to avoid
- you are building a plain web app without electron
- you prefer electron-forge or electron-builder's own tooling
- you need a non-vite bundler like webpack

## Facets
- artifact type: cli-tool
- maturity: active
- function: build-tool, cli, developer-tools, web-framework
- domain: developer-tools, desktop-applications, cross-platform, web-development
- platform: cross-platform, cli
- tags: electron, vite, hmr, hot-reloading, source-code-protection, v8-bytecode, typescript, desktop-development, worker-threads, nodejs, desktop

## Member repositories
- alex8088/electron-vite (main) score 92

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:22.565525+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:09:56.965819+00:00, confidence not recorded.
  - readme: https://github.com/alex8088/electron-vite (fetched 2026-08-28T04:09:22.565525+00:00, sha b160061d73e1)
  - homepage: https://electron-vite.org (fetched 2026-08-29T08:50:50.401785+00:00, sha 9396e8d542ea)
  - registry_npm: https://registry.npmjs.org/electron-vite (fetched 2026-08-29T08:50:50.410617+00:00, sha 05cca4fefcbd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
