Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/marteinn/The-Big-Username-Blocklist

This is a opinionated blocklist of words that you might not like to see used as usernames in your service.
https://github.com/marteinn/The-Big-Username-Blocklist

blocklist blocklist-data

Last synced: 13 days ago
JSON representation

This is a opinionated blocklist of words that you might not like to see used as usernames in your service.

Awesome Lists containing this project

README

        

# 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](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](http://marteinn.github.io/The-Big-Username-Blacklist-JS/).

Please note that this list does not contain any curse words, there are [other lists](https://github.com/shutterstock/List-of-Dirty-Naughty-Obscene-and-Otherwise-Bad-Words) for that.

## How it works

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

- newline: [list.txt](list.txt)
- json: [list.json](list.json)
- python: [list.py](list.py)
- javascript (es6): [list.js](list.js)
- javascript (commonjs): [list-commonjs.js](list-commonjs.js)
- php: [list.php](list.php)
- yaml: [list.yaml](list.yaml)

## Packages

Blocklist has been ported to different languages.

### Official
- [python](https://github.com/marteinn/the-big-username-blacklist-python)
- [node](https://github.com/marteinn/the-big-username-blacklist-js)

### Third party libraries containing data from blocklist
- [the_big_username_blacklist (ruby)](https://github.com/unlearned/the_big_username_blacklist)
- [the-big-username-blacklist (elixir)](https://github.com/dcrtantuco/the-big-username-blacklist)
- [username-blocklist (rust)](https://lib.rs/crates/username-blocklist)
- [django-username-tools (python/django)](https://github.com/poudel/django-username-tools)

## 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 ...`

```bash
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](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow) and semantic versioning.

## License

The-Big-Username-Blocklist is released under the [MIT License](http://www.opensource.org/licenses/MIT).