HACKER Q&A
📣 eyegor

How do you deal with software licensing?


This is sort of related to DRM. Basically, an application I'm working on needs to have a licensing scheme. Generate keys for users, validate keys client side, revoke keys if needed (so obviously it would need a server component, the generation can't be done client side). I can't seem to find any product that already accomplishes this that isn't also trying to be a SaaS. For reasons I won't go into it needs to be self hosted. I'm trying to avoid handrolling a licensing scheme at all costs. Anyone aware of a "standard" product or open source project that could fulfill these requirements? What tools do you lean on to deal with software licensing?


  👤 alain_gilbert Accepted Answer ✓
I made a software that has been in prod for more than a year now (handling licenses for more than 400 customers monthly). The software is self-hosted by the users, and they need a valid license from my website to run it.

I made all the tools to generate and manage licenses for this app.

I wanted to extract the license management part out of this project, and create a new separate product out of it.

My goal was to create exactly what you are looking for: a self-hosting license management tool for personal projects...

I would be willing to talk more about it with you if you are interested.

Feel free to email me, (my email is in my profile)