MCPcopy Index your code
hub / github.com/1340691923/ElasticView

github.com/1340691923/ElasticView @v0.0.37

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.0.37 ↗ · + Follow
1,103 symbols 2,844 edges 256 files 246 documented · 22% updated 10mo agov0.0.37 · 2025-09-04★ 1,2448 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

英文 | 简体中文

项目文档

官网

视频教程

交流社区

重要提示

1.本项目从起步到开发到部署均有文档和详细视频教程

2.二开本项目需要您有一定的golang和vue3基础

3.您完全可以通过我们的教程和文档完成一切操作,因此我们不再提供免费的技术服务,如需服务请进行加作者付费支持

4.您可通过交流社区来进行反馈需求和bug,谢谢

1. 基本介绍

1.1 项目介绍

ElasticView是一个基于 vuegin 开发的全栈前后端分离的数据源管理插件平台,集成jwt鉴权,动态路由,动态菜单,casbin鉴权,数据源管理,插件市场等功能。

2. 主要功能

  • 权限管理:基于jwtcasbin实现的权限管理。
  • 用户管理:系统管理员分配用户权限组和权限组权限。
  • 权限组管理:创建权限控制的主要对象,可以给权限组分配不同api权限和菜单权限。
  • 数据源管理:可进行设置需要管理的数据源,已集成 elasticsearch(6,7,8),mysql,redis,clickhouse,postgres,mongodb数据源
  • 插件市场:可安装操作数据源的各种插件。

3. 二开使用说明

- node版本 >= v20.14.0
- golang版本 >= v1.23
- IDE推荐:Goland

3.1 后端工程


# 克隆项目
git clone https://github.com:1340691923/ElasticView.git

# 安装gowatch
go install github.com/silenceper/gowatch@latest

# 运行
gowatch

# 后台默认端口
0.0.0.0:8090

3.2 前端工程

# 进入web文件夹
cd resources\vue

# 安装依赖
pnpm install

# 启动web项目
npm run dev

3.3 进行打包


# 安装打包工具

go install github.com/1340691923/ElasticView/cmd/ev_builder@v0.0.22

# 执行打包命令

./ev_builder

# 生成于 resource/dist 文件夹内

3.4. 技术选型

  • 前端:用基于 VueElement 构建基础页面。
  • 后端:用 Gin 快速搭建基础API,Gin 是一个go语言编写的Web框架。
  • 数据库:使用 gorm 实现对数据库的基本操作。
  • API文档:使用Swagger构建自动化文档。
  • 配置文件:使用 viper 实现yaml格式的配置文件。
  • 日志:使用 zap 实现日志记录。

4.插件相关

4.1 官方插件

4.2 社区插件

  • 待完善

4.3 发布插件

5. 联系方式

QQ交流群:685549060

微信公众号:gh_7247127deece

微信交流群

微信

6. 捐赠

如果你觉得这个项目对你有帮助,你可以请作者喝饮料 :tropical_drink: 点我

7. 商用注意事项

如果您将此项目用于商业用途,请遵守Apache2.0协议并保留作者技术支持声明。

Extension points exported contracts — how you extend this code

BackgroundService (Interface)
BackgroundService should be implemented for services that have long running tasks in the background. [3 implementers]
pkg/registry/registry.go
EsI (Interface)
(no doc) [3 implementers]
pkg/infrastructure/es_sdk/pkg/interface.go
WalkFunc (FuncType)
WalkFunc is a callback function called for each path as a directory is walked If resolvedPath != "", then we are followi
pkg/util/filepath.go
Curd (Interface)
(no doc) [1 implementers]
pkg/model/crud.go
BackgroundServiceRegistry (Interface)
BackgroundServiceRegistry provides background services. [1 implementers]
pkg/registry/registry.go
UsageStatsProvidersRegistry (Interface)
UsageStatsProvidersRegistry provides services sharing their usage stats [1 implementers]
pkg/registry/registry.go
CanBeDisabled (Interface)
CanBeDisabled allows the services to decide if it should be started or not by itself. This is useful for services that m
pkg/registry/registry.go
ProvidesUsageStats (Interface)
ProvidesUsageStats is an interface for services that share their usage stats
pkg/registry/registry.go

Core symbols most depended-on inside this repo

Error
called by 259
pkg/my_error/my_error.go
NewResponse
called by 126
pkg/infrastructure/es_sdk/pkg/proto/response.go
StatusErr
called by 92
pkg/infrastructure/es_sdk/pkg/proto/response.go
POST
called by 64
pkg/infrastructure/web_engine/web_engine.go
Success
called by 64
pkg/response/Response.go
NewEsService
called by 38
pkg/infrastructure/es_sdk/pkg/factory/factory.go
ToEsSdkCfg
called by 38
pkg/model/es_connect.go
GetEsClientByID
called by 37
pkg/services/es/es.go

Shape

Function 477
Method 460
Struct 152
Interface 8
TypeAlias 5
FuncType 1

Languages

Go78%
TypeScript22%

Modules by API surface

pkg/infrastructure/es_sdk/pkg/v8/es.go46 symbols
pkg/infrastructure/es_sdk/pkg/v7/es.go46 symbols
pkg/infrastructure/es_sdk/pkg/v6/es.go46 symbols
pkg/infrastructure/es_sdk/pkg/interface.go44 symbols
pkg/infrastructure/web_engine/web_engine.go38 symbols
pkg/util/http.go24 symbols
resources/vue/src/utils/index.js20 symbols
pkg/services/index_service/index_service.go20 symbols
pkg/util/hash.go15 symbols
pkg/api/es_index_controller.go15 symbols
resources/vue/src/api/es-index.js14 symbols
pkg/response/Response.go14 symbols

For agents

$ claude mcp add ElasticView \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact