{"id":21743977,"url":"https://github.com/telefonica/jwt-bulk-generator","last_synced_at":"2025-07-21T04:08:40.460Z","repository":{"id":66221907,"uuid":"43883124","full_name":"Telefonica/jwt-bulk-generator","owner":"Telefonica","description":"Script to generate JWT tokens and store them in a csv file","archived":false,"fork":false,"pushed_at":"2015-10-08T16:43:40.000Z","size":148,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-07-03T12:06:12.749Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Telefonica.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}},"created_at":"2015-10-08T11:09:02.000Z","updated_at":"2022-04-10T02:28:40.000Z","dependencies_parsed_at":"2023-02-20T00:30:46.678Z","dependency_job_id":null,"html_url":"https://github.com/Telefonica/jwt-bulk-generator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Telefonica/jwt-bulk-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Telefonica%2Fjwt-bulk-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Telefonica%2Fjwt-bulk-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Telefonica%2Fjwt-bulk-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Telefonica%2Fjwt-bulk-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Telefonica","download_url":"https://codeload.github.com/Telefonica/jwt-bulk-generator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Telefonica%2Fjwt-bulk-generator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266236994,"owners_count":23897308,"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":[],"created_at":"2024-11-26T07:09:37.885Z","updated_at":"2025-07-21T04:08:40.440Z","avatar_url":"https://github.com/Telefonica.png","language":"JavaScript","readme":"# jwt-bulk-generator\n\nThis is a script to generate [JWTs](http://jwt.io/) and store them in a file. Each JWT is stored in a new line within the file.\n\n## Installation\n\nPrerequisites:\n\n* Node JS 0.10.26 or higher.\n* Tools: git and npm.\n\n```sh\ngit clone https://github.com/TDAF/jwt-bulk-generator.git\ncd jwt-bulk-generator\nnpm install\n```\n\n## Running\n\n```sh\nnode lib/jwt-bulk-generator.js -n 1000 -p examples/payload.json -k examples/key.json -o jwts.csv -e 250000 --prefix \"tel:+34\"\n```\n\nScript options are the following:\n\n```sh\nOptions:\n  -n, --number       Number of JWTs to generate\n  -p, --payloadFile  File where the input token payload is stored\n  -k, --keyFile      File where the key is stored\n  -o, --outputFile   File where the generated tokens will be stored\n  -e, --expiration   Expiration for the JWTs, in seconds from now\n  --prefix           Prefix for phone numbers in jwt (e.g. tel:+34)\n                                                            [defecto: \"tel:+34\"]\n```\n\n\n## Using templates\n\nSee working examples at the examples directory. Note that the script will substitute, for each token, the appearance of ```{{{uuid}}}``` with a freshly generated uuid.v4() and ```{{{phone}}}``` with a freshly generated 9 digits-long phone number.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftelefonica%2Fjwt-bulk-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftelefonica%2Fjwt-bulk-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftelefonica%2Fjwt-bulk-generator/lists"}