{"id":20069814,"url":"https://github.com/orrc/jwt-generator-docker","last_synced_at":"2025-09-09T18:33:42.071Z","repository":{"id":141037678,"uuid":"267596446","full_name":"orrc/jwt-generator-docker","owner":"orrc","description":"A simple command-line utility to encode JSON Web Tokens (JWT).","archived":false,"fork":false,"pushed_at":"2020-06-11T11:37:44.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-07T21:02:31.906Z","etag":null,"topics":["cli-app","command-line-tool","docker-image","json-web-token","jwt"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/orrc/jwt-generator","language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/orrc.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,"zenodo":null}},"created_at":"2020-05-28T13:24:03.000Z","updated_at":"2020-06-11T11:37:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"d7b9fc7a-7f03-4cc0-9ec2-27c49a2f9c2b","html_url":"https://github.com/orrc/jwt-generator-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/orrc/jwt-generator-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orrc%2Fjwt-generator-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orrc%2Fjwt-generator-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orrc%2Fjwt-generator-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orrc%2Fjwt-generator-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orrc","download_url":"https://codeload.github.com/orrc/jwt-generator-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orrc%2Fjwt-generator-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274340921,"owners_count":25267297,"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","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cli-app","command-line-tool","docker-image","json-web-token","jwt"],"created_at":"2024-11-13T14:16:15.478Z","updated_at":"2025-09-09T18:33:42.060Z","avatar_url":"https://github.com/orrc.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jwt-generator\n\nA simple command-line utility to encode JSON Web Tokens (JWT).\n\n## Usage\nThe Docker container takes two parameters:\n- the secret used for signing the token\n- the JSON payload\n\nThe JSON payload can be provided as an argument:\n```sh\ndocker run --rm orrc/jwt-generator my-shared-secret '{\"foo\": \"bar\", \"num\": 1234}'\n```\n\nOr it can be piped in:\n```sh\necho '{\"foo\": \"bar\", \"num\": 1234}' | docker run --rm -i orrc/jwt-generator my-shared-secret\n```\n\nThe JWT is printed to stdout, followed by a newline.\n\n\n## Credits\nThis is just a convenient wrapper around a handy [Bash script][0] created by [@williamhaley][1], including some [shell magic][2] by Filipe Fortes.\n\n[0]:https://willhaley.com/blog/generate-jwt-with-bash/\n[1]:https://github.com/williamhaley\n[2]:https://fortes.com/2019/bash-script-args-and-stdin/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forrc%2Fjwt-generator-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forrc%2Fjwt-generator-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forrc%2Fjwt-generator-docker/lists"}