{"id":23739741,"url":"https://github.com/p1atdev/wordle-solver","last_synced_at":"2026-05-07T08:33:51.968Z","repository":{"id":62422549,"uuid":"460054743","full_name":"p1atdev/wordle-solver","owner":"p1atdev","description":"Wordle Solver with Deno","archived":false,"fork":false,"pushed_at":"2022-02-20T13:49:31.000Z","size":322,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-31T18:56:51.608Z","etag":null,"topics":["deno","puppeteer","wordle"],"latest_commit_sha":null,"homepage":"https://deno.land/x/wordle_solver","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/p1atdev.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":"2022-02-16T15:07:13.000Z","updated_at":"2022-04-16T04:52:13.000Z","dependencies_parsed_at":"2022-11-01T17:31:31.843Z","dependency_job_id":null,"html_url":"https://github.com/p1atdev/wordle-solver","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p1atdev%2Fwordle-solver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p1atdev%2Fwordle-solver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p1atdev%2Fwordle-solver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p1atdev%2Fwordle-solver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/p1atdev","download_url":"https://codeload.github.com/p1atdev/wordle-solver/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239880837,"owners_count":19712477,"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":["deno","puppeteer","wordle"],"created_at":"2024-12-31T09:39:03.958Z","updated_at":"2026-03-02T15:30:15.400Z","avatar_url":"https://github.com/p1atdev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wordle Solver with Deno\n\nA wordle solver with Deno.\n\n![](./wordle.png)\n\n# How to use\nExample codes are available in `/examples`!\n\n## Basic usage\n\n```ts\n// example.ts\n\nimport { getAnswer, getGameNumber } from \"./wordle.ts\"\n\nconst answer = getAnswer()\nconst gameNumber = getGameNumber()\n\nconsole.log(`Wordle ${gameNumber}`)\nconsole.log(`Today's wordle answer is \"${answer}\"!`)\n\n```\n\nRun `example.ts` as follows\n```bash\ndeno run example.ts\n```\n\nThe result is\n```\nWordle 247\nToday's wordle answer is \"other\"!\n```\n\n## Predicting future answers \nI wrote \"prediction\", but it is almost certainly true.\n\n```ts\n// predict.ts\n\nimport { getAnswer, getGameNumber } from \"../wordle.ts\"\n\nconst targetDate = new Date(2022, 4, 1, 0, 0, 0, 0)\n\nconst answer = getAnswer(targetDate)\nconst gameNumber = getGameNumber(targetDate)\n\nconsole.log(`Wordle ${gameNumber}`)\nconsole.log(`Wordle answer on 4/1/2022 is \"${answer}\"!`)\n\n```\n\nThe result is\n```\nWordle 316\nWordle answer on 4/1/2022 is \"trash\"!\n```\n\n\n# How it works\nIn the main.hoge.js file of Wordle, the list of all answers is hard-coded, and the index of the game answer is equal to the difference between a particular date and today's date.\nIf wordle changes its specification and generates answers in a different way than it does now, this will stop working, but the list of answers is about six years long, so you may not need to worry about it for the time being.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fp1atdev%2Fwordle-solver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fp1atdev%2Fwordle-solver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fp1atdev%2Fwordle-solver/lists"}