{"id":22057134,"url":"https://github.com/capnspacehook/trid","last_synced_at":"2025-03-23T16:23:00.424Z","repository":{"id":57518376,"uuid":"247841982","full_name":"capnspacehook/trid","owner":"capnspacehook","description":"Totally Random Identifiers","archived":false,"fork":false,"pushed_at":"2020-07-22T15:44:59.000Z","size":21,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-28T22:31:34.945Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/capnspacehook.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":"2020-03-17T00:08:49.000Z","updated_at":"2024-03-11T06:43:17.000Z","dependencies_parsed_at":"2022-09-26T18:01:41.562Z","dependency_job_id":null,"html_url":"https://github.com/capnspacehook/trid","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capnspacehook%2Ftrid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capnspacehook%2Ftrid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capnspacehook%2Ftrid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capnspacehook%2Ftrid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/capnspacehook","download_url":"https://codeload.github.com/capnspacehook/trid/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245129088,"owners_count":20565393,"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-30T16:16:24.178Z","updated_at":"2025-03-23T16:23:00.397Z","avatar_url":"https://github.com/capnspacehook.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# trid\n\n[![GoDoc](https://godoc.org/github.com/capnspacehook/trid?status.svg)](https://godoc.org/github.com/capnspacehook/trid)\n\n## Totally Random Identifiers\n\ntrid is a GUID library built for speed, size, and anonymity. \n\nCryptographically secure random GUIDs can be generated at extremely high speeds and very low memory usage:\n\n```\nBenchmarkNew-4                   6769496               174 ns/op              16 B/op          1 allocs/op\nBenchmarkToString-4             33261237                36.9 ns/op            32 B/op          1 allocs/op\nBenchmarkFromBytes-4            478937239                2.48 ns/op            0 B/op          0 allocs/op\nBenchmarkFromString-4           44093491                26.2 ns/op             0 B/op          0 allocs/op\n```\n\nGUIDs are 12 bytes in length raw, and 20 characters in length encoded as strings. Base32 encoding is used\nso that the non alphanumeric characters of base64 don't cause a problem.\n\ntrid was heavily inspired by [xid](https://github.com/rs/xid), much of the code is taken from there. This repository was\nnecessary for me as I do not want PIDs, timestamps, or machine identifiers in my GUIDs, and I don't care if\nmy GUIDs are sortable.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapnspacehook%2Ftrid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcapnspacehook%2Ftrid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapnspacehook%2Ftrid/lists"}