{"id":23326798,"url":"https://github.com/8go/jami-commander","last_synced_at":"2025-10-30T22:19:25.745Z","repository":{"id":254261111,"uuid":"845982028","full_name":"8go/jami-commander","owner":"8go","description":"simple but convenient CLI-based Jami client app for setting up accounts and swarms as well as sending","archived":false,"fork":false,"pushed_at":"2024-08-25T18:29:39.000Z","size":1250,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-14T16:49:16.469Z","etag":null,"topics":["chat","cli","cli-app","client-side","command-line","command-line-tool","communication","e2e-encryption","e2ee","jami","messaging","p2p","p2p-chat","python","send","tool"],"latest_commit_sha":null,"homepage":"https://jami.net","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/8go.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-22T10:01:45.000Z","updated_at":"2024-12-09T11:30:35.000Z","dependencies_parsed_at":"2024-08-22T11:54:24.990Z","dependency_job_id":null,"html_url":"https://github.com/8go/jami-commander","commit_stats":null,"previous_names":["8go/jami-commander"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8go%2Fjami-commander","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8go%2Fjami-commander/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8go%2Fjami-commander/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8go%2Fjami-commander/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/8go","download_url":"https://codeload.github.com/8go/jami-commander/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230636270,"owners_count":18257150,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chat","cli","cli-app","client-side","command-line","command-line-tool","communication","e2e-encryption","e2ee","jami","messaging","p2p","p2p-chat","python","send","tool"],"created_at":"2024-12-20T19:33:56.044Z","updated_at":"2025-10-30T22:19:20.696Z","avatar_url":"https://github.com/8go.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jami-commander\n\nJami (https://jami.net) is a privacy-preserving peer-to-peer communication application available on many platforms. `Jami` is in concept similar to `Keet` (https://keet.io), both are peer-to-peer and use servers as little as possible. As a chat app it is similar to `Matrix` (https://http://matrix.org) as both can be self-hosted.\n\n`jami-commander` (`jc` for short) is a simple but convenient CLI-based Jami client app for setting up accounts and swarms as well as sending.\n\n`jami-commander` helps to set up a Jami account, configure the account and send messages and files to Jami peers. It provides the minimal set of commands to use `Jami` from the CLI.\n\nThe objective of `jami-commander` is to:\n\n+ be able to use `Jami` from the terminal, the CLI, via SSH, and on head-less servers without monitor.\n+ to use minimal resources. No Jami front-end (GUI) needs to be installed.\n+ to be able to perform minimal operations to run a bot, e.g. to publish daily weather information\n+ be simple. It is written in Python.\n\nFunctionality is minimal. You are invited to help to improve `jami-commander`. Pull requests are welcome.\n\n# Installation and Prerequisites\n\n+ `jami-commander` is only a client. It requires the Jami `jamid` daemon to run to performs the work.\n+ first install Jami daemon `jamid` as follows:\n  + e.g. on Fedora 40 (see https://jami.net/download-jami-linux/ for details)\n  + `sudo dnf-3 config-manager --add-repo https://dl.jami.net/stable/fedora_40/jami-stable.repo # add the Jami repo`\n  + `sudo dnf install jami-daemon # install only the jamid daemon`\n  + e.g. on Ubuntu 24.04 (see https://jami.net/download-jami-linux/ for details)\n  + `sudo apt install gnupg dirmngr ca-certificates curl --no-install-recommends`\n  + `curl -s https://dl.jami.net/public-key.gpg | sudo tee /usr/share/keyrings/jami-archive-keyring.gpg \u003e /dev/null`\n  + `sudo sh -c \"echo 'deb [signed-by=/usr/share/keyrings/jami-archive-keyring.gpg] https://dl.jami.net/stable/ubuntu_24.04/ jami main' \u003e /etc/apt/sources.list.d/jami.list\"`\n  + `sudo apt-get update \u0026\u0026 sudo apt-get install jami-daemon # install only the jamid daemon`\n  + This installs around 204MB on Ubuntu\n+ second install dependencies\n  + e.g. Ubuntu 24.04\n  + `sudo apt install libdbus-1-dev libglib2.0-dev libcairo2-dev libgirepository1.0-dev`\n+ third install `jami-commander`\n  + `pip install jami-commander`\n  + see also https://pypi.org/pypi/jami-commander\n+ run the `jamid` daemon:\n  + e.g. on Fedora 40, similar on Ubuntu 24.04, etc.\n  + `/usr/libexec/jamid -p \u0026 # start the jamid daemon`\n+ now you can start and run the `jami-commander`\n  + try `jami-commander -h` first to see what is available\n+ alternatively, if you do not want to install via `pip` and just want to download the files from this repo,\n  then you can run the program, by `cd`-ing into the root project directory\n  and then running a command like\n  + `python -m jami_commander.jami_commander  --help`.\n\n# Features\n\n```\njami-commander supports these arguments:\n\n--usage\n  Print usage.\n-h, --help\n  Print help.\n--manual\n  Print manual.\n--readme\n  Print README.md file.\n-d, --debug\n  Print debug information.\n--log-level DEBUG|INFO|WARNING|ERROR|CRITICAL [DEBUG|INFO|WARNING|ERROR|CRITICAL ...]\n  Set the log level(s).\n--verbose\n  Set the verbosity level.\n--get-enabled-accounts\n  List all enabled accounts by ids.\n--add-account ALIAS HOSTNAME USERNAME PASSWORD\n  Add a new Jami account.\n--remove-account ACCOUNTID [ACCOUNTID ...]\n  Remove a Jami account.\n--get-conversations\n  List all swarm conversations by ids.\n--add-conversation\n  Add a conversation to an account.\n--remove-conversation\n  Remove one or multiple conversations from an account.\n--get-conversation-members\n  List all members of one or multiple swarm conversations by ids.\n--add-conversation-member USERID [USERID ...]\n  Add member(s) to one or multiple swarm conversations.\n--remove-conversation-member USERID [USERID ...]\n  Remove member(s) from one or multiple swarm conversations.\n-a ACCOUNTID, --account ACCOUNTID\n  Connect to and use the specified account.\n-c CONVERSATIONID [CONVERSATIONID ...], --conversations CONVERSATIONID [CONVERSATIONID ...]\n  Specify one or multiple swarm conversations.\n-m TEXT [TEXT ...], --message TEXT [TEXT ...]\n  Send one or multiple text messages.\n-f FILE [FILE ...], --file FILE [FILE ...]\n  Send one or multiple files (e.g. PDF, DOC, MP4).\n-w, --html\n  Send message as format \"HTML\".\n-z, --markdown\n  Send message as format \"MARKDOWN\".\n-k, --code\n  Send message as format \"CODE\".\n-j, --emojize\n  Send message after emojizing.\n--split SEPARATOR\n  Split message text into multiple Jami messages.\n--separator SEPARATOR\n  Set a custom separator used for certain print outs.\n-o TEXT|JSON, --output TEXT|JSON\n  Select an output format.\n-v [PRINT|CHECK], -V [PRINT|CHECK], --version [PRINT|CHECK]\n  Print version information or check for updates.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F8go%2Fjami-commander","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F8go%2Fjami-commander","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F8go%2Fjami-commander/lists"}