{"id":26725643,"url":"https://github.com/arfelious/simple-captcha-solver","last_synced_at":"2025-03-27T21:19:53.335Z","repository":{"id":186831315,"uuid":"611246095","full_name":"arfelious/simple-captcha-solver","owner":"arfelious","description":"A simple image captcha solver for a website","archived":false,"fork":false,"pushed_at":"2023-03-08T12:35:55.000Z","size":222,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-08-07T22:59:30.899Z","etag":null,"topics":["captcha","image-processing","png"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/arfelious.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}},"created_at":"2023-03-08T12:35:24.000Z","updated_at":"2023-08-07T22:59:42.012Z","dependencies_parsed_at":"2023-08-07T22:59:40.536Z","dependency_job_id":null,"html_url":"https://github.com/arfelious/simple-captcha-solver","commit_stats":null,"previous_names":["arfelious/simple-captcha-solver"],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arfelious%2Fsimple-captcha-solver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arfelious%2Fsimple-captcha-solver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arfelious%2Fsimple-captcha-solver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arfelious%2Fsimple-captcha-solver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arfelious","download_url":"https://codeload.github.com/arfelious/simple-captcha-solver/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245924444,"owners_count":20694731,"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","image-processing","png"],"created_at":"2025-03-27T21:19:52.752Z","updated_at":"2025-03-27T21:19:53.324Z","avatar_url":"https://github.com/arfelious.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Captcha Solver\nAlthough captchas are for keeping bots away, some poorly made captchas intrigue people even more to automate the process of solving them. This project does not use any machine learning or deep learning.\nEven the PNG parser is not really compliant with PNG spec as the images provided by the website are limited to palette-indexed 2 bit colors.\nIt uses simple image processing techniques to solve captchas from a specific website, this was a simple project to get started with image processing.\n\n## Usage\nAfter solving 10-15 captchas manually and putting them in the `known` folder with `answer`.png format, the program can solve the provided captchas in the `data` folder with 100% accuracy. (files in the `known` folder are already enough to solve the captchas in the `data` directory)\nYou can update the known characters by passing train as the first argument. (`known.json` provided in the repo already has the known characters)\n```bash\nnode index.js train\n```\nCommand below is an example of solving a captcha.\n```bash\nnode index.js solve ./data/123.png\n```\nYou can pass multiple paths to solve multiple captchas.\n```bash\nnode index.js solve ./data/123.png ./data/456.png\n```\nIf you want to time the program, you can pass `-t` or `--time` as an argument.\n```bash\nnode index.js solve ./data/123.png -t\n```\nNot passing any parameters will start a REPL-like interface that can be used for debugging.\nThere are no dependencies other than native node modules.\n## LICENSE\n[MIT](https://choosealicense.com/licenses/mit/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farfelious%2Fsimple-captcha-solver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farfelious%2Fsimple-captcha-solver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farfelious%2Fsimple-captcha-solver/lists"}