{"id":20687008,"url":"https://github.com/reiver/go-aturi","last_synced_at":"2026-04-21T11:04:11.758Z","repository":{"id":255299196,"uuid":"849157309","full_name":"reiver/go-aturi","owner":"reiver","description":"Package aturi provides tools for working with AT-URIs, for the Go programming language. AT-URIs are used by the Bluesky network and its AT-protocol.","archived":false,"fork":false,"pushed_at":"2024-08-29T12:43:30.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-17T16:37:30.834Z","etag":null,"topics":["at-protocol","at-uri","atproto","bluesky"],"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/reiver.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":"2024-08-29T04:45:43.000Z","updated_at":"2024-08-29T12:43:33.000Z","dependencies_parsed_at":"2025-01-17T16:35:18.371Z","dependency_job_id":"17f59205-6774-4322-8d3d-8a42f07c5f0a","html_url":"https://github.com/reiver/go-aturi","commit_stats":null,"previous_names":["reiver/go-aturi"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reiver%2Fgo-aturi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reiver%2Fgo-aturi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reiver%2Fgo-aturi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reiver%2Fgo-aturi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reiver","download_url":"https://codeload.github.com/reiver/go-aturi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242945844,"owners_count":20210762,"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":["at-protocol","at-uri","atproto","bluesky"],"created_at":"2024-11-16T22:55:26.473Z","updated_at":"2026-04-21T11:04:11.753Z","avatar_url":"https://github.com/reiver.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-aturi\n\nPackage **aturi** provides tools for working with AT-URIs, for the Go programming language.\n\nAT-URIs are used by the Bluesky network and its AT-protocol, and are defined at:\nhttps://atproto.com/specs/at-uri-scheme\n\n## Documention\n\nOnline documentation, which includes examples, can be found at: http://godoc.org/github.com/reiver/go-aturi\n\n[![GoDoc](https://godoc.org/github.com/reiver/go-aturi?status.svg)](https://godoc.org/github.com/reiver/go-aturi)\n\n## Examples\n\nHere are some examples for using package **aturi**.\n\n### Validation Example\n\nYou can validate an AT-URI with code similar to the following:\n\n```golang\nimport \"github.com/reiver/go-aturi\"\n\n// ...\n\nvar atURI string = \"at://did:plc:scewmn2pl3oz36mxme2b6czz\"\n\n// ...\n\nerr := aturi.Validate(atURI)\n```\n\n### Split Example\n\nYou can split an AT-URI into its components with code similar to the following:\n\n```golang\nimport \"github.com/reiver/go-aturi\"\n\n// ...\n\nvar atURI string = \"at://did:plc:scewmn2pl3oz36mxme2b6czz\"\n\n// ...\n\nauthority, collection, rkey, query, fragment, err := aturi.Split(atURI)\n```\n\n## Join Example\n\nYou can create a normalized AT-URI with code similar to the following:\n\n```golang\nimport \"github.com/reiver/go-aturi\"\n\n// ...\n\nvar authority  string = \"did:plc:scewmn2pl3oz36mxme2b6czz\"\nvar collection string = \"com.example.fooBar\"\nvar rkey       string = \"wxyz1234\"\nvar query      string = \"\"\nvar fragment   string = \"\"\n\nvar atURI string = aturi.Join(authority, collection, rkey, query, fragment)\n```\n\n## Import\n\nTo import package **aturi** use `import` code like the follownig:\n```\nimport \"github.com/reiver/go-aturi\"\n```\n\n## Installation\n\nTo install package **aturi** do the following:\n```\nGOPROXY=direct go get https://github.com/reiver/go-aturi\n```\n\n## Author\n\nPackage **aturi** was written by [Charles Iliya Krempeaux](http://reiver.link)\n\n## See Also\n\n* https://github.com/reiver/go-athandle\n* https://github.com/reiver/go-atproto\n* https://github.com/reiver/go-aturi\n* https://github.com/reiver/go-bsky\n* https://github.com/reiver/go-did\n* https://github.com/reiver/go-didplc\n* https://github.com/reiver/go-nsid\n* https://github.com/reiver/go-xrpc\n* https://github.com/reiver/go-xrpcuri\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freiver%2Fgo-aturi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freiver%2Fgo-aturi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freiver%2Fgo-aturi/lists"}