[Open-source] An independent system for generating, distributing, verifying, and managing authorization codes for software systems
![[Open-source] An independent system for generating, distributing, verifying, and managing authorization codes for software systems](https://yy123.ink/api/img/1796364924895-dsra9h.png)
1. Project Overview
Software Authorization Management System
Software Authorization Management System is a Complete Software Commercialization Solution, Integrating Software Authorization Management, User Self-Service, and Commercial Operation Capabilities. Supports B2B Enterprise Clients and B2C Individual Users' Dual-Track Operation Mode, Providing Digitalized Services from Registration Purchase to Authorization Activation. Adopting Online/Offline Hybrid Authorization Mode, Combining Hardware Binding and RSA Digital Signature to Ensure Security.
Meanwhile SupportsAny Development Language、Any Type of Software ProductThrough StandardizationHTTP APIandCross-Platform Client SDK Quick Integration of Authorization Capability。
2. Open Source License
Licensed under GPL-3.0
3. Screenshots
System Interface
Login Interface
Management Dashboard
Customer Management
License Management
4. Feature Overview
Software Authorization Management System is an Independent Software Authorization Management System, Providing Authorization Code Generation, Distribution, Verification, and Management Services for Software Systems. Supports Online and Offline Two Authorization Modes, Based on Hardware Binding Authorization Mechanism to Ensure Security.
Client Management Module Provides Complete Client Information Management Functions, Including Client Information Addition, Deletion, Modification, Query, Status Management, Authorization Association, etc.
User End Self-Service
Platform Provides Complete User End Self-Service, SupportingB2B+B2C Dual-Track Operation:
B2B Enterprise Client Service
- Enterprise User Registration
Supports Mobile Phone Registration, Enterprise Administrators Can Manage Member Accounts - Product Package Purchase
Provides Trial Version, Basic Version, Professional Version Three Types of Packages, Supports Batch License Purchase - Authorization Code Management
Online Purchase of Authorization Code, Supports Offline Activation and Authorization Code Sharing - Device Management
Enterprise Users Can View and Manage All Activated Devices, Supports Device Disassociation - Order Management
Complete Order History Inquiry and Status Tracking
B2C Personal Customer Service
- Personal User Registration
Quick Phone Number Registration, Simplified Personal Account Management - Flexible Purchase
Supports Single or Small Quantity License Purchase, Meets Personal User Needs - Convenient Activation
Supports Online Activation and Offline Activation Two Modes - Device Monitoring
Personal Users Can Real-time View Device Status and Usage Situation
Unified Payment Experience
- Alipay Integration
Supports Alipay Scan Payment, Secure and Reliable Payment Experience - Payment Status Tracking
Real-time Payment Status Inquiry and Callback Notification - Multi-environment Support
Sandbox Environment Testing and Production Environment Switching
Core Function
- Customer Management
Complete Customer Information Management and Status Control - Authorization Generation
Online/Offline Authorization Mode, Supports Hardware Fingerprint Binding - Authorization Management
Real-time Status Monitoring and Authorization Life Cycle Management - Deployment Package Generation
Automatically Generates Deployment Packages Containing Configuration - API Services
Provides Verification, Activation, Heartbeat Monitoring, etc. RESTful API -
⚙️ System ManagementManagement User Authentication and Monitoring Dashboard -
️ Cross-platform ToolMulti-platform Hardware Information Acquisition Tool - User End Self-Service
B2B+B2C Dual-track Operation, Supports Enterprise Clients and Personal Users Self-service
5. Tech Stack
Tech Stack
- Frontend
Vue.js 3+ Combined with Modernized UI Components - Backend
Go 1.23+ Using Gin Framework, GORM, Viper Configuration, and Logrus Logging - Database
MySQL 8+ - Configuration
YAML Format Configuration File - Deployment
Docker, Single-machine Deployment or System Service
Security and Performance
- Security Features
-
JWT Authentication and Authorization Mechanism -
HMAC-SHA256 Signature Verification -
Hardware Fingerprint Binding Anti-piracy -
HTTPS Transmission Encryption -
Multi-language Error Information Support (Chinese/English/Japanese) - Performance Display
- High Concurrency
Go Native Coroutine Support, Theoretically Supports 10,000+ Concurrent Connections - Low Latency
API Average Response Time < 50ms - Memory Optimization
Go GC Optimization, Memory Occupancy < 100MB - Database connection pool
Supports Connection Reuse, Maximizes Database Performance - Reliability
-
Perfect Error Handling and Multi-language Error Information -
Structured Log Recording and Monitoring -
Automatic Database Migration -
Elegant Shutdown and Resource Cleanup
Installation and Deployment
# Clone the projectgit clone https://github.com/cedar-v/license-manager.gitcd license-manager# Local Backend Build and Run (Optional)cd backend/cmdgo build -o license-manager# Configuration (Either One)# 1) Create a Configuration File in the Current Directory (Program Prior Reads the config.yaml in the Working Directory)# cp ../configs/config.example.yaml ./config.yaml && Edit# 2) Directly Edit ../configs/config.yaml (Program Will Automatically Fall Back to Read This File)./license-manager
Docker Deployment
Using Pre-built Image (Recommended)
If You Need to Quickly Deploy and Do Not Need to Modify the Source Code, You Can Directly Use the Pre-built GitHub Container Registry Image:
Detailed Deployment Steps Please Refer to: GitHub Image Deployment Guide
Building from source code
Recommended Using Docker Compose, Development and Production Orchestration Files Are Provided:
# Development Environment (Firstly Suggest with --build)docker compose up -d --build# Production Environmentdocker compose -f docker-compose.prod.yml up -d# Verify Backend Healthcurl http://localhost:18888/health
Complete Deployment Instructions (Reverse Proxy, Health Check, Configuration Mounting, etc.) Please see README-Docker.md.
6. Source Code Repository
Open-source project address:
https://github.com/cedar-v/license-manager
Next steps


