Awesome
MiniTox
minitox
is a minimal client written for
toxcore. It's an example of tox client
implementation and also a toy which new developers coming to tox can play and
start with, therefore getting familiar with the project.
Features
- Single file and small codebase;
- Fully standalone (No 3rd library needed, only rely on toxcore and system C library);
- Covered most APIs of friend & group, and more to come;
- Fun to play with (colored text, async REPL, etc.).
Build
If toxcore has been installed into the system path, use
make
Or link it manually (assuming libtoxcore.so
exists in TOX_LIB_DIR
, and
tox.h
in TOX_H_DIR/tox
):
$ gcc -o minitox minitox.c -I TOX_H_DIR -L TOX_LIB_DIR -Wl,-rpath TOX_LIB_DIR -ltoxcore
Config
To keep things simple, minitox
does not provide command line options, except
for -h
and --help
. To change its behaviour, you are encouraged to modify
the source file and rebuild. The source file has been heavily commented.