{"id":13671926,"url":"https://github.com/jonhoo/roget","last_synced_at":"2025-04-09T16:14:53.111Z","repository":{"id":40474579,"uuid":"466597288","full_name":"jonhoo/roget","owner":"jonhoo","description":"Wordle Solver inspired by 3blue1brown","archived":false,"fork":false,"pushed_at":"2022-10-15T19:36:38.000Z","size":770,"stargazers_count":227,"open_issues_count":5,"forks_count":39,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-09T16:14:30.767Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonhoo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-06T00:14:39.000Z","updated_at":"2025-03-05T01:08:40.000Z","dependencies_parsed_at":"2023-01-19T21:45:44.528Z","dependency_job_id":null,"html_url":"https://github.com/jonhoo/roget","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonhoo%2Froget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonhoo%2Froget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonhoo%2Froget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonhoo%2Froget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonhoo","download_url":"https://codeload.github.com/jonhoo/roget/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248065282,"owners_count":21041872,"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":[],"created_at":"2024-08-02T09:01:22.213Z","updated_at":"2025-04-09T16:14:53.082Z","avatar_url":"https://github.com/jonhoo.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"[![codecov](https://codecov.io/gh/jonhoo/roget/branch/main/graph/badge.svg?token=BMvVKvRuYO)](https://codecov.io/gh/jonhoo/roget)\n\nOriginal version live-coded [on YouTube](https://youtu.be/doFowk4xj7Q).\n\nThe implemented algorithm is almost exactly what was outlined (and\n_very_ well explained) in [this 3blue1brown video][3b1b].\n\nPlease do tinker with it and see how much you can push it — there's\nalmost certainly gains to be had! I've also left some TODOs from the\n3b1b algorithm that should improve the guesses a fair bit. It'd also be\nreally neat to add in a mode for computing the _first_ word by computing\nmultiple levels of expected information (again, like 3b1b), instead of\njust hard-coding it like we do at the moment.\n\n[3b1b]: https://www.youtube.com/watch?v=v68zYyaEmEA\n\n# Dataset\n\nIf you want to remake `dictionary.txt` yourself, first, make\n`corpus/wordle.txt` by grabbing the words from the Wordle source code\n(that's also how you get `answers.txt`). Then, grab the ngram dataset by\ndownloading [these][1grams]. Then run:\n\n```bash\ncd corpus\ncargo r --release /path/to/1-*-of-00024.gz | tee ../dictionary.txt\n```\n\n## License\n\nLicensed under either of\n\n * Apache License, Version 2.0\n   ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n * MIT license\n   ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n\n## Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be\ndual licensed as above, without any additional terms or conditions.\n\n[1grams]: https://storage.googleapis.com/books/ngrams/books/20200217/eng/eng-1-ngrams_exports.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonhoo%2Froget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonhoo%2Froget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonhoo%2Froget/lists"}