{"id":20056986,"url":"https://github.com/rhcarvalho/typokiller","last_synced_at":"2026-03-16T08:39:01.155Z","repository":{"id":27200066,"uuid":"30670499","full_name":"rhcarvalho/typokiller","owner":"rhcarvalho","description":"Exterminate typos in your code base","archived":false,"fork":false,"pushed_at":"2017-03-05T15:18:31.000Z","size":215,"stargazers_count":9,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-05T14:42:02.235Z","etag":null,"topics":["asciidoc","enchant","go","golang","pyenchant","python","spell-checker","spellcheck","spelling-checker","spelling-correction","typo"],"latest_commit_sha":null,"homepage":null,"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/rhcarvalho.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":"2015-02-11T21:27:10.000Z","updated_at":"2023-09-08T16:54:37.000Z","dependencies_parsed_at":"2022-09-01T02:50:35.641Z","dependency_job_id":null,"html_url":"https://github.com/rhcarvalho/typokiller","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/rhcarvalho/typokiller","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhcarvalho%2Ftypokiller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhcarvalho%2Ftypokiller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhcarvalho%2Ftypokiller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhcarvalho%2Ftypokiller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhcarvalho","download_url":"https://codeload.github.com/rhcarvalho/typokiller/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhcarvalho%2Ftypokiller/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271035378,"owners_count":24688396,"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","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["asciidoc","enchant","go","golang","pyenchant","python","spell-checker","spellcheck","spelling-checker","spelling-correction","typo"],"created_at":"2024-11-13T12:57:16.584Z","updated_at":"2026-03-16T08:38:56.118Z","avatar_url":"https://github.com/rhcarvalho.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"typokiller\n==========\n\nExterminate typos. Now.\n\n![typokiller screenshot](screenshot.png)\n\n`typokiller` is a tool for finding and fixing typos in text files, from source\ncode comments to documentation.\n\nCurrently supported input formats:\n- Go code\n- AsciiDoc files\n\nPlanned formats:\n- Pure text files\n- Markdown\n- Python docstrings and comments\n- Wikipedia dumps\n- Diff/patch files\n\n\n## Project's Background Story\n\nSince you're here, you might be interested to know how this project was born. Go\non and read [the story behind `typokiller`](STORY.md).\n\n\nHacking\n-------\n\nClone the repository:\n\n```bash\n$ git clone https://github.com/rhcarvalho/typokiller.git\n```\n\nBuild and runtime requirements:\n\n* Proper [Go](http://golang.org/doc/install) [environment](http://golang.org/doc/code.html#GOPATH) (tested with Go 1.4.1, probably works with older versions)\n* [Python](http://python.org/) 2.x (seems to work faster with [PyPy](http://pypy.org))\n\nIt's recommended to install PyPy and use it inside a [virtualenv](https://virtualenv.pypa.io/en/latest/).\n\nActivate the virtualenv and run:\n\n```bash\n$ pip install -r requirements.txt\n```\n\nBuild and install Go executable:\n\n```bash\n$ cd typokiller\n$ go get ./...\n```\n\n\nUsage\n-----\n\nThe shortcut:\n\n```bash\n$ ./killtypos PATH ...\n```\n\nThis will build and install `typokiller`, read the documentation of the Go packages in PATH(s), spellcheck it all, and present a terminal-based UI for fixing typos.\n\nIntegrate with `find` for great profit:\n\n```bash\n$ ./killtypos $(find /PATH/TO/GIT/REPO -type d -not \\( -name .git -prune -o -name Godeps -prune \\))\n```\n\nThis will find typos in all directories under `/PATH/TO/GIT/REPO` (inclusive), ignoring anything under `.git` and `Godeps`.\n\ntypokiller also supports an additional format: AsciiDoc. You can use it to fix\ntypos in documentation or generally files in the AsciiDoc format:\n\n```bash\n$ ./killtypos --format=adoc $(find /PATH/TO/GIT/REPO -type d -not \\( -name .git -prune \\))\n```\n\nYou can also use the parts separately for debugging or integration with other UNIX tools:\n\n```bash\n# normal usage:\n$ typokiller read /PATH/TO/GO/PKG | ./spellcheck.py | typokiller fix\n\n# inspect spellcheck results manually:\n$ typokiller read /PATH/TO/GO/PKG | ./spellcheck.py | ./pprint_json.py | less\n\n# limit number of packages:\n$ typokiller read /PATH/TO/GO/PKG | head -n 20 | ./spellcheck.py | ./pprint_json.py | less\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhcarvalho%2Ftypokiller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhcarvalho%2Ftypokiller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhcarvalho%2Ftypokiller/lists"}