# xygo-admin **Repository Path**: lirnlui_admin/xygo-admin ## Basic Information - **Project Name**: xygo-admin - **Description**: 基于goframe的开源中后台管理框架 - **Primary Language**: Go - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 16 - **Created**: 2026-04-01 - **Last Updated**: 2026-04-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README


XYGo Admin

An open-source full-stack admin framework built with Vue3 + GoFrame. Includes RBAC permissions, code generation, system monitoring and more — ready to use out of the box.

English | 简体中文

Website | Demo | Join QQ Group | Gitee | GitHub

[![license](https://img.shields.io/badge/license-MIT-green.svg)](./LICENSE) [![Vue](https://img.shields.io/badge/Vue-3.x-42b883.svg)](https://vuejs.org/) [![GoFrame](https://img.shields.io/badge/GoFrame-v2-00ADD8.svg)](https://goframe.org/) [![Go](https://img.shields.io/badge/Go-1.22+-00ADD8.svg)](https://golang.org/) [![TypeScript](https://img.shields.io/badge/TypeScript-5.x-3178C6.svg)](https://www.typescriptlang.org/) [![Vite](https://img.shields.io/badge/Vite-6.x-646CFF.svg)](https://vitejs.dev/) [![Element Plus](https://img.shields.io/badge/Element_Plus-2.x-409EFF.svg)](https://element-plus.org/) [![Pinia](https://img.shields.io/badge/Pinia-2.x-F7D336.svg)](https://pinia.vuejs.org/) [![Tailwind CSS](https://img.shields.io/badge/Tailwind_CSS-3.x-06B6D4.svg)](https://tailwindcss.com/) [![Art Design Pro](https://img.shields.io/badge/Art_Design_Pro-UI-FF6B6B.svg)](https://github.com/Daymychen/art-design-pro) [![Gitee star](https://gitee.com/a751300685a/xygo-admin/badge/star.svg?theme=gvp)](https://gitee.com/a751300685a/xygo-admin/stargazers) [![Gitee fork](https://gitee.com/a751300685a/xygo-admin/badge/fork.svg?theme=gvp)](https://gitee.com/a751300685a/xygo-admin/members)

### Overview XYGo Admin is a full-stack open-source admin framework. The frontend is based on [Art Design Pro](https://github.com/Daymychen/art-design-pro) (Vue3 + TypeScript + Element Plus), and the backend is powered by [GoFrame v2](https://goframe.org/). Free for commercial use without any authorization required. ### Key Features **RBAC Permission System**: Roles, menus, buttons, data scope, and field-level permissions with visual management **Visual Code Generator**: Design table structures visually, generate full CRUD code (Go API + Controller + Logic + Vue pages) with one click, saving 80% of development time **Dual Database Support**: Compatible with both MySQL and PostgreSQL from a single codebase — switch databases by changing one config line **Frontend-Backend Separation**: Vue3 SPA + GoFrame RESTful API, deployable independently or as a single binary **Member Portal**: Built-in frontend portal with member center, registration, login, check-in, and profile management **Document Center**: Built-in Markdown documentation with category tree, full-text search, and online preview **System Monitoring**: Server status, slow query alerts, slow API alerts, operation logs, and login logs **Message Queue**: Redis-based async task queue with scheduled task management and message push **Modern UI**: Based on Art Design Pro with 6 layout modes, light/dark themes, and smooth animations **Single Binary Deploy**: Bundle frontend into Go binary — deploy with just one file + one config, no Nginx needed ### Tech Stack | Layer | Technology | |-------|-----------| | Frontend | Vue 3, TypeScript, Vite | | UI Library | Element Plus, Tailwind CSS | | State Management | Pinia | | Backend | GoFrame v2 (Go 1.22+) | | Database | MySQL 8.0+ / PostgreSQL 14+ | | Cache/Queue | Redis | | Auth | JWT (single sign-on support) | ### Preview > Live Demo: [www.xygoadmin.com](https://www.xygoadmin.com)
### Quick Access [Live Demo](https://www.xygoadmin.com) | [Gitee](https://gitee.com/a751300685a/xygo-admin) | [GitHub](https://github.com/z312193608/xygo-admin) | [📖 Documentation](https://www.xygoadmin.com/docs) ### Installation For detailed installation instructions, please refer to the **[📖 Official Documentation](https://www.xygoadmin.com/docs)**. **Default Account** | Role | Username | Password | |------|----------|----------| | Super Admin | Super | 123456 | ### Project Structure ``` xygoadmin/ ├── server/ # Backend GoFrame project │ ├── addons/ # Addon packages (*.zip) │ ├── api/ # API definitions │ ├── internal/ │ │ ├── cmd/ # Main command entry │ │ ├── cmdtools/ # Tool command logic (migrate, addon, updater) │ │ ├── controller/ # Controllers (request handling) │ │ ├── logic/ # Business logic (core code here) │ │ ├── model/ # Data models (entity/do/input) │ │ ├── dao/ # Data access (auto-generated by gf gen dao) │ │ └── service/ # Service interfaces (auto-generated by gf gen service) │ ├── cmd_tools/migrate/ # Migration SQL files │ ├── manifest/config/ # Runtime config │ ├── hack/config.yaml # CLI tool config (build/gen) │ ├── resource/ # Static assets, code gen templates │ ├── main.go # Server entry (gf run main.go) │ └── tools.go # Tools entry (go run tools.go) ├── web/ # Frontend Vue3 project │ ├── src/ │ │ ├── api/ # API request wrappers │ │ ├── views/ # Page components (backend/frontend) │ │ ├── router/ # Routes (static + dynamic loading) │ │ ├── store/ # Pinia state management │ │ └── components/ # Shared components │ └── ... ├── mysql_install.sql # MySQL init script ├── pgsql_install.sql # PostgreSQL init script └── version.json # Version info (for online updates) ``` ### Tools All tools are accessed via `go run tools.go` in the `server/` directory: | Command | Description | |---------|-------------| | `go run tools.go` | Interactive menu | | `go run tools.go migrate up` | Run database migrations | | `go run tools.go migrate status` | View migration status | | `go run tools.go migrate history` | View migration history | | `go run tools.go check-tpl` | Check template syntax | | `go run tools.go update` | Online update | | `go run tools.go addon install tenant` | Install addon | | `go run tools.go addon uninstall tenant` | Uninstall addon | ### Contact - Demo: [www.xygoadmin.com](https://www.xygoadmin.com) - GitHub: [github.com/z312193608/xygo-admin](https://github.com/z312193608/xygo-admin) - Gitee: [gitee.com/a751300685a/xygo-admin](https://gitee.com/a751300685a/xygo-admin) - QQ: 751300685 - QQ Group: [963636900](https://qm.qq.com/q/dwSdPBjkhU) ### Browser Compatibility Supports Chrome, Safari, Firefox, Edge, and other modern browsers. ### Acknowledgements Thanks to these open-source projects: - [GoFrame](https://goframe.org/) - Go web framework - [Art Design Pro](https://github.com/Daymychen/art-design-pro) - Vue3 admin template - [Vue](https://vuejs.org/) / [Element Plus](https://element-plus.org/) / [Vite](https://vitejs.dev/) / [Pinia](https://pinia.vuejs.org/) - [Tailwind CSS](https://tailwindcss.com/) / [TypeScript](https://www.typescriptlang.org/) ### License [MIT](./LICENSE) - Free for commercial use, no authorization required. ### Support If you find this project helpful, please give us a Star on [GitHub](https://github.com/z312193608/xygo-admin) or [Gitee](https://gitee.com/a751300685a/xygo-admin). It means a lot to us. ### Sponsor If XYGo Admin has been helpful to you, feel free to buy the author a coffee ☕. Your support keeps the project going!
Alipay WeChat Pay