WORK IN PROGRESS: this is more an explorative study for now
To install use:
pip install cmsend
To send and receive from a single chatmail relay:
cmsend --init nine.testrun.org # <-- substitute with the domain you want to set as origin
To setup a tagged chat using an invite link:
cmsend -t LOG --join "INVITELINK" # <-- quotes are neccessary because links contain "&"
To send a message to a tagged chat:
echo "hello" | cmsend -t LOG
To list all chats with tags:
cmsend -l
To send a message to a tagged chat with an attachment:
cmsend -t LOG -m "here is the file" -a README.md
To show help:
cmsend -h
-
clone the git repository at https://github.com/chatmail/cmsend
-
install 'cmsend" in editing mode:
pip install -e . -
edit cmsend.py and test, finally commit your changes
-
set a new git-tag
-
install build/release tools:
pip install build twine -
run the following command:
rm -rf dist && python -m build && twine upload -r pypi dist/cmsend*