{"id":43674135,"url":"https://github.com/bugfan/captcha","last_synced_at":"2026-02-05T00:42:48.816Z","repository":{"id":57561241,"uuid":"328162262","full_name":"bugfan/captcha","owner":"bugfan","description":"golang 人机验证插件 [点选验证，滑动验证] 加密传输 验证库","archived":false,"fork":false,"pushed_at":"2022-02-16T06:16:17.000Z","size":257,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-22T17:03:37.731Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/bugfan.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-01-09T13:33:31.000Z","updated_at":"2024-11-18T05:28:12.000Z","dependencies_parsed_at":"2022-09-01T12:22:16.357Z","dependency_job_id":null,"html_url":"https://github.com/bugfan/captcha","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bugfan/captcha","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugfan%2Fcaptcha","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugfan%2Fcaptcha/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugfan%2Fcaptcha/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugfan%2Fcaptcha/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bugfan","download_url":"https://codeload.github.com/bugfan/captcha/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugfan%2Fcaptcha/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29103588,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-04T22:44:52.815Z","status":"ssl_error","status_checked_at":"2026-02-04T22:44:16.428Z","response_time":62,"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":[],"created_at":"2026-02-05T00:42:47.334Z","updated_at":"2026-02-05T00:42:48.802Z","avatar_url":"https://github.com/bugfan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## golang 人机验证插件 [点选验证，滑动验证] 加密传输 验证库\n\n## 使用方法\n- 当作插件(库)使用\n```\n// get it \ngo get -u github.com/bugfan/captcha\n\n// import it\nimport(\n    \"github.com/bugfan/captcha\"\n)\n\n// run it，then you can use at your logic\ngo func(){\n    err:=captcha.Start(\":9997\")\n    log.Fatal(err)\n}()\n\n// open it on browser\n'http://127.0.0.1:9997/static/position.html'\nor\n'http://127.0.0.1:9997/static/slide.html'\n```\n- 简易模式使用\n```\n// run test\ncd captcha\ngo test\n\n// open it on browser\n'http://127.0.0.1:9997/static/position.html'\nor\n'http://127.0.0.1:9997/static/slide.html'\n```\n## 效果\n- 滑动\n![Alt text](./assets/slide.jpg)\n- 点选\n![Alt text](./assets/position.jpg)\n\n### 需要不同的页面显示效果，去‘web’目录下修改对应的js，html等文件代码即可","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugfan%2Fcaptcha","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbugfan%2Fcaptcha","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugfan%2Fcaptcha/lists"}