{"id":22940973,"url":"https://github.com/zetaphor/atproto-resolver","last_synced_at":"2025-04-01T20:42:59.885Z","repository":{"id":259769312,"uuid":"879386660","full_name":"Zetaphor/atproto-resolver","owner":"Zetaphor","description":"An ATProto resolver API for getting a handles DID \u0026 PDS address","archived":false,"fork":false,"pushed_at":"2024-10-27T19:16:27.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T13:28:41.200Z","etag":null,"topics":["atproto","atproto-pds"],"latest_commit_sha":null,"homepage":"https://resolver.atdev.pro","language":"TypeScript","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/Zetaphor.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-10-27T19:06:55.000Z","updated_at":"2024-12-22T23:28:15.000Z","dependencies_parsed_at":"2024-10-27T23:44:53.058Z","dependency_job_id":null,"html_url":"https://github.com/Zetaphor/atproto-resolver","commit_stats":null,"previous_names":["zetaphor/atproto-resolver"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zetaphor%2Fatproto-resolver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zetaphor%2Fatproto-resolver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zetaphor%2Fatproto-resolver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zetaphor%2Fatproto-resolver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zetaphor","download_url":"https://codeload.github.com/Zetaphor/atproto-resolver/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246709919,"owners_count":20821298,"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":["atproto","atproto-pds"],"created_at":"2024-12-14T13:35:26.962Z","updated_at":"2025-04-01T20:42:59.863Z","avatar_url":"https://github.com/Zetaphor.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AT Protocol Handle Resolver\n\nA simple Deno-based HTTP service that resolves AT Protocol handles (Bluesky usernames) to their DID and PDS (Personal Data Server) endpoints.\n\nA live version of this service is hosted at https://resolver.atdev.pro\n\n## Features\n\n- Resolves handles to DIDs and PDS endpoints\n- Identifies if the PDS is the official Bluesky PDS\n- Supports both GET and POST requests\n- CORS-enabled for browser usage\n\n## Prerequisites\n\n- [Deno](https://deno.com/) 1.37 or later\n\n## Installation\n\n1. Clone this repository:\n```bash\ngit clone https://github.com/yourusername/atproto-handle-resolver.git\ncd atproto-handle-resolver\n```\n\n## Usage\n\n### Starting the Server\n\nRun the server using Deno:\n```bash\ndeno task start\n# or\ndeno run --allow-net --allow-env --allow-read main.ts\n```\n\n### API Endpoints\n\n#### GET /resolve/:handle\n\nResolve a handle using a GET request:\n\n```bash\ncurl http://localhost:8000/resolve/alice.bsky.social\n```\nExample Response:\n\n```json\n{\n  \"handle\": \"zetaphor.com\",\n  \"did\": \"did:plc:m6yjzpsxvue6uugpmzr7wosf\",\n  \"pdsUrl\": \"https://pds.zetaphor.com\",\n  \"bskyPds\": true // true if the user is not on a self-hosted PDS aka bsky.social\n}\n```\n\n#### POST /resolve\n\nResolve a handle using a POST request:\n\n```bash\ncurl -X POST http://localhost:8000/resolve -H \"Content-Type: application/json\" -d '{\"handle\": \"alice.bsky.social\"}'\n```\n\nResponse format is the same as the GET endpoint.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzetaphor%2Fatproto-resolver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzetaphor%2Fatproto-resolver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzetaphor%2Fatproto-resolver/lists"}