# hinsight-core **Repository Path**: qiaolq/hinsight-core ## Basic Information - **Project Name**: hinsight-core - **Description**: HInsight Core 是一个基于 Grafana 派生的开源可观测平台,当前重点是将前端从 React 迁移到 Vue,并尽量保持与 Grafana 兼容的行为和用户体验。 - **Primary Language**: Unknown - **License**: AGPL-3.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-05-10 - **Last Updated**: 2026-05-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # HInsight HInsight is an open-source project derived from Grafana. Its current focus is migrating the Grafana frontend from React to Vue while keeping user behavior, features, styling, themes, i18n, and accessibility as close to 1:1 with the original implementation as possible. This is not an official Grafana Labs project and does not represent Grafana Labs. Grafana is a trademark of Grafana Labs. Grafana-related names, paths, and source files are retained where they are needed to describe upstream origin, preserve historical structure, or support migration parity work. [中文说明](#中文说明) ## Disclaimer This project is currently provided for testing, learning, and research purposes only. It is under active migration and development, and it is not guaranteed to be stable, complete, secure, or suitable for production use. Use this project at your own risk. The maintainers and contributors do not provide any warranty, express or implied, including but not limited to warranties of merchantability, fitness for a particular purpose, availability, data integrity, or production reliability. The maintainers and contributors are not responsible for any direct or indirect loss, damage, service interruption, data loss, security incident, compliance issue, or other consequence arising from production deployment or any other use of this project. Before using this project in any production, commercial, or regulated environment, you should perform your own technical review, security assessment, compliance review, and legal review. ## Current Status - The default production build entry is Vue Host: `yarn build` - The default development entry is Vue Host: `yarn start` - Vue business implementation lives under `webrs/app/` - `public/app/**` is retained as the React reference baseline and is not the default Vue Host compile, bundle, or runtime entry - `packages/hjqy-app-vue/` mainly carries the Vue app build shell and artifacts - `packages/hjqy-ui/src/vue/` carries Vue UI components Migration details are documented in [MIGRATION.md](MIGRATION.md). Contribution rules are documented in [CONTRIBUTING.md](CONTRIBUTING.md) and [AGENTS.md](AGENTS.md). HInsight has been developed with substantial assistance from Codex, primarily using GPT-5.2. See [ACKNOWLEDGEMENTS.md](ACKNOWLEDGEMENTS.md). ## Repository Layout | Path | Purpose | | --------------------------- | ---------------------------------------------------------------------------- | | `webrs/app/` | Vue Mirror business implementation and the default production/dev app source | | `public/app/` | React reference source used for 1:1 migration parity | | `packages/hjqy-ui/src/vue/` | Vue UI components | | `packages/hjqy-app-vue/` | Vue app build shell and artifacts | | `packages/` | Frontend workspace packages | | `apps/` | Grafana/HInsight app-platform backend application modules | | `docs/migration-vue/` | Migration design notes, verification records, and audit material | | `scripts/webpack/` | Vue Host development and production webpack configuration | | `conf/` | Default and sample configuration | ## Requirements - Node.js: `>=22 <25`, Node 22.x is recommended - Yarn: `4.11.0`, pinned through `.yarn/releases/yarn-4.11.0.cjs` - Go: follow the version declared in `go.mod` If your machine has multiple Node versions, switch first: ```bash nvm use 22.12.0 ``` ## Quick Start Install dependencies: ```bash yarn install ``` Start the development server: ```bash yarn start ``` Default URL: ```text http://localhost:3001/ ``` Build the Vue app: ```bash yarn x:app-vue:build ``` Run the production build: ```bash yarn build ``` ## Migration Guards Run at least the following during normal development: ```bash yarn x:guard:dsc:hard yarn x:app-vue:build ``` Quick verification: ```bash yarn x:verify:dsc:quick ``` Full verification: ```bash yarn x:verify:dsc:full ``` Core constraints: - Vue Host and Mirror code must not import `react`, `react-dom`, or React runtime mounting mechanisms - Runtime logic under `public/app/**` must not be changed by default - Do not add local stubs or new `*.d.ts` files - Do not commit empty Vue SFC shells under Mirror - Vue styles must not use `