{"id":18597308,"url":"https://github.com/wiremoons/get-uuid","last_synced_at":"2026-03-19T05:16:37.213Z","repository":{"id":83457388,"uuid":"504767513","full_name":"wiremoons/get-uuid","owner":"wiremoons","description":"CLI app to generate a random Universally Unique Identifier (UUID).","archived":false,"fork":false,"pushed_at":"2023-08-07T19:39:08.000Z","size":75,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-16T13:52:45.060Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CMake","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/wiremoons.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-18T06:48:58.000Z","updated_at":"2023-08-07T19:38:45.000Z","dependencies_parsed_at":"2024-12-26T21:23:52.545Z","dependency_job_id":"88c07ef3-4ee0-4ed4-b26b-02f4d0b4e31c","html_url":"https://github.com/wiremoons/get-uuid","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/wiremoons/get-uuid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiremoons%2Fget-uuid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiremoons%2Fget-uuid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiremoons%2Fget-uuid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiremoons%2Fget-uuid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wiremoons","download_url":"https://codeload.github.com/wiremoons/get-uuid/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiremoons%2Fget-uuid/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28712841,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T05:01:10.984Z","status":"ssl_error","status_checked_at":"2026-01-24T04:59:18.328Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2024-11-07T01:27:38.479Z","updated_at":"2026-01-24T05:02:00.955Z","avatar_url":"https://github.com/wiremoons.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/hyperium/hyper/master/LICENSE) [![CodeQL](https://github.com/wiremoons/get-uuid/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/wiremoons/get-uuid/actions/workflows/codeql-analysis.yml) [![get-uuid-build](https://github.com/wiremoons/get-uuid/actions/workflows/get-uuid-build.yml/badge.svg)](https://github.com/wiremoons/get-uuid/actions/workflows/get-uuid-build.yml)\n\n# get-uuid\nCLI app to generate a random Universally Unique Identifier (UUID).\n\n# Original program use case\nThe application was created as I needed to add a UUID to each record of a 18,000+ record database. I needed to generate the UUIDs quickly in a format I could 'cut and paste' the output of into a JSON database export, before re-populating the database with the additional UUID field, and all the prior existing data. This was carried out as part of a 'record clean up' exercise on the database.\n\n## Executing the program\n\nThe application is command line application that is run from a terminal program on *macOS*, *Linux*, or *Windows*. Example of the basic output from executing the program `get-uuid` is as below.\n\n```console\n% get-uuid\n2ED52F7C-ED45-4854-8B42-12A156C15DB0\n\n% get-uuid -n 5\n2BEA8AFA-59EC-48BD-9A78-37E32D353C35\n9541E2FD-6EB0-433A-93E9-7E37A186CB5B\nBBCB9541-1A50-4C44-BEA6-6C9E3F42E2D0\n82F51F40-6FF6-40B7-A46D-BDE3FFE1A31E\n018BFBE0-F48E-4D0C-AB44-7BCF496FDD28\n\n% get-uuid -j -n 5\n\"uuid\": \"4C7F1E3C-8F2B-43DA-BE1B-4775A291F1CB\", \n\"uuid\": \"7815BA01-E681-4C25-B758-5B4EB09A76E2\", \n\"uuid\": \"3BFFFC89-6221-4F65-972F-CE6B35A30CBC\", \n\"uuid\": \"E9C5C928-5F9D-4BC9-BD83-834CECFD74DE\", \n\"uuid\": \"B638976D-E729-45F8-984C-09AD2D5F2CE0\", \n\n```\n\n## Build\n\nA C++ compiler is required to build `get-uuid`. \n\n- `cmake` is recommended to perform the build.\n- `vcpkg` is recommended to perform the config and package management. \n\n\nIn order to build using `vcpkg` and `cmake`, clone this repo and then run:\n\n```console\ncmake -S . -B build -DCMAKE_BUILD_TYPE=Release\ncmake --build build\n```\n\nThe resulting program is in located the `./bin/` sub-directory.\n\nTo detect and use `vcpkg` the `cmake` process looks for the environment variable `VCPKG_ROOT`. Set this to the location of `vcpkg` installation. For assistance with installing `vcpkg` see: [Get started with vcpkg](https://vcpkg.io/en/getting-started.html).\n```\n# Most Unix (Linux, macOS, etc):\nexport VCPKG_ROOT=~/.vcpkg\n```\n\n## Library Dependencies\n\nThe following C++ libraries are included by `vcpkg` or `cmake` and used by `get-uuid`:\n\n- [argpass by @p-ranav](https://github.com/p-ranav/argparse) - command line argument parser for modern C++;\n- [fmt by @fmtlib](https://github.com/fmtlib/fmt) - fast and safe alternative to C stdio and C++ iostreams;\n- [libuuid](https://sourceforge.net/projects/libuuid/) - a Linux OS only additional dependency.\n\n\n## License\n\nThe `get-uuid` application is provided under the _MIT open source license_. A copy\nof the MIT license file is [here](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwiremoons%2Fget-uuid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwiremoons%2Fget-uuid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwiremoons%2Fget-uuid/lists"}