{"id":37185852,"url":"https://github.com/b58uuid/b58uuid-go","last_synced_at":"2026-01-16T07:53:24.634Z","repository":{"id":331914515,"uuid":"1130805925","full_name":"b58uuid/b58uuid-go","owner":"b58uuid","description":"Base58-encoded UUID library for Go with zero dependencies","archived":false,"fork":false,"pushed_at":"2026-01-09T07:59:40.000Z","size":15,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-11T19:30:16.346Z","etag":null,"topics":["base58","encoding","go","golang","library","proxy-url","short","short-uuid","url-safe","uuid","zero-dependencies"],"latest_commit_sha":null,"homepage":"","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/b58uuid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-09T03:27:13.000Z","updated_at":"2026-01-09T07:59:44.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/b58uuid/b58uuid-go","commit_stats":null,"previous_names":["b58uuid/b58uuid-go"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/b58uuid/b58uuid-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b58uuid%2Fb58uuid-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b58uuid%2Fb58uuid-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b58uuid%2Fb58uuid-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b58uuid%2Fb58uuid-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/b58uuid","download_url":"https://codeload.github.com/b58uuid/b58uuid-go/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b58uuid%2Fb58uuid-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28435145,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["base58","encoding","go","golang","library","proxy-url","short","short-uuid","url-safe","uuid","zero-dependencies"],"created_at":"2026-01-14T21:32:19.713Z","updated_at":"2026-01-14T21:32:21.614Z","avatar_url":"https://github.com/b58uuid.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# B58UUID for Go\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/b58uuid/b58uuid-go.svg)](https://pkg.go.dev/github.com/b58uuid/b58uuid-go)\n[![Go Report Card](https://goreportcard.com/badge/github.com/b58uuid/b58uuid-go)](https://goreportcard.com/report/github.com/b58uuid/b58uuid-go)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nBase58-encoded UUID library for Go with zero dependencies.\n\n## Installation\n\n```bash\ngo get github.com/b58uuid/b58uuid-go\n```\n\n## Usage\n\n```go\npackage main\n\nimport (\n    \"fmt\"\n    \"log\"\n    \"github.com/b58uuid/b58uuid-go\"\n)\n\nfunc main() {\n    // Generate a new UUID\n    b58, err := b58uuid.New()\n    if err != nil {\n        log.Fatal(err)\n    }\n    fmt.Println(b58) // Output: 3FfGK34vwMvVFDedyb2nkf\n\n    // Encode existing UUID\n    encoded, err := b58uuid.Encode(\"550e8400-e29b-41d4-a716-446655440000\")\n    if err != nil {\n        log.Fatal(err)\n    }\n    fmt.Println(encoded) // Output: BWBeN28Vb7cMEx7Ym8AUzs\n\n    // Decode back to UUID\n    uuid, err := b58uuid.Decode(\"BWBeN28Vb7cMEx7Ym8AUzs\")\n    if err != nil {\n        log.Fatal(err)\n    }\n    fmt.Println(uuid) // Output: 550e8400-e29b-41d4-a716-446655440000\n}\n```\n\n## API\n\n### Functions\n\n- `New() (string, error)` - Generate a new random UUID and return Base58 encoding\n- `Encode(uuidStr string) (string, error)` - Encode UUID string to Base58\n- `Decode(b58Str string) (string, error)` - Decode Base58 string to UUID\n- `MustEncode(uuidStr string) string` - Encode UUID, panic on error\n- `MustDecode(b58Str string) string` - Decode Base58, panic on error\n\n### Errors\n\n- `ErrInvalidUUID` - Invalid UUID format\n- `ErrInvalidB58UUID` - Invalid Base58 string\n- `ErrOverflow` - Arithmetic overflow during conversion\n\n## Features\n\n- Zero dependencies (uses only Go standard library)\n- Always produces exactly 22 characters\n- Uses Bitcoin Base58 alphabet (no 0, O, I, l)\n- Full error handling\n- Thread-safe\n\n## Testing\n\n```bash\ngo test -v ./...\n```\n\n## License\n\nMIT License - see LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb58uuid%2Fb58uuid-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fb58uuid%2Fb58uuid-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb58uuid%2Fb58uuid-go/lists"}