I wonder if there were attempts to make command-line friendly interface, or is there API to interact with?
Hi @ggouss, jami-cli is the main effort for a TUI.
Depending on your system there are different options. Jami’s daemon (currently called dring, although it will eventually be renamed) provides a dbus API. Here is an example of using it in a script: http://people.skolelinux.org/pere/blog/Latest_Jami_back_in_Debian_Testing__and_scriptable_using_dbus.html
There is also a python command wrapper and of course a Java API for Android.
More documentation here: https://git.jami.net/savoirfairelinux/ring-project/wikis/technical/1.-The-different-APIs
Do you want to make a client or some sort of service on the Jami network?
I’m looking for a way to use Jami on terminal, as separate client or on a multiprotocol messenger like, for example, pidgin/finch through libpurple.
My other interest is to use some kind of bot on Jami network for notification/automation tasks.
@wrycode, thank you for useful links, very helpful
Read this entry CLI commandline-interface / websocket interface etc / Node.JS client
It talks about CLI use for Jami
There is no change in August 2024.
There is the Rust TUI that runs in a terminal, hence, CLI: jami-cli.
CLI commandline-interface / websocket interface etc / Node.JS client comiles and runs in 2024 and it allows to send text and files.
Then there is Python. jami-daemon/tools/jamictrl at master · savoirfairelinux/jami-daemon · GitHub allows you to set up an account, create new conversations and send messages and files from the CLI, tested in 2024, and useful for bots are people preferring the CLI to shoot of a quick message.
There is now a Python package available at PyPi for easy installation:
pip install jami-commander
It has some functionality, but certainly far from being complete. PyPi has a link to the source code: GitHub - 8go/jami-commander: simple but convenient CLI-based Jami client app for setting up accounts and swarms as well as sending