Code Monkey home page Code Monkey logo

the-big-username-blocklist's Introduction

The-Big-Username-Blocklist

This is a opinionated blocklist of words that you might not like to see used as usernames in your service (think username.domain.com, domain.com/username or username@domain.com).

The editable blocklist can be found in list_raw.txt and is categorized into six sections:

  • Privileges User privilege terms to prevent faked authority. Example: root, super
  • Code: Programming terms that you might want to avoid in a url. Example: void, null
  • Terms: Various technical terms. Example: request, system
  • Financial: This is for the spammers/scammers. Example: payment, invoice
  • Sections: Common website pages and sections. Example: faq, help
  • Actions: User actions. Example: delete, create

You can try the blocklist using the tool Username checker.

Please note that this list does not contain any curse words, there are other lists for that.

How it works

This repro contains standard data files, just pick the format of your choosing.

Packages

Blocklist has been ported to different languages.

Official

Third party libraries containing data from blocklist

Contributing

Want to contribute? Awesome.

  • Checkout the origin/develop branch
  • First edit list_raw.txt
  • When you are done, run python scripts/generate.py.
  • ... This script will update the various list files.
  • Done? Send a pull request.

Release start

These hooks will automatically bump the application version when using git flow release ...

chmod +x $PWD/git-hooks/bump-version.sh
ln -nfs $PWD/git-hooks/bump-version.sh .git/hooks/post-flow-release-start
ln -nfs $PWD/git-hooks/bump-version.sh .git/hooks/post-flow-hotfix-start

Git workflow and release management

This project uses gitflow and semantic versioning.

License

The-Big-Username-Blocklist is released under the MIT License.

the-big-username-blocklist's People

Contributors

agentcosmic avatar boserup avatar darwintantuco avatar fbartolitsch avatar marcw avatar marteinn avatar svenluijten avatar timwolla avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

the-big-username-blocklist's Issues

Usernames that should be blocked for non-technical reasons

It seems this list is focused on blocking technical terms that are potentially harmful. What's a good practice to block usernames that are otherwise illegal or inappropriate?

If the scope of this list wants to stay focused on technical terms, a pointer in the README could be beneficial. Happy to help contribute.

What about non-English words?

While different words in this block list fall into categories, words that fall into category "confusing and misleading usernames" such as "admin, administrator or username etc" might require their equivalent words in non English languages.

release on npm

Would be awesome if this project was also released on npm. Currently, there is Mottie/github-reserved-names, but this project has a lot more reserved names.

const blacklist = require('the-big-username-blacklist');

if (blacklist.indexOf(username) > -1) {
  throw Error(`username '${username}' is reserved`);
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.