Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mattmassicotte/atresolve
AT Protocol PLC Resolver
https://github.com/mattmassicotte/atresolve
atproto atprotocol bluesky
Last synced: 3 days ago
JSON representation
AT Protocol PLC Resolver
- Host: GitHub
- URL: https://github.com/mattmassicotte/atresolve
- Owner: mattmassicotte
- License: bsd-3-clause
- Created: 2025-02-05T14:49:48.000Z (5 days ago)
- Default Branch: main
- Last Pushed: 2025-02-05T16:13:05.000Z (5 days ago)
- Last Synced: 2025-02-05T16:41:29.160Z (5 days ago)
- Topics: atproto, atprotocol, bluesky
- Language: Swift
- Homepage:
- Size: 1000 Bytes
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status][build status badge]][build status]
[![Matrix][matrix badge]][matrix]# ATResolve
AT Protocol PLC/DID/Whatever ResolverI just want to resolve a handle to a DID and PDS. There's more to do, but this is a start. [This](https://github.com/mackuba/didkit/blob/master/lib/didkit/resolver.rb) could be a good reference.
## Integration
```swift
dependencies: [
.package(url: "https://github.com/mattmassicotte/ATResolve", branch: "main")
]
```## Usage
```swift
import ATResolvelet resolver = ATResolver()
let data = try await resolver.resolveHandle("massicotte.org")
print(data.did)
print(data.serviceEndpoint)
```## Contributing and Collaboration
I would love to hear from you! Issues or pull requests work great. Both a [Matrix space][matrix] and [Discord][discord] are available for live help, but I have a strong bias towards answering in the form of documentation. You can also find me on [the web](https://www.massicotte.org).
I prefer collaboration, and would love to find ways to work together if you have a similar project.
I prefer indentation with tabs for improved accessibility. But, I'd rather you use the system you want and make a PR than hesitate because of whitespace.
By participating in this project you agree to abide by the [Contributor Code of Conduct](CODE_OF_CONDUCT.md).
[build status]: https://github.com/mattmassicotte/ATResolve/actions
[build status badge]: https://github.com/mattmassicotte/ATResolve/workflows/CI/badge.svg
[matrix]: https://matrix.to/#/%23chimehq%3Amatrix.org
[matrix badge]: https://img.shields.io/matrix/chimehq%3Amatrix.org?label=Matrix
[discord]: https://discord.gg/esFpX6sErJ