Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rainnny7/licenseserver
A simple open-source licensing server for your products.
https://github.com/rainnny7/licenseserver
licenses licenseserver springboot
Last synced: about 1 month ago
JSON representation
A simple open-source licensing server for your products.
- Host: GitHub
- URL: https://github.com/rainnny7/licenseserver
- Owner: Rainnny7
- Created: 2023-06-01T04:52:57.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-12-03T01:40:28.000Z (about 1 year ago)
- Last Synced: 2023-12-03T10:24:38.522Z (about 1 year ago)
- Topics: licenses, licenseserver, springboot
- Language: Java
- Homepage: https://git.rainnny.club/Rainnny/LicenseServer
- Size: 206 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Discord](https://discord.com/api/guilds/827863713855176755/widget.png)](https://discord.gg/p9gzFE2bc6)
![Wakatime Hours](https://wakatime.rainnny.club/api/badge/Rainnny/interval:any/project:LicenseServer)
[![Download](https://img.shields.io/badge/Download-Releases-darkgreen.svg)](https://git.rainnny.club/Rainnny/LicenseServer/releases)# LicenseServer
A simple open-source licensing server for your products.## Discord Preview
![License Global Log](https://cdn.rainnny.club/SagsCD0I.png)
![License Owner Log](https://cdn.rainnny.club/JZdFxTCy.png)
![License Owner Lookup](https://cdn.rainnny.club/EU0g1iLZ.png)## API Reference
### Check License
```http
POST /check
```#### Body
| Key | Type | Description |
|:----------|:---------|:----------------------------------------------------------------|
| `key` | `string` | **Required**. Your base64 encrypted license key |
| `product` | `string` | **Required**. The product the license is for |
| `hwid` | `string` | **Required**. The base64 encrypted hardware id of the requester |#### Response
##### Error
```json
{
"error": "Error message"
}
```##### Success
```json
{
"description": "Testing",
"ownerSnowflake": 504147739131641857,
"ownerName": "Braydon#2712",
"expires": "2023-06-02T06:00:47.270+00:00"
}
```## Deployment
### Docker
```bash
docker run -d -p 7500:7500 -v "$(pwd)/data/application.yml:/usr/local/app/application.yml" git.rainnny.club/rainnny/licenseserver:latest
```### Docker Compose
```yml
version: '3'
services:
app:
image: git.rainnny.club/rainnny/licenseserver:latest
volumes:
- ./data/application.yml:/usr/local/app/application.yml
ports:
- "7500:7500"
```