Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/furkansenharputlu/f-license
Open Source License Key Generation and Verification Tool written in Go
https://github.com/furkansenharputlu/f-license
cli cli-app cli-application cli-tool customer-management go golang hmac hmac-authentication jwt jwt-authentication jwt-token license-generator license-management license-server license-tracker rsa rsa-algorithm rsa-key-encryption verification
Last synced: 1 day ago
JSON representation
Open Source License Key Generation and Verification Tool written in Go
- Host: GitHub
- URL: https://github.com/furkansenharputlu/f-license
- Owner: furkansenharputlu
- License: apache-2.0
- Created: 2019-11-27T12:23:32.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-02-29T14:09:10.000Z (10 months ago)
- Last Synced: 2024-10-14T09:36:49.791Z (about 2 months ago)
- Topics: cli, cli-app, cli-application, cli-tool, customer-management, go, golang, hmac, hmac-authentication, jwt, jwt-authentication, jwt-token, license-generator, license-management, license-server, license-tracker, rsa, rsa-algorithm, rsa-key-encryption, verification
- Language: Go
- Homepage:
- Size: 10.6 MB
- Stars: 790
- Watchers: 17
- Forks: 73
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-github-repos - furkansenharputlu/f-license - Open Source License Key Generation and Verification Tool written in Go (Go)
- awesome-billing - `f-license` - Open-source license key generation and verification tool in Go. (Pricing / Subscription Plans)
README
# f-license
> **NOTE**: This project will be improved with lots of new features!**f-license** is an open-source license creation and verification tool. You can quickly add license key verification to your application. Don't implement yourself, just use the open-source product!
# Premium
Ready to use the premium dashboard enhancing managing your customers and their licenses, sending them emails about the status of their licenses. If so, please reach out us [here](mailto:[email protected]?subject=f-license%20Premium).# Features
- Generating license keys with one of HMAC and RSA algorithms
- Remote verification of a license key
- Local verification of a license key
- Storing licence keys in MongoDB
- Activating and inactivating customer license keys
- **f-cli** tool to manage licenses by terminalSee the latest [Documentation](https://github.com/furkansenharputlu/f-license/wiki).
# How to use
## Prerequisites
- MongoDB server
## Start f-license server
1. Create and configure `config.json` file like [sample_config.json](https://github.com/furkansenharputlu/f-license/blob/master/sample_config.json)
2. Run `go build`
3. Run `./f-license`## Embed client code to your app
If your app's language is `Go`, you need to add just one line code to your application after importing `client`.
```go
import "github.com/furkansenharputlu/f-license/client"
```### Remote verification
```go
verified, err := client.VerifyRemotely("https://localhost:4242", "trusted-server-cert", "license-key")
```### Local verification
```go
verified, err := client.VerifyLocally("secret-or-public-key", "license-key")
```If you are not using `Go`, you can easily implement their equivalent in your app's language for now. In future, we will implement for different languages.
## CLI usage
1. Run `go build -o f-cli ./cli`
2. Generate `license.json` like [sample_license.json](https://github.com/furkansenharputlu/f-license/blob/master/sample_license.json)[![asciicast](https://asciinema.org/a/324341.svg)](https://asciinema.org/a/324341)