A simple open-source licensing server for your products.
Go to file
2023-06-02 05:07:13 -04:00
.gitea/workflows xx 2023-05-31 02:47:21 -04:00
Example Cleanup 2023-06-02 00:32:42 -04:00
src/main Only inform license owners of new IPs and HWIDs if the license was actually used 2023-06-02 00:49:41 -04:00
.gitignore Fix .gitignore 2023-06-01 00:33:22 -04:00
Dockerfile Document Dockerfile 2023-05-31 22:32:42 -04:00
pom.xml Version bump 2023-06-02 05:07:13 -04:00
README.md Update README 2023-06-02 00:44:10 -04:00

LicenseServer

A simple open-source licensing server for your products.

Discord Preview

License Global Log License Owner Log

API Reference

Check License

POST /check

Body

Key Type Description
key string Required. Your license key
product string Required. The product the license is for
hwid string Required. The hardware id of the requester

Response

Error
{
  "error": "Error message"
}
Success
{
  "description": "Testing",
  "ownerSnowflake": 504147739131641857,
  "ownerName": "Braydon#2712",
  "expires": "2023-06-02T06:00:47.270+00:00"
}

Deployment

Docker

docker run -d -p 7500:7500 -v "$(pwd)/data/application.yml:/usr/local/app/application.yml" git.rainnny.club/rainnny/licenseserver:latest  

Docker Compose

version: '3'
services:
  app:
    image: git.rainnny.club/rainnny/licenseserver:latest
    volumes:
      - ./data/application.yml:/usr/local/app/application.yml
    ports:
      - "7500:7500"