sspathare97 / skribbl-assistant

Fetches the Skribbl.io wordlist and displays clickable hints based on the current word's pattern.
7 stars 0 forks source link

Can i add another question or change the wordlist? #2

Open Scanda85 opened 3 years ago

Scanda85 commented 3 years ago

Can i add another language (e.g. german)? Or can i adapt the wordlist or create my own word list?

Is there any howto?

i0Z3R0 commented 2 years ago

I don't have a lot of experience coding, but from the source code the wordlist is fetched from https://api.npoint.io/91ac00bc3d335f00e13f (line 91). You can create a custom wordlist on npoint.io as an array and change the code after you add it to Tampermonkey.

Install using GreaseyFork and Tampermonkey so you can edit the code. I found this other Github repo https://github.com/skribbliohints/skribbliohints.github.io and there are json files with other languages such as German. Click on one of them and click on raw, and copy the text.

Then go to https://data.page/json/csv, paste what you copied, and click on copy to clipboard after it's done.

Then go to https://onlinecsvtools.com/extract-csv-columns, and choose to extract column one. Copy everything (delete the first row, it's a weird character or something).

Then go to https://arraythis.com/ and paste in everything on the left, click convert, and click copy next to the second one that says [ javascript ].

Then, finally, copy everything and go to https://www.npoint.io/ , click on new on the top right, paste everything, and click on lock data.

Then, finally, click on share on the top right and copy the first link which might look like https://api.npoint.io/XXXXXXXXXXXXXX, and replace the link on line 91 with the one you copied.

That's a lot of steps… but it could definitely be worth it.

Hope this helps! @Scanda85

sspathare97 commented 2 years ago

It would be great if there was a way to detect the current language and then choose the wordlist accordingly.