wordlists icon indicating copy to clipboard operation
wordlists copied to clipboard

Consolidate all words in a structured file and generate individual wordlists from the file

Open imsky opened this issue 6 years ago • 4 comments

a root-level JSON should work

imsky avatar Jan 13 '19 18:01 imsky

In case it is of any use, you can get pretty far towards a consolidated file with just a bunch of unix tools:

 grep -r '' . | grep .txt | awk -F '/' '{print $NF}' |
    sed -e "s/.txt//g" | awk -F: '{print $2 " " $1}' | sort

excerpt:

young age
young chicago
young english
you're* reddit
you scary reddit
you wouldn't download reddit
yr hipster
yukon microsoft
yverdon-les-bains switzerland
zaanstad netherlands

bcopeland avatar Oct 28 '20 00:10 bcopeland

ok might give that a try @bcopeland as a first pass, thanks

imsky avatar Oct 28 '20 15:10 imsky

I have a Python script within one of my own projects that takes all the files of wordlists and renders them as a module file for the Rant procgen language. I'd like to fix it up, add support for rendering JSON files using Python's standard library functions, and submit it directly to this repository. Do you have a preferred location for utility scripts like this, or should I just copy it to the repository root?

origintopleft avatar Jan 05 '23 23:01 origintopleft

@origintopleft add to root for now

imsky avatar Jan 19 '23 04:01 imsky