Synapse

Matrix.org homeserver reference implementation

register users

source ~/synapse/env/bin/activate
synctl start # if not already running
register_new_matrix_user -c homeserver.yaml http://localhost:8008

(source)