{"id":51233496,"url":"https://github.com/dawsbot/spelling-bee","last_synced_at":"2026-06-28T18:02:05.342Z","repository":{"id":367124444,"uuid":"987463061","full_name":"dawsbot/spelling-bee","owner":"dawsbot","description":"A spelling fixer for the world 🌎","archived":false,"fork":false,"pushed_at":"2026-06-24T17:01:29.000Z","size":114,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-06-24T18:05:47.060Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/dawsbot.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"dawsbot","custom":"https://blockscan.com/address/0xc0deaf6bd3f0c6574a6a625ef2f22f62a5150eab"}},"created_at":"2025-05-21T05:41:45.000Z","updated_at":"2026-06-24T17:02:16.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/dawsbot/spelling-bee","commit_stats":null,"previous_names":["dawsbot/spelling-bee"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/dawsbot/spelling-bee","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dawsbot%2Fspelling-bee","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dawsbot%2Fspelling-bee/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dawsbot%2Fspelling-bee/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dawsbot%2Fspelling-bee/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dawsbot","download_url":"https://codeload.github.com/dawsbot/spelling-bee/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dawsbot%2Fspelling-bee/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34898568,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-28T02:00:05.809Z","response_time":54,"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":[],"created_at":"2026-06-28T18:02:04.623Z","updated_at":"2026-06-28T18:02:05.337Z","avatar_url":"https://github.com/dawsbot.png","language":"TypeScript","funding_links":["https://github.com/sponsors/dawsbot","https://blockscan.com/address/0xc0deaf6bd3f0c6574a6a625ef2f22f62a5150eab"],"categories":[],"sub_categories":[],"readme":"# spelling-bee-js\n\nA [Bun](https://bun.sh) CLI that finds and fixes spelling mistakes in GitHub\nrepositories and opens pull requests with the corrections. Point it at a single\nrepo or let it sweep trending repositories automatically.\n\nIt scans `.md`, `.markdown`, `.txt`, `.text`, and `.rst` files (skipping\ntranslated docs like `README.de.md`, since the checker is English-only), is\nformat-aware (skips fenced and inline code, URLs, and emails), and lets you\nignore words, files, directories, or the whole repo during interactive review.\nAny repository it has already processed (a PR opened, no fixes found, or\nskipped) is remembered locally and skipped before cloning on future runs.\n\n## Setup\n\n```bash\nbun install\n```\n\nAuthentication prefers the GitHub CLI. If you're logged in, nothing else is\nneeded:\n\n```bash\ngh auth login\n```\n\nAlternatively (or as a fallback), set a `GITHUB_TOKEN` in a `.env` file. The\ntoken needs the `repo` scope to fork and open PRs, and `delete_repo` for the\nfork cleanup feature.\n\n```\nGITHUB_TOKEN=ghp_your_token_here\n```\n\n## Usage\n\nFix a single repository (interactive review of each suggested correction):\n\n```bash\nbun run index.ts owner/repo\n# or a full URL\nbun run index.ts https://github.com/owner/repo\n```\n\nSweep trending repositories non-interactively, auto-applying the top suggestion:\n\n```bash\nbun run index.ts --trending --limit 5 --yes\n```\n\nPreview changes without forking or opening a PR:\n\n```bash\nbun run index.ts owner/repo --dry-run\n```\n\nDelete forks for PRs that have since been merged or closed:\n\n```bash\nbun run index.ts --cleanup\n```\n\n### Options\n\n| Flag         | Description                                            |\n| ------------ | ------------------------------------------------------ |\n| `--yes`      | Non-interactive: auto-apply the top spelling suggestion |\n| `--dry-run`  | Show what would change without forking or opening a PR |\n| `--limit N`  | Number of trending repos to process (with `--trending`) |\n| `--cleanup`  | Delete forks for merged/closed PRs                     |\n| `--help`     | Show help                                              |\n\n## How it works\n\n1. Resolve the target repo(s) via the GitHub API.\n2. Shallow-clone each repo into a unique `/tmp/spelling-bee-*` directory.\n3. Detect and correct spelling in supported text files.\n4. If anything changed, fork the repo, push a branch, and open a PR.\n5. Clean up the temp directory, and (via `--cleanup`) delete the fork once the\n   PR is merged or closed.\n\n## Development\n\n```bash\nbun test          # run the test suite\nbun run typecheck # type-check with tsgo\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdawsbot%2Fspelling-bee","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdawsbot%2Fspelling-bee","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdawsbot%2Fspelling-bee/lists"}