{"id":21476075,"url":"https://github.com/mehditeymorian/jwt","last_synced_at":"2025-07-15T10:31:49.894Z","repository":{"id":59045089,"uuid":"519430296","full_name":"mehditeymorian/jwt","owner":"mehditeymorian","description":"JWT CLI Decoder \u0026 Encoder","archived":false,"fork":false,"pushed_at":"2023-09-11T18:36:10.000Z","size":237,"stargazers_count":6,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-20T17:29:52.698Z","etag":null,"topics":["cli","cli-app","cryptography","go","jwt","jwt-cli","jwt-token"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mehditeymorian.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":"2022-07-30T05:45:32.000Z","updated_at":"2023-11-14T20:20:47.000Z","dependencies_parsed_at":"2024-06-20T17:26:36.605Z","dependency_job_id":null,"html_url":"https://github.com/mehditeymorian/jwt","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehditeymorian%2Fjwt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehditeymorian%2Fjwt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehditeymorian%2Fjwt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehditeymorian%2Fjwt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mehditeymorian","download_url":"https://codeload.github.com/mehditeymorian/jwt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226033271,"owners_count":17563125,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["cli","cli-app","cryptography","go","jwt","jwt-cli","jwt-token"],"created_at":"2024-11-23T10:47:08.815Z","updated_at":"2024-11-23T10:47:09.393Z","avatar_url":"https://github.com/mehditeymorian.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n\u003cimg alt=\"Koi logo\" src=\"assets/icon.png\" width=\"500px\"/\u003e\u003cbr/\u003e\nJWT CLI\n\u003c/h1\u003e\n\u003cp align=\"center\"\u003eEncode \u0026 Decode JWT Tokens\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://pkg.go.dev/github.com/mehditeymorian/jwt?tab=doc\"target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Go-1.18+-00ADD8?style=for-the-badge\u0026logo=go\" alt=\"go version\" /\u003e\n\u003c/a\u003e\u0026nbsp;\n\u003cimg src=\"https://img.shields.io/badge/license-apache_2.0-red?style=for-the-badge\u0026logo=none\" alt=\"license\" /\u003e\n\n\u003cimg src=\"https://img.shields.io/badge/Version-2.0.0-informational?style=for-the-badge\u0026logo=none\" alt=\"version\" /\u003e\n\u003c/p\u003e\n\n# Installation\n```bash\ngo install github.com/mehditeymorian/jwt/v2@latest\n```\n\nCommands are as below:\n- **config**: view, edit, and set config\n- **encode**: create standard JWT token\n- **decode**: decode a JWT token\n- **gen**: generate different keys such as rsa, hmac, ecdsa\n- \n```bash\n# run the following command to see the full details.\njwt help\n```\n\n# Configuration\nThe `JWT` use corresponding set of keys when you use different commands. For example, it will use rsa keys if you use command `jwt gen rsa`.\n```yaml\ninteractive: true\nrsa:\n  public_key: |-\n    key\n  private_key: |-\n    key\nhmac:\n  key: key\n  base64_encoded: false\necdsa:\n  public_key: |-\n    key\n  private_key: |-\n    key\n```\n\n\u003e Note: if `interactive` config set to true, the command parameters will be taken from user interactively instead of reading them from command options.\n\n\u003e use `-c` option to pass config file address.\n\n## Set Config\nThe order of reading config is as follows if config is not specified as option:\n1. `.jwt.(yaml|yml)` file in the path where the `JWT` is running.\n2. `/etc/jwt/.jwt.(yaml|yml)` file as default configuration. if config file is not present, one will be created.\n\n\n# Contribution\nAny contribution in any form is welcomed. Open an issue to discuss it.\n\n# Contact\n- [Email](mailto:mehditeymorian322@gmail.com)\n\n# License\nUnless otherwise noted, the JWT source files are distributed under the Apache Version 2.0 license found in the LICENSE file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmehditeymorian%2Fjwt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmehditeymorian%2Fjwt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmehditeymorian%2Fjwt/lists"}