{"id":22955157,"url":"https://github.com/visus-io/cuidgen","last_synced_at":"2026-03-15T18:46:28.214Z","repository":{"id":65210178,"uuid":"586897168","full_name":"visus-io/cuidgen","owner":"visus-io","description":"command-line utility for generating collision resistant ids","archived":false,"fork":false,"pushed_at":"2024-12-10T14:11:54.000Z","size":88,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-10T15:22:22.084Z","etag":null,"topics":["cli","cli-app","csharp","cuid","cuid-generator","dotnet"],"latest_commit_sha":null,"homepage":"","language":"C#","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/visus-io.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":"2023-01-09T13:44:45.000Z","updated_at":"2024-12-10T14:12:05.000Z","dependencies_parsed_at":"2024-06-02T19:22:45.620Z","dependency_job_id":"658da63d-efb3-496e-8483-aa811f5aa59c","html_url":"https://github.com/visus-io/cuidgen","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visus-io%2Fcuidgen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visus-io%2Fcuidgen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visus-io%2Fcuidgen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visus-io%2Fcuidgen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/visus-io","download_url":"https://codeload.github.com/visus-io/cuidgen/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229726667,"owners_count":18114802,"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","csharp","cuid","cuid-generator","dotnet"],"created_at":"2024-12-14T16:28:03.613Z","updated_at":"2025-12-26T17:03:30.573Z","avatar_url":"https://github.com/visus-io.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cuidgen\n\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/visus-io/cuidgen/ci.yml?style=for-the-badge\u0026logo=github)](https://github.com/visus-io/cuidgen/actions/workflows/ci.yaml)\n[![Sonar Quality Gate](https://img.shields.io/sonar/quality_gate/visus%3Acuidgen?server=https%3A%2F%2Fsonarcloud.io\u0026style=for-the-badge\u0026logo=sonarcloud\u0026logoColor=white)](https://sonarcloud.io/summary/overall?id=visus%3Acuidgen)\n[![Sonar Coverage](https://img.shields.io/sonar/coverage/visus%3Acuidgen?server=https%3A%2F%2Fsonarcloud.io\u0026style=for-the-badge\u0026logo=sonarcloud\u0026logoColor=white)](https://sonarcloud.io/summary/overall?id=visus%3Acuidgen)\n\n[![Nuget](https://img.shields.io/nuget/v/cuidgen.tool?style=for-the-badge\u0026logo=nuget\u0026label=stable)](https://www.nuget.org/packages/cuidgen.tool)\n![Downloads](https://img.shields.io/nuget/dt/cuidgen.tool?style=for-the-badge\u0026logo=nuget)\n![GitHub](https://img.shields.io/github/license/visus-io/cuidgen?style=for-the-badge)\n\nA command-line utility based on [cuid.net](https://github.com/visus-io/cuid.net/) for generating collision-resistant ids.\nYou can read more about CUIDs from the [official project website](https://github.com/paralleldrive/cuid2).\n\n---\n\n## Installation\n\n### [.NET Tool](https://learn.microsoft.com/en-us/dotnet/core/tools/global-tools)\n\n```shell\ndotnet tool install --global cuidgen.tool\n```\n\nIf you prefer, cuidgen is also available as a portable binary for Windows, Mac and Linux for download from\nthe [Releases](https://github.com/visus-io/cuidgen/releases) page.\n\n## Usage\n\ncuidgen is designed to be as simple as possible and is perfect for usage in scripting.\n\n\u003e [!NOTE]\n\u003e cuidgen by default generates CUIDv2 values with a length of 24 characters.\n\n### Examples\n\n```shell\n# Generate a default CUIDv2 (length 24)\n$ cuidgen\nukzsdmvhjyhwb9mkguvwegbv\n\n# Generate a CUIDv2 with a custom length\n$ cuidgen -l 10\nqrlkdu9vri\n\n# Generate a CUIDv1\n$ cuidgen -g 1\ncmjmvcts200016437xe4i0jfu\n\n# Generate multiple CUIDs at once\n$ cuidgen -n 5\nz1dimahkx6si6mzfumzz4lpr\nvy0467zugnmo87kjdpao4r8d\nqh410ftu8mb21iw8aqp5l600\nczlgawafm116s2n4eyaqp8r3\ng13maok93mbgdqruv7mr3djl\n```\n\n### Command Arguments\n\n| Argument            | Description                                               | Default | Valid Range  |\n|---------------------|-----------------------------------------------------------|---------|--------------|\n| `-g, --generation`  | Generation of CUID to generate (1 or 2)                   | 2       | 1-2          |\n| `-l, --length`      | Desired length of the CUID (only applies to CUIDv2)       | 24      | 4-32         |\n| `-n, --number`      | Number of CUIDs to generate                               | 1       | 1-1000       |\n| `-v, --version`     | Display version information                               | -       | -            |\n| `-h, --help`        | Display help information                                  | -       | -            |\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvisus-io%2Fcuidgen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvisus-io%2Fcuidgen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvisus-io%2Fcuidgen/lists"}