pig-mesh/pig

↥ ↥ ↥ Follow for updates An RBAC permission management system based on Spring Cloud 2025, Spring Boot 4, and OAuth2.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 17 minutes ago
Added to GitGenius on September 9th, 2026
Created on August 26th, 2019
Open Issues & Pull Requests: 279 (+0)
GitHub issues: Enabled
Number of forks: 1,098
Total Stargazers: 6,682 (+0)
Total Subscribers: 99 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 34.0 hours
Mean response time: 194.9 days
90th percentile: 868.9 days
Tracked items: 26

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Only 21% of issues opened in the past year have been closed. Three people close 85% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 5
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 555 days
Stale 30+ days: 4
Stale 90+ days: 4

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • 开发组 (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Pig is an RBAC permission management system built on Spring Cloud, Spring Boot, and OAuth2 that supports both microservice and monolithic architectures.

The system addresses enterprise application needs for centralized authentication and authorization by implementing OAuth2 through Spring Authorization Server, supporting standard flows including authorization code, password, and token refresh scenarios. It provides a gateway layer, user permission management, monitoring capabilities, code generation, and scheduled task execution. The platform offers two deployment modes: a microservice architecture coordinated through Nacos service discovery, and a single-process monolithic mode, both accessible through a unified gateway interface. Docker Compose orchestration enables rapid local environment setup with MySQL, Redis, Nacos, and application services.

Organizations should choose this tool if they need a production-ready authentication and authorization foundation for Java-based applications at enterprise scale. It suits teams building new systems who want to avoid implementing OAuth2 infrastructure from scratch, or those migrating from custom permission systems. The open-source version retains core capabilities including authentication, gateway routing, user permissions, monitoring, and code generation, while commercial extensions add multi-tenancy, data-level permissions, workflow engines, and reporting features. The project provides complete deployment and development documentation covering environment configuration, service startup, frontend setup, and both microservice and monolithic deployment patterns.

Development activity shows consistent maintenance with regular updates to core dependencies and framework versions. The project accepts community contributions through pull requests against the active development branch and maintains an issue tracker for bug reports and feature requests. Code contributions follow Spring Java Format standards, with tooling provided for automated formatting validation.