{"id":13590828,"url":"https://github.com/JustTalDevelops/go-hcaptcha","last_synced_at":"2025-04-08T14:31:54.760Z","repository":{"id":38059737,"uuid":"349284022","full_name":"JustTalDevelops/go-hcaptcha","owner":"JustTalDevelops","description":"A Go library for solving hCaptchas with any image recognition API.","archived":false,"fork":false,"pushed_at":"2023-01-08T04:01:26.000Z","size":1417,"stargazers_count":152,"open_issues_count":4,"forks_count":25,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-08T09:51:33.579Z","etag":null,"topics":["captcha-solver","golang","hcaptcha","hcaptcha-solver"],"latest_commit_sha":null,"homepage":"","language":"Go","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/JustTalDevelops.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}},"created_at":"2021-03-19T03:03:28.000Z","updated_at":"2025-03-19T02:16:11.000Z","dependencies_parsed_at":"2023-02-08T04:46:25.087Z","dependency_job_id":null,"html_url":"https://github.com/JustTalDevelops/go-hcaptcha","commit_stats":null,"previous_names":["justtaldevelops/hcaptcha-solver-go"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JustTalDevelops%2Fgo-hcaptcha","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JustTalDevelops%2Fgo-hcaptcha/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JustTalDevelops%2Fgo-hcaptcha/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JustTalDevelops%2Fgo-hcaptcha/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JustTalDevelops","download_url":"https://codeload.github.com/JustTalDevelops/go-hcaptcha/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247860760,"owners_count":21008346,"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":["captcha-solver","golang","hcaptcha","hcaptcha-solver"],"created_at":"2024-08-01T16:00:50.888Z","updated_at":"2025-04-08T14:31:54.292Z","avatar_url":"https://github.com/JustTalDevelops.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# go-hcaptcha\n\nA Go library for solving hCaptchas with any image recognition API.\n\n![1v1 me, bro!](images/one_vs_one.png)\n\n## Basic Usage\nIn order to solve, you need the site URL (not the domain!), and the site key, which can be found \nin the HTML of the website with the hCaptcha challenge.\n\nBelow is a basic example of how to use the solver with the two using a simple guessing solver.\n```go\nc, err := NewChallenge(siteUrl, siteKey)\nif err != nil {\n    panic(err)\n}\nerr = c.Solve(\u0026GuessSolver{})\nif err != nil {\n    panic(err)\n}\nfmt.Println(c.Token()) // P0_eyJ0eXAiOiJKV1QiLC...\n```\n\n## Custom Solvers\nCustom solvers can be implemented with ease. All solvers need to implement the `Solver` interface. You\ncan link this with any image recognition API you want.\n\nYou can see an example of this with the `GuessSolver` implementation in `solver.go`.\n\n## Credits\n\n### 2.0.1\nA few changes to support the modern API, and general code cleanup along with a switch to `mathgl` for\nBézier curve creation.\n\n### 2.0.0\nThe motion data capturing required with hCaptcha would not be possible without the work of \n[@h0nde](https://github.com/h0nde) and his [py-hcaptcha](https://github.com/h0nde/py-hcaptcha) solver in Python.\n\n### 1.0.2:\nThere were quite a lot of changes with the hCaptcha API, so the solver was updated to reflect these changes, with\nthe generous help of [@aw1875](https://github.com/aw1875) and his [puppeteer-hcaptcha](https://github.com/aw1875/puppeteer-hcaptcha) \nsolver in JavaScript.\n\n### 1.0.0\nThis project was inspired by the work of [@JimmyLaurent](https://github.com/JimmyLaurent) and his [hcaptcha-solver](https://github.com/JimmyLaurent/hcaptcha-solver)\nalso in JavaScript. I'd like to thank him for his work, and for being a motivation to create this library.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJustTalDevelops%2Fgo-hcaptcha","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJustTalDevelops%2Fgo-hcaptcha","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJustTalDevelops%2Fgo-hcaptcha/lists"}