You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently all the words are committed in the repository as swearwords.txt, I want to find a better solution for removing the need to have this committed - either downloading on the fly wordlists from somewhere (which could allow for updating) or something else.
Just want to get the conversation going and see what people think is the best solution.
The text was updated successfully, but these errors were encountered:
So as of right now, if someone wants an updated swearlist, they have to update the NPM package? Are you wanting them to be able to have access to an updated list without having to update the NPM package?
I guess my question would be what is the use case for the no-swears package. I have some ideas but would like more info so I can help you brainstorm!
Yeah, currently the only way to update it would be updating the npm package. I'd rather have it behave somewhat like an adblocker where it can update the list on it's own - plus we'd also have an open wordlist for anyone else to use.
You can host on a external server but instead of using a plain (.txt) file you can use a json structure and make GET requests like "https://someserver.com?q=swearword"
which can return like:
{
"status": "ok",
"is_swear": "false",
"word": "swearword"
}
Currently all the words are committed in the repository as swearwords.txt, I want to find a better solution for removing the need to have this committed - either downloading on the fly wordlists from somewhere (which could allow for updating) or something else.
Just want to get the conversation going and see what people think is the best solution.
The text was updated successfully, but these errors were encountered: