{"id":29176506,"url":"https://github.com/hugojosefson/capture-auth-url","last_synced_at":"2026-04-28T14:34:52.122Z","repository":{"id":301423081,"uuid":"1009209442","full_name":"hugojosefson/capture-auth-url","owner":"hugojosefson","description":"Capture localhost callback URL from a browser login flow","archived":false,"fork":false,"pushed_at":"2025-06-26T19:10:19.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-02T16:05:32.174Z","etag":null,"topics":["authentication","callback","cli","deno","url"],"latest_commit_sha":null,"homepage":"https://jsr.io/@hugojosefson/capture-auth-url","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hugojosefson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2025-06-26T18:52:36.000Z","updated_at":"2025-06-26T19:10:23.000Z","dependencies_parsed_at":"2025-06-26T20:26:18.037Z","dependency_job_id":"a34eaa66-5bf4-4ca6-842c-2f304f52b801","html_url":"https://github.com/hugojosefson/capture-auth-url","commit_stats":null,"previous_names":["hugojosefson/capture-auth-url"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/hugojosefson/capture-auth-url","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugojosefson%2Fcapture-auth-url","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugojosefson%2Fcapture-auth-url/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugojosefson%2Fcapture-auth-url/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugojosefson%2Fcapture-auth-url/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hugojosefson","download_url":"https://codeload.github.com/hugojosefson/capture-auth-url/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugojosefson%2Fcapture-auth-url/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32385269,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"last_error":"SSL_read: 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":["authentication","callback","cli","deno","url"],"created_at":"2025-07-01T17:01:53.752Z","updated_at":"2026-04-28T14:34:52.117Z","avatar_url":"https://github.com/hugojosefson.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# capture-auth-url\n\nA Deno module to open a login URL in the user's browser, wait for the user to\nauthenticate, capture the resulting URL (including the hash), and return it to\nthe program.\n\n[![JSR Version](https://jsr.io/badges/@hugojosefson/capture-auth-url)](https://jsr.io/@hugojosefson/capture-auth-url)\n[![JSR Score](https://jsr.io/badges/@hugojosefson/capture-auth-url/score)](https://jsr.io/@hugojosefson/capture-auth-url)\n\n## Usage\n\n```typescript\nimport { captureAuthUrl } from \"jsr:@hugojosefson/capture-auth-url\";\n\nconst loginUrl =\n  \"https://example.com/login?redirect_uri=http://localhost:1234/callback\";\nconst url = await captureAuthUrl(loginUrl);\nconsole.log(url.toString());\n```\n\n## CLI Usage\n\nThe CLI allows you to run the module directly from the command line, opening the\nlogin URL in your default browser, and capturing the resulting URL after\nauthentication.\n\nIt prints the resulting URL to standard output.\n\n```\ndeno run --allow-net --allow-run --allow-env --allow-read jsr:@hugojosefson/capture-auth-url/cli \u003cloginUrl\u003e [port]\n```\n\nExample:\n\n```\ndeno run --allow-net --allow-run --allow-env --allow-read jsr:@hugojosefson/capture-auth-url/cli \"https://example.com/login?redirect_uri=http://localhost:1234/callback\"\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugojosefson%2Fcapture-auth-url","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhugojosefson%2Fcapture-auth-url","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugojosefson%2Fcapture-auth-url/lists"}