Command to get Tox ID

Bob Mottram ce3e2af1b3 Change email address 6 months ago
man 7cb414044c Set the tox user name 3 years ago
src ce3e2af1b3 Change email address 6 months ago
LICENSE 9a99ed8019 Add license 4 years ago
Makefile 19adf540ae Creating new users 3 years ago
README.md 7cb414044c Set the tox user name 3 years ago

README.md

This is a command which prints the Tox ID for the current user, or for a specified user, to the console. It may be useful for scripting interactions with Tox communication systems, or making IDs visible on a network via Avahi services so that they are discoverable.

To compile this you will first need to install toxcore (https://github.com/irungentoo/toxcore)

make
sudo make install

To print your own ID:

toxid

or for a given user:

toxid -u [username]

To advertise your Tox ID via an Avahi service

sudo toxavahi [username]

Then on another system on the same network to discover Tox IDs:

lstox

To create a new tox user named "bar" which will exist in /home/foo/.config.tox

toxid -u foo -n bar

To set the tox username:

toxid --setuser bar