{"id":20049467,"url":"https://github.com/weaming/2captcha-pool","last_synced_at":"2026-05-15T05:31:27.834Z","repository":{"id":128810508,"uuid":"264436246","full_name":"weaming/2captcha-pool","owner":"weaming","description":"2captcha.com 's result pool","archived":false,"fork":false,"pushed_at":"2020-11-21T10:41:41.000Z","size":1651,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-12T20:45:45.904Z","etag":null,"topics":["2captcha","recaptcha","recaptcha-v2"],"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/weaming.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}},"created_at":"2020-05-16T12:50:37.000Z","updated_at":"2024-04-24T14:11:50.000Z","dependencies_parsed_at":"2023-07-16T22:01:44.567Z","dependency_job_id":null,"html_url":"https://github.com/weaming/2captcha-pool","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weaming%2F2captcha-pool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weaming%2F2captcha-pool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weaming%2F2captcha-pool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weaming%2F2captcha-pool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weaming","download_url":"https://codeload.github.com/weaming/2captcha-pool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241479619,"owners_count":19969483,"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":["2captcha","recaptcha","recaptcha-v2"],"created_at":"2024-11-13T11:50:11.595Z","updated_at":"2026-05-15T05:31:27.793Z","avatar_url":"https://github.com/weaming.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 2captcha-pool\n\n[2captcha.com](https://2captcha.com) 's result pool\n\n```shell\ndocker run -it --rm -e API_KEY=\u003cyour-2captcha-key\u003e weaming/2captcha-pool\n```\n\n```go\nAPI_KEY         = getEnvDefault(\"API_KEY\", \"\")\n\ntype Task struct {\n\tGoogleKey string `json:\"googleKey\"`\n\tPageURL   string `json:\"pageUrl\"`\n\tSize      int    `json:\"size\"`\n\tInterval  int    `json:\"interval\"`\n\tLives     int    `json:\"lives\"` // after n token unused, stop loop\n}\n\ntype Site struct {\n\tsync.Mutex // lock for idle state\n\ttask       *Task\n\tids        chan string\n\tresults    *Cache\n\tstop       chan bool\n\tidle       bool\n}\n```\n\n## API\n\n* POST `/getOne`: get one [`response` result](https://developers.google.com/recaptcha/docs/verify#api_request). Start or stop task automatically\n\n```sh\ncurl https://2captcha-pool.drink.cafe/getOne \\\n    -d '{\"googleKey\": \"6LerB_cSAAAAACHfjoc7wuQ28ssaqm2mEZN02s3d\", \"pageUrl\": \"https://www.google.com/recaptcha/api2/demo\", \"size\": 2, \"interval\": 10, \"lives\": 1}'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweaming%2F2captcha-pool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweaming%2F2captcha-pool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweaming%2F2captcha-pool/lists"}