{"id":50472710,"url":"https://github.com/charlespascoe/squaredle-solver","last_synced_at":"2026-06-01T11:33:17.519Z","repository":{"id":350692785,"uuid":"1207902689","full_name":"charlespascoe/squaredle-solver","owner":"charlespascoe","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-11T15:04:07.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-11T17:09:38.917Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/charlespascoe.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-11T15:01:01.000Z","updated_at":"2026-04-11T15:04:10.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/charlespascoe/squaredle-solver","commit_stats":null,"previous_names":["charlespascoe/squaredle-solver"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/charlespascoe/squaredle-solver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlespascoe%2Fsquaredle-solver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlespascoe%2Fsquaredle-solver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlespascoe%2Fsquaredle-solver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlespascoe%2Fsquaredle-solver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/charlespascoe","download_url":"https://codeload.github.com/charlespascoe/squaredle-solver/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlespascoe%2Fsquaredle-solver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33773774,"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-01T02:00:06.963Z","response_time":115,"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-01T11:33:16.694Z","updated_at":"2026-06-01T11:33:17.500Z","avatar_url":"https://github.com/charlespascoe.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Squaredle Solver\n\nA solver and generator for [Squaredle](https://squaredle.app/) puzzles.\n\n## How it works\n\nA list of acceptable words is loaded from a file into a prefix trie, then the\nsolver runs a depth-first search from every cell in the grid, pruning branches\nas soon as the current path doesn't match any prefix in the trie. This makes it\nfast even on large grids with big word lists.\n\nThe generator works by filling a grid with random letters (weighted by letter\nfrequency in the word list), solving it, then re-randomising any cells that\naren't covered by at least one solution. It repeats this until every cell\nparticipates in a word. Note that the generator doesn't have a concept of\n\"bonus\" words - all words in the given word list are considered acceptable\nmatches.\n\n## Usage\n\nThis project expects a Scrabble word list file. The default is\n[NSWL2023.txt](https://raw.githubusercontent.com/scrabblewords/scrabblewords/refs/heads/main/words/North-American/NSWL2023.txt)\nfrom the [scrabblewords repo](https://github.com/scrabblewords/scrabblewords).\nDownload it into the project root before running.\n\nTo build:\n\n```\ngo build -o squaredle-solver .\n```\n\nTo solve a grid:\n\n```\n./squaredle-solver -solve grid.txt\n```\n\n`grid.txt` is a file that looks like this:\n\n```\npkili\noiebs\niacle\nsnsee\nndisb\n```\n\nGenerate a random 5x5 (Row x Col) grid and print all solutions:\n\n```\n./squaredle-solver -generate 5x5\n```\n\nSee `./squaredle-solver -h` for more options.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharlespascoe%2Fsquaredle-solver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcharlespascoe%2Fsquaredle-solver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharlespascoe%2Fsquaredle-solver/lists"}