{"id":18106649,"url":"https://github.com/alexleungz/flask-wordle","last_synced_at":"2025-08-20T20:31:34.880Z","repository":{"id":260166820,"uuid":"879626088","full_name":"AlexLeungZ/flask-wordle","owner":"AlexLeungZ","description":"A wordle game with absurdle mode powered by flask.","archived":true,"fork":false,"pushed_at":"2024-10-30T17:32:08.000Z","size":143,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T06:45:16.633Z","etag":null,"topics":["flask","python","tailwind"],"latest_commit_sha":null,"homepage":"","language":"Python","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/AlexLeungZ.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}},"created_at":"2024-10-28T09:04:33.000Z","updated_at":"2024-11-04T11:24:26.000Z","dependencies_parsed_at":"2024-10-29T23:58:23.481Z","dependency_job_id":null,"html_url":"https://github.com/AlexLeungZ/flask-wordle","commit_stats":null,"previous_names":["alexleungz/flask-wordle"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AlexLeungZ/flask-wordle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexLeungZ%2Fflask-wordle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexLeungZ%2Fflask-wordle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexLeungZ%2Fflask-wordle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexLeungZ%2Fflask-wordle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlexLeungZ","download_url":"https://codeload.github.com/AlexLeungZ/flask-wordle/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexLeungZ%2Fflask-wordle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271378680,"owners_count":24749192,"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","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"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":["flask","python","tailwind"],"created_at":"2024-10-31T23:07:34.484Z","updated_at":"2025-08-20T20:31:34.526Z","avatar_url":"https://github.com/AlexLeungZ.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flask Wordle\n\nA wordle game with absurdle mode powered by flask.\n\n## TL;DR\n\nMake sure you have conda/mamba and node/nvm installed, and run:\n\n```bash\nnvm install \u0026\u0026 nvm use\nnpm install \u0026\u0026 npm run webpack\nmamba env create\nmamba activate wordle\npython webapp.py --path ./path/to/file.txt              # In production mode or \npython webapp.py --debug --path ./words/default.txt     # In debug mode\n```\n\nThe application should be running at port 5000.\n\n## List of dependencies\n\n\u003cdetails\u003e \u003c!-- markdownlint-disable-line MD033 --\u003e\n\n[package.json]: package.json\n[environment.yml]: environment.yml\n[handler.log]: handler.log\n\n### Python dependencies\n\n|Package            |Version        |Channel        |Settings         |Remarks                |\n|:------------------|:--------------|:--------------|:----------------|:---------------------:|\n|python             |\u003e=3.12.0       |conda-forge    |[environment.yml]|                       |\n|flask              |\u003e=3.0          |conda-forge    |[environment.yml]|                       |\n|waitress           |\u003e=3.0          |conda-forge    |[environment.yml]|                       |\n\n### Javascript dependencies\n\n|Package            |Version        |Channel        |Settings         |Remarks                |\n|:------------------|:--------------|:--------------|:----------------|:---------------------:|\n|typescript         |\u003e=5.5          |npm            |[package.json]   |                       |\n|sass               |\u003e=1.77         |npm            |[package.json]   |                       |\n|webpack            |\u003e=5.93         |npm            |[package.json]   |                       |\n\n\u003c/details\u003e\n\n## Install Python dependencies\n\n- Install [miniconda](docs/miniconda.md) if needed\n- Install [mamba](docs/mamba.md) if needed\n\n### A. With YAML configuration\n\n```bash\nmamba env create                            # For production\nmamba env create -f environment.dev.yml     # For development\nmamba activate wordle\n```\n\n### B. With CLI\n\n\u003cdetails\u003e \u003c!-- markdownlint-disable-line MD033 --\u003e\n\n```bash\nmamba create -n wordle\nmamba activate wordle\n\nmamba install -c conda-forge flask cython waitress -y\nmamba install -c conda-forge regex -y\n\n# Dev dependencies\nmamba install -c conda-forge ipykernel djlint ruff -y\n```\n\n\u003c/details\u003e\n\n## Install Javascript dependencies\n\n- Install [nvm](docs/node.md) if needed\n\n### Automatically config and generate js and css\n\n```bash\nbash node.sh\n```\n\n### Manually config nvm and node\n\n```bash\nnvm install\nnvm use\n\nnpm install\n```\n\n## Webpack\n\n```bash\nnpm run webpack                 # In production mode or\nnpm run webpack:watch           # In debug mode\n```\n\n## Ruff\n\n```bash\nruff check .                # Check mode\nruff check . --watch        # Watch mode\n```\n\n## Run the app\n\n```bash\npython webapp.py --path ./path/to/file.txt           # In production mode or\npython webapp.py --flask --path ./path/to/file.txt   # In flask mode or\npython webapp.py --debug --path ./path/to/file.txt   # In debug mode\n```\n\n```text\n    -h, --help                      Show this help message and exit\n    -f, --flask                     Run under flask (default: False)\n    -d, --debug                     Debug under flask (default: False)\n    -t, --test                      Create app only (default: False)\n    -s, --host HOST                 Server host (default: None)\n    -p, --port PORT                 Server port (default: None)\n    --path PATH                     Wordle word list path (Required: True)\n    --rounds ROUNDS                 max number of rounds (default: 6)\n```\n\n### Log files\n\nThe log file is located at [handler.log]\n\n### Remarks\n\n- Normally the answers are logged for debug propose (Under debug mode)\n- It is recommended to set a larger number for absurdle mode (host cheat)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexleungz%2Fflask-wordle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexleungz%2Fflask-wordle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexleungz%2Fflask-wordle/lists"}