How robsonsk/licenceserver works
This is a Node.js licensing and executable-update server. Clients submit UUID, API key and HWID credentials; API routes validate license status and hardware binding, then answer update checks or stream authorized releases. Operators use the Handlebars admin panel to manage licenses, releases, users, MFA and access controls. Routes own these operations and call the SQLite layer; the server initializes storage and mounts the routes. The excerpts do not show every route or file operation, so some documented capabilities are represented at subsystem level.
Main entry points: routes.js API and admin routes · db.js SQLite store · server.js HTTP server · auth.js JWT and roles
Components 15
HTTP application
- HTTP server
server.js - API and admin routes
routes.js
Client licensing
- License and HWID checks
routes.js - Update discovery
routes.js - Release download
routes.js
Administration
- License management
routes.js - Release management
routes.js - User and MFA management
routes.js - Access logs and IP controls
routes.js - Admin views
views
Persistence and security
- SQLite store
db.js - JWT and roles
auth.js - Executable files
Other components
- License client
- Operator
Connections 23
- License client → HTTP server: sends requests
README.md - Operator → HTTP server: opens panel
README.md - HTTP server → API and admin routes: mounts routes
server.js - HTTP server → SQLite store: initializes database
server.js - HTTP server → Admin views: renders pages
server.js - API and admin routes → License and HWID checks: dispatches
routes.js - API and admin routes → Update discovery: dispatches
README.md - API and admin routes → Release download: dispatches
README.md - API and admin routes → License management: dispatches
README.md - API and admin routes → Release management: dispatches
README.md - API and admin routes → User and MFA management: dispatches
README.md - API and admin routes → Access logs and IP controls: dispatches
routes.js - License and HWID checks → SQLite store: reads license
routes.js - Update discovery → SQLite store: reads releases
routes.js - Release download → SQLite store: looks up release
routes.js - Release download → Executable files: streams executable
README.md - License management → SQLite store: manages licenses
README.md - Release management → SQLite store: manages releases
routes.js - Release management → Executable files: uploads and removes
README.md - User and MFA management → SQLite store: manages users
routes.js - User and MFA management → JWT and roles: issues tokens
routes.js - Access logs and IP controls → SQLite store: records access
routes.js - API and admin routes → JWT and roles: uses token generation
routes.js