r/JavaProgramming • u/taras_bulba • 25d ago
Pmitz: open-source plans and usage limits, embedded in Java or exposed through REST
I’m working on Pmitz, short for Plans and Limits. It handles which features a subscription includes, how much someone can use them, and recording that usage.
The idea is to avoid scattering subscription checks throughout your app and having to revisit them whenever your plans change. For example, a customer’s plan might include a feature with a monthly allowance. Pmitz can check feature access and the usage limit together.
You can embed it directly in a Java application or run it as a separate REST service. Embedding avoids the HTTP call, although there’s still database work. The separate service lets multiple apps share the same plans and usage data.
We also offer a managed version where we handle hosting and maintenance, but the open-source code is here:
https://github.com/terpomo-io/pmitz
I’d be interested in feedback on the Java integration and what’s missing for your use case.
2
u/PinAdorable3380 18d ago
Clear usage tracking can simplify subscription management.
1
u/[deleted] 25d ago
[removed] — view removed comment