{"id":46765987,"url":"https://github.com/hrshadhin/license-server","last_synced_at":"2026-03-09T22:35:12.533Z","repository":{"id":74921905,"uuid":"197176348","full_name":"hrshadhin/license-server","owner":"hrshadhin","description":"A simple rest api application build using go  to manage application license key.","archived":false,"fork":false,"pushed_at":"2023-02-25T00:35:09.000Z","size":150188,"stargazers_count":19,"open_issues_count":1,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T03:51:16.237Z","etag":null,"topics":["go","golang","license-key","license-server","rest-api"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hrshadhin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-16T10:53:15.000Z","updated_at":"2024-03-02T02:13:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"24d3feb5-e498-46ff-9d53-46b9b99fed0c","html_url":"https://github.com/hrshadhin/license-server","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/hrshadhin/license-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrshadhin%2Flicense-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrshadhin%2Flicense-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrshadhin%2Flicense-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrshadhin%2Flicense-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hrshadhin","download_url":"https://codeload.github.com/hrshadhin/license-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrshadhin%2Flicense-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30314633,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T20:05:46.299Z","status":"ssl_error","status_checked_at":"2026-03-09T19:57:04.425Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","golang","license-key","license-server","rest-api"],"created_at":"2026-03-09T22:35:12.082Z","updated_at":"2026-03-09T22:35:12.527Z","avatar_url":"https://github.com/hrshadhin.png","language":"Go","readme":"# :key:License Server:key:\nA simple application for license key verification written in Golang.\n\n## Deployment\n- **Requirement**\n    - Mysql / Sqlite3 / PostgreSQL\n- **Deploy**\n    - setup your db,webserver(i.e: nginx)\n    - use repo `etc/license-server.service` file and change your needs\n    - copy `etc/license-server.service` file to `/etc/systemd/system/license-server.service` or your os \n      systemd service config directory\n    - Now enable service and start\n    ```bash\n       systemctl enable license-server.service\n       systemctl start license-server.service\n       systemctl status license-server.service\n    ```\n    - Stop the server\n    ```bash\n       systemctl stop license-server.service\n    ```\n    - use repo `etc/license-server.conf` file and change your needs\n    - copy `etc/license-server.conf` file to `/etc/nginx/site-available` or your os \n      web server vhost config directory\n    - now restart webserver ```service nginx restart```\n\n\n## Development\n\n- **Requirement**\n    - Go \u003e= 1.13\n    - Mysql / Sqlite3 / PostgreSQL\n    - dep [Dependency management for Go](https://golang.github.io/dep/)\n\n- Clone the repo\n    ```\n    git clone https://github.com/hrshadhin/license-server.git\n    cd license-server\n    ```\n- copy `.env.example` file to `.env` and change configuration according to your need.\n\n- **Install dependency** `dep ensure`\n- **Run** `go run main.go`\n- **Test** `go test -v`\n- **Build \u0026 Run**\n    ```\n    make \n    ./bin/license-server\n    ```\n\n- **:zap:N.B.:zap:**\n   By default server run on `127.0.0.1:8000` you can specify the host and port also.\n   ``` \n    ./bin/license-server -host=0.0.0.0 -port=8080\n    ./bin/license-server -host=0.0.0.0\n    ./bin/license-server -port=8080\n   ```\n\n## Cross Platform Build\n- Cross compilation is hard, and docker is help us in that way! Install docker and pull\n    docker image `docker pull karalabe/xgo-latest` and install a go package `go get github.com/karalabe/xgo`\n- For build most of the platforms binary use \n    ```\n    xgo github.com/hrshadhin/license-server\n    ```\n- Or specific platform\n    ```\n    xgo --targets=linux/amd64 github.com/hrshadhin/license-server \n    ```\n- After build is finished you should have all platforms binary in your\ncurrent directory.\n- More build details find [here](https://github.com/karalabe/xgo)\n    \n## API Docs\n[Check docs directory](docs)\n\n# :telescope: Need more help? \nSend an e-mail to H.R. Shadhin via [dev@hrshadhin.me](mailto:dev@hrshadhin.me)\n\n# License\n[MIT](https://github.com/hrshadhin/license-server/blob/master/LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrshadhin%2Flicense-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhrshadhin%2Flicense-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrshadhin%2Flicense-server/lists"}