No description
  • C 99.8%
  • Makefile 0.2%
Find a file
2026-04-20 00:44:27 +00:00
.gitignore add gitignore 2018-06-25 16:09:16 +08:00
LICENSE Initial commit 2018-04-16 17:51:10 +08:00
Makefile add Makefile 2018-06-25 15:15:12 +08:00
minitox.c add optional logging when -l flag passed 2026-04-20 00:44:27 +00:00
minitox.jpeg add pic 2018-04-16 18:14:07 +08:00
README.md remove TODO from README 2026-04-19 15:33:16 +00:00

MiniTox improved

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

  1. Single file and small codebase;
  2. Fully standalone (No 3rd library needed, only rely on toxcore and system C library);
  3. Covered most APIs of friend & group, and more to come;
  4. 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.