Open Source Wordle in a bunch of languages
PULL REQUESTS WELCOME!
It would be mega awesome if you could help in any way (especially with language addition/curation).
How to add a new language:
- Make a folder in webapp/data/languages/ with the language code (e.g. en, de, fr, qya, etc.)
- Add a list of 5-letter words and call it {lang_code}_5words.txt
- (Optional) Add a language_config.json file
- (Optional) Add a keyboard configuration
- (Optional) Add a list of supplemental words (useful to have this for weird/rare words, and only have 'common' words in the main 5words.txt file)
Voilร !
If you want to test out your changes, you can run the server locally.
-
Install Python 3
-
Install requirements
pip3 install -r requirements.txt
-
Run web server locally
gunicorn --chdir webapp app:app
-
Navigate to http://127.0.0.1:8000/
- take into account browser bar height on mobile
- curate wordlists for existing languages
- add keyboard layouts for existing languages
- add more languages
- fully translate game interface (missing score streaks and options)
Potential improvements:
- nice animations for revealing letters & such
- make a 4, 6, 7 letter version
- deal with accents & character modifiers better (e.g. french is horrible right now)
Nice to haves:
- improve code quality (e.g. make variable names consistent, code more reusable & less hacky)
- properly integrate TailwindCSS and Vue.js (i.e. not from CDN)
- tests...
- Hebrew (he): ๐จ (64540 words)
- Serbian (sr): ๐จ (17968 words)
- Central Kurdish (ckb): ๐ฉ (14819 words)
- English (en): ๐ฉ (12948 words)
- Slovenian (sl): ๐จ (11731 words)
- Persian (fa): ๐จ (11253 words)
- Norwegian Nynorsk (nn): ๐จ (10523 words)
- Slovak (sk): ๐จ (10444 words)
- Greek (el): ๐จ (10209 words)
- Polish (pl): ๐จ (10184 words)
- Arabic (ar): ๐จ (10166 words)
- Ukrainian (uk): ๐จ (9589 words)
- Danish (da): ๐จ (9516 words)
- Estonian (et): ๐จ (9459 words)
- Turkish (tr): ๐จ (9224 words)
- Catalan (ca): ๐จ (9079 words)
- Portuguese (pt): ๐จ (9016 words)
- Korean (ko): ๐จ (8922 words)
- Georgian (ka): ๐จ (8827 words)
- Romanian (ro): ๐จ (8618 words)
- Icelandic (is): ๐จ (8285 words)
- Czech (cs): ๐จ (7544 words)
- Basque (eu): ๐จ (7520 words)
- Norwegian Bokmรฅl (nb): ๐จ (7471 words)
- Dutch (nl): ๐จ (7441 words)
- Breton (br): ๐จ (7143 words)
- Faroese (fo): ๐จ (6448 words)
- Western Frisian (fy): ๐จ (6095 words)
- Hungarian (hu): ๐จ (6047 words)
- Macedonian (mk): ๐จ (5998 words)
- Swedish (sv): ๐จ (5968 words)
- Turkmen (tk): ๐จ (5814 words)
- Latin (la): ๐จ (5802 words)
- Irish (ga): ๐จ (5082 words)
- Bulgarian (bg): ๐จ (4953 words)
- Azerbaijan (az): ๐ฉ (4873 words)
- Mongolian (mn): ๐จ (4830 words)
- Russian (ru): ๐จ (4688 words)
- Gaelic (gd): ๐จ (4660 words)
- French (fr): ๐จ (4482 words)
- Occitan (oc): ๐จ (4204 words)
- Armenian (hy): ๐จ (3848 words)
- Western Armenian (hyw): ๐จ (3748 words)
- Spanish (es): ๐จ (3602 words)
- Croatian (hr): ๐จ (3591 words)
- Fur (fur): ๐จ (3569 words)
- Finnish (fi): ๐ฉ (3271 words)
- Galician (gl): ๐จ (3269 words)
- Italian (it): ๐จ (2783 words)
- Latvian (lv): ๐จ (2775 words)
- Interlingua (ia): ๐จ (2476 words)
- Esperanto (eo): ๐จ (2449 words)
- German (de): ๐จ (2277 words)
- Nepali (ne): ๐จ (2197 words)
- Interlingue (ie): ๐จ (2147 words)
- Lithuanian (lt): ๐จ (2004 words)
- Luxembourgish (lb): ๐จ (1752 words)
- Quenya (qya): ๐จ (1327 words)
- Low German (nds): ๐จ (1001 words)
- Vietnamese (vi): ๐ง (739 words)
- Latgalian (ltg): ๐ฅ (388 words)
- Klingon (tlh): ๐ฅ (270 words)
- Maori (mi): ๐ฅ (128 words)
- Kinyarwanda (rw): ๐ฅ (21 words)
- Josh Wardle (original Wordle creator)
- NYT (presumably holds the copyright or some IP rights or something with their $$$ purchase)
- Elizabeth S (inventor of the Wordle grid)
- Nadia H (my lovely beta-tester)
- Daniel Rodriguez (for some inspiration with Tailwind)
- Wordles of the World for a community-sourced list of wordle-derivatives (it's impressive how many actually exist)
- https://www.nytimes.com/games/wordle/index.html - english word list
- https://kaino.kotus.fi/sanat/nykysuomi/ - Finnish word list
- https://github.com/wooorm/dictionaries - most other word lists (Titus Wormer is an incredible dude)