SnaKey - A lightweight License Key Server
Ever needed a License Server but don't wanna deal with finding the right tool for you? Or maybe you need a template you can extend to your needs? A lightweight, self-hosted license key server built with FastAPI and SQLAlchemy. It generates license keys, hashes them for storage, and validates them on request. By default, it persists the license keys to SQLite, but if you need to scale, you can pick PostgreSQL. Or since you have the source code, switch to any database supported by SQLAlchemy!
Current supported functions:
- Generate new keys
- Verify them
- Revoke old keys or per demand
- Reactivate keys
Screenshot