You have a list of legal words? Where is it available?
Search a word from previous answers, there are 2 arrays that the game uses to check with. Copy those and that’s the dictionary.
Spoiler alert: the first array is the answer array for even future wordles.
That's presumably the reason why I wouldn't want to view the source.