Welcome to CyberLicense
CyberLicense is a complete, production-ready software license management system built with Node.js, Express, EJS, and MongoDB. It provides a robust solution for managing software licenses, customers, products, and integrations with payment gateways.
🎯 What is CyberLicense?
CyberLicense is a full-featured licensing backend that allows you to:
- Manage Software Licenses - Create, validate, and manage software licenses with support for multiple license types
- Control Access - Implement IP and HWID (Hardware ID) restrictions to prevent unauthorized usage
- Track Revenue - Export and track transactions (BuiltByBit integration available)
- Automate Workflows - Set up automated actions based on events (expiration, violations, etc.)
- Monitor Activity - Comprehensive audit logs and analytics to track all system activities
- Secure Access - Two-factor authentication (2FA) for admin accounts with Discord OAuth integration
🚀 Key Features
License Management
- ✅ Multiple License Types - Fixed duration, trial, consumption-based, and enterprise licenses
- ✅ IP/HWID Restrictions - Control how many devices can use each license
- ✅ Master/Child Licenses - Create parent licenses with multiple child licenses
- ✅ License Validation - Robust API for validating licenses in your applications
- ✅ Expiration Management - Automatic expiration checking and renewal workflows
Admin Dashboard
- ✅ Complete Interface - Manage licenses, products, customers, and transactions
- ✅ Real-time Notifications - Socket.IO powered in-app notifications
- ✅ Statistics & Analytics - Comprehensive dashboards with charts and metrics
- ✅ Export Reports - Export data in CSV and PDF formats
- ✅ Audit Logs - Track all administrative actions with detailed logs
Security
- ✅ 2FA Support - Two-factor authentication using TOTP (Google Authenticator, Authy)
- ✅ Discord OAuth - Secure authentication using Discord OAuth 2.0
- ✅ Rate Limiting - Configurable rate limiting to prevent abuse
- ✅ Panic Mode - Emergency feature to disable all public APIs instantly
- ✅ Session Management - Secure session handling with MongoDB storage
Integrations
- ✅ Discord Integration - Discord OAuth for authentication and bot notifications
- ✅ Payment Integration - BuiltByBit marketplace integration for automatic license creation
- ✅ BuiltByBit Integration - Support for BuiltByBit marketplace
- ✅ Webhooks - Custom webhooks for external integrations
Customer Portal
- ✅ Self-Service Dashboard - Customers can view and manage their licenses
- ✅ Usage Statistics - View license usage, IPs, HWIDs, and validation history
- ✅ Credit Management - For consumption-based licenses, track credit usage
📚 Documentation Structure
This documentation is organized into the following sections:
- FAQ - Frequently asked questions about installation, configuration, and usage
- API Reference - Complete REST API documentation with examples
🎯 Quick Start
Prerequisites
- Node.js 18 or higher
- MongoDB 4.4 or higher (local or cloud like MongoDB Atlas)
- npm or yarn package manager
Installation
-
Clone the repository (or extract the project files)
git clone <repository-url>
cd CyberLicense -
Install dependencies
npm install -
Configure the application
- Edit
config.ymlwith your MongoDB connection string - Configure Discord OAuth credentials (if using Discord authentication)
- Set up other integrations as needed
- Edit
-
Start the server
# Development mode (with auto-reload)
npm run dev
# Production mode
npm start -
Access the application
- Admin Dashboard:
http://localhost:3000/admin - Customer Portal:
http://localhost:3000/customer - API Documentation: See API Reference
- Admin Dashboard:
Configuration
All configuration is managed through config.yml. Key configuration sections:
- MongoDB - Database connection settings
- Server - Port, theme, and server settings
- Security - Rate limiting, panic mode, and security settings
- Integrations - Discord, BuiltByBit configuration
- Features - Enable/disable features like analytics, webhooks, etc.
For detailed configuration instructions, see the FAQ.
🔧 Technology Stack
- Backend: Node.js with Express.js
- Database: MongoDB with Mongoose ODM
- Authentication: Discord OAuth 2.0, JWT tokens, 2FA (TOTP)
- Real-time: Socket.IO for notifications
- Frontend: EJS templates with Bulma CSS framework
- Payment Integration: BuiltByBit marketplace integration
- Logging: Pino and Winston for structured logging
📖 Next Steps
- Read the FAQ - Get answers to common questions about setup and configuration
- Explore the API - Check out the API reference to integrate CyberLicense with your applications
- Configure Integrations - Set up Discord OAuth and BuiltByBit webhooks
- Create Your First License - Use the admin dashboard to create and manage licenses
🤝 Support
- Documentation: This documentation covers most use cases
- FAQ: Check the FAQ section for common questions
- Issues: Report bugs or request features through the issue tracker
Version: 1.0
Last Updated: 2025
Support: Discord | Documentation