MCPcopy
hub / github.com/dromara/mayfly-go

github.com/dromara/mayfly-go @v1.11.5 sqlite

repository ↗ · DeepWiki ↗ · release v1.11.5 ↗
6,042 symbols 17,955 edges 990 files 2,180 documented · 36%
README

🌈Dromara mayfly-go

<a href="https://github.com/dromara/mayfly-go/raw/v1.11.5/README.md">中文介绍</a> | 
<a href="https://www.yuque.com/may-fly/mayfly-go">Documentation</a> | 
<a href="https://space.bilibili.com/484091081/channel/collectiondetail?sid=392854">Operate Video</a>

star fork github star github fork docker pulls golang vue

Preface

Web-based Unified Resource Management Platform, integrating comprehensive operation support for Linux systems (including terminal management [terminal playback, command filtering], file management, script execution, process monitoring, and cronjob settings). It also provides data operation, data synchronization, and data migration for various databases, caches, search engines, and vector databases. Combined with work order process approval functionality, it offers enterprises an all-in-one solution for operations and management.

🗄️ Supported Databases

Relational Databases

Database Status Database Status Database Status
MySQL PostgreSQL Oracle
SQL Server Dameng Gauss
SQLite ClickHouse

Non-Relational Databases

Database Status Database Status
MongoDB Redis
Elasticsearch Milvus

Development languages and major frameworks

  • frontend:typescript、vue3、element-plus
  • backend:golang、gin、gorm

Demo

http://go.mayfly.run account/password:test/test123.

Screenshots of core features

Home page

首页

Resource Manage

资源树

Resource Operation

终端操作

文件操作

文件查看

sql编辑器

选表查数据

redis操作

mongo操作

es操作

容器操作

Work order process approval

流程审批

System Management

Account

账号管理

Role

角色管理

Menu & Permission

菜单资源管理

Additional features & instructions can be found in the project documentation above.

💌 Supporting Author

If you think the project is good, or you are already using it, I hope you can go to Github to help me click ⭐ Star, which will be a great encouragement and support for me.

Extension points exported contracts — how you extend this code

Conn (Interface)
Conn 连接接口 连接池的连接必须实现 Conn 接口 [10 implementers]
server/pkg/pool/pool.go
MsgSender (Interface)
MsgSender 定义消息发送接口 [9 implementers]
server/internal/msg/msgx/msgx.go
DbDialect (Interface)
(no doc) [9 implementers]
frontend/src/views/ops/db/dialect/index.ts
RouterApi (Interface)
RouterApi 该接口的实现类注册到ioc中,则会自动将请求配置注册到路由中 [50 implementers]
server/pkg/req/router.go
Meta (Interface)
Meta 数据库元信息,如获取sql.DB、Dialect等 [7 implementers]
server/internal/db/dbm/dbi/meta.go
Session (Interface)
(no doc) [1 implementers]
frontend/src/views/ai/api.ts
ConfigItem (Interface)
ConfigItem 配置项 [5 implementers]
server/pkg/starter/config_tool.go
Dialect (Interface)
-----------------------------------元数据接口定义------------------------------------------ Dialect 数据库方言 用于生成sql、批量插入等各个数据库方言不 [7 …
server/internal/db/dbm/dbi/dialect.go

Core symbols most depended-on inside this repo

Current
called by 481
server/internal/db/dbm/sqlparser/base/lexer.go
Consume
called by 327
server/internal/db/dbm/sqlparser/base/lexer.go
IsKeyword
called by 288
server/internal/db/dbm/sqlparser/tokenizer/token.go
WithCT
called by 191
server/internal/db/dbm/dbi/column.go
Exec
called by 173
server/internal/db/application/db_sql_exec.go
newGet
called by 154
frontend/src/common/Api.ts
Join
called by 152
server/internal/db/dbm/dbi/quoter.go
Register
called by 137
server/internal/ai/tools/registry.go

Shape

Method 3,070
Function 1,806
Struct 811
Interface 184
Class 80
TypeAlias 66
FuncType 20
Enum 5

Languages

Go86%
TypeScript14%

Modules by API surface

frontend/src/components/terminal-rdp/guac/guacamole-common.js111 symbols
server/internal/milvus/api/collection.go80 symbols
server/internal/db/dbm/dbi/column.go69 symbols
server/internal/milvus/mvm/conn.go65 symbols
server/pkg/base/repo.go55 symbols
server/internal/machine/mcm/ansiterm/screen.go51 symbols
server/internal/es/api/es_instance.go45 symbols
server/internal/db/dbm/sqlparser/pgsql/parser_dml_test.go45 symbols
frontend/src/views/ops/db/db.ts38 symbols
server/pkg/logx/logx.go37 symbols
server/internal/machine/application/machine_file.go37 symbols
server/pkg/base/app.go36 symbols

Dependencies from manifests, versioned

filippo.io/edwards25519v1.2.0 · 1×
gitee.com/chunanyong/dmv1.8.21 · 1×
gitee.com/liuzongyang/libpqv1.10.11 · 1×
github.com/Azure/go-ntlmsspv0.1.0 · 1×
github.com/ClickHouse/ch-gov0.71.0 · 1×
github.com/Microsoft/go-winiov0.6.2 · 1×
github.com/andybalholm/brotliv1.2.0 · 1×
github.com/bahlo/generic-list-gov0.2.0 · 1×
github.com/beorn7/perksv1.0.1 · 1×
github.com/blang/semver/v4v4.0.0 · 1×
github.com/bmatcuk/doublestar/v4v4.10.0 · 1×

Datastores touched

(mongodb)Database · 1 repos
(mysql)Database · 1 repos

For agents

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

⬇ download graph artifact