{"id":18862131,"url":"https://github.com/yohasebe/ruby-wordle","last_synced_at":"2025-04-14T13:04:01.138Z","repository":{"id":56893746,"uuid":"453597546","full_name":"yohasebe/ruby-wordle","owner":"yohasebe","description":"A set of ruby scripts to generate word-lists, solve Wordle and play Wordle","archived":false,"fork":false,"pushed_at":"2022-02-02T01:31:55.000Z","size":1545,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-05T08:47:54.669Z","etag":null,"topics":["game","ruby","terminal-app","vocabulary","wordle"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/yohasebe.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}},"created_at":"2022-01-30T05:39:49.000Z","updated_at":"2022-04-29T07:19:22.000Z","dependencies_parsed_at":"2022-08-20T16:10:48.339Z","dependency_job_id":null,"html_url":"https://github.com/yohasebe/ruby-wordle","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yohasebe%2Fruby-wordle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yohasebe%2Fruby-wordle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yohasebe%2Fruby-wordle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yohasebe%2Fruby-wordle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yohasebe","download_url":"https://codeload.github.com/yohasebe/ruby-wordle/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223633834,"owners_count":17176860,"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":["game","ruby","terminal-app","vocabulary","wordle"],"created_at":"2024-11-08T04:33:22.728Z","updated_at":"2024-11-08T04:33:23.514Z","avatar_url":"https://github.com/yohasebe.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ruby-Wordle\n\nA set of ruby scripts to generate word-lists, solve Wordle, and play Wordle on the command line\n\n⬜️⬜️⬜️⬜️⬜️ \\\n⬜️⬜️⬜️🟨🟨 \\\n⬜️🟩⬜️🟩⬜️ \\\n🟩🟩⬜️🟩🟩 \\\n🟩🟩🟩🟩🟩\n\n----\n\n### Installation\n\n```\n\u003e gem install ruby-wordle\n```\n\n----\n\n### Play Wordle\n\n**Usage Example**\n\n```plain-text\n\u003e ruby-wordle play\n```\n\n\u003cimg src='https://github.com/yohasebe/ruby-wordle/blob/main/img/ruby-wordle-play.png?raw=true' width='500' /\u003e\n\nYou can ask for help by typing \"?↵\" while playing. In the suggestion list, basic words consisting of 5 different letters are printed in red 🟥 while basic words having the same letters used more than once are printed in blue 🟦\n\n----\n\n### Wordle Solver\n\n**Usage Example**\n\n```plain-text\n\u003e ruby-wordle solver\n```\n\n\u003cimg src='https://github.com/yohasebe/ruby-wordle/blob/main/img/ruby-wordle-solver.png?raw=true' width='500' /\u003e\n\nIn the result list, basic words consisting of 5 different letters are printed in red 🟥 while basic words having the same letters used more than once are printed in blue 🟦\n\n----\n\n### Word Lists\n\n#### Word List Generator Script\n\n🟢 `lib/ruby-wordle/script-filter.rb`\n\nA ruby script to generate *n*-letter word lists (`word-list.txt` and `word-list-uniq.txt`)\n\nThe default *n* value is 5. Change `NUM_LETTERS` if necessary, and run the script as follows. A directory will be created automatically with the title having the number specified in the script (e.g. `word-lists/5-letters`, `word-lists/6-letters`) and resulting word lists will be stored in that directory.\n\n----\n\n#### Lists of English Words of 5 Letters (useful to solve Wordle)\n\n🟡 `word-lists/5-letters/word-list.txt`\n\nA list of five-letter words, generated from the original word list.\n\n🟡 `word-lists/5-letters/word-list-uniq-letters.txt`\n\nA list of five-letter words consisting of five different letters, generated from the original word list.\n\n🟡 `word-lists/5-letters/word-list-basic.txt`\n\nA list of five-letter words, generated from the basic word list.\n\n🟡 `word-lists/5-letters/word-list-basic-uniq-letters.txt`\n\nA list of five-letter words consisting of five different letters, generated from the basic word list.\n\n----\n\n#### Original/Basic Lists of English Words\n\n⚪️ `word-lists/word-list-original.txt`\n\nA large word list based on `words_alpha.txt` in [dwyl/english-words](https://github.com/dwyl/english-words), containing more than 370,000 items.\n\n⚪️ `word-lists/word-list-basic.txt`\n\nA smaller word list containing about 13,000 basic English words.\n\n----\n\n### Author\n\nYoichiro HASEBE\n\n----\n\n### License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyohasebe%2Fruby-wordle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyohasebe%2Fruby-wordle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyohasebe%2Fruby-wordle/lists"}