Dependencies

Near-zero external dependencies — pure C with libc + libcurl (statically linked). All crypto, JSON, TLS, terminal UI, image processing, and protocol handling compiled from vendored or hand-written source.

410,272
Lines of Code
515
Source Files
0
External Deps
0
System Includes
157
libc Functions
Zero external dependencies — pure C with libc only. All functionality is either hand-written C11 or vendored single-file libraries compiled from source. The only runtime linkage on native Linux is libcurl (statically linked from /opt/curl-static). No package manager, no git submodules, no dynamic library downloads.

Dependency Summary

Runtime External Libraries

Vendored / Compiled Source

System Includes Analysis

Category Count Headers

libc Usage

Category Count Functions
String 20 strcmp, strlen, strdup, strndup, strncmp, strcpy, strncpy, strcat, strncat, strstr, strchr, strrchr, strtok, strtol, strtoul, strtod, strtoll, strtoull, strerror, strftime
Memory 10 malloc, calloc, realloc, free, mmap, munmap, memcpy, memset, memmove, memcmp
Io File 13 fopen, fclose, fread, fwrite, fgets, fputs, fseek, ftell, fflush, feof, ferror, fileno, fdopen
Io Fd 13 read, write, open, close, lseek, dup, dup2, pipe, fcntl, ioctl, isatty, ftruncate, fsync
Io Formatted 7 printf, fprintf, snprintf, sprintf, vsnprintf, vfprintf, perror
Filesystem 19 stat, fstat, lstat, access, unlink, rename, mkdir, rmdir, opendir, readdir, closedir, realpath, symlink, readlink, chmod, chown, umask, mkstemp, mkdtemp
Network 27 socket, connect, bind, listen, accept, send, recv, sendto, recvfrom, setsockopt, getsockopt, getaddrinfo, freeaddrinfo, getsockname, getpeername, shutdown, inet_pton, inet_ntop, htons, ntohs, htonl, ntohl, gethostname, select, poll, epoll_ctl, epoll_wait
Process 20 fork, execvp, execv, execve, waitpid, kill, signal, sigaction, getpid, getppid, getuid, getgid, setuid, system, popen, pclose, _exit, exit, abort, atexit
Thread 12 pthread_create, pthread_join, pthread_mutex_init, pthread_mutex_lock, pthread_mutex_unlock, pthread_mutex_destroy, pthread_cond_init, pthread_cond_wait, pthread_cond_signal, pthread_cond_broadcast, pthread_cond_destroy, pthread_rwlock_init
Time 9 time, localtime, gmtime, strftime, mktime, clock_gettime, sleep, usleep, nanosleep
Terminal 2 tcgetattr, tcsetattr
Environment 6 getenv, setenv, putenv, getcwd, chdir, gethostname
Other 9 atoi, atof, atol, abs, rand, srand, qsort, bsearch, getopt

Reimplemented (No External Library)

🔧 JSON streaming parser
🔧 JSON wrapper helpers (yyjson-based)
🔧 Terminal UI (no ncurses)
🔧 HTML stripper
🔧 KQL-to-SQL translator
🔧 TCP raw-socket HTTP client
🔧 PTY-based process executor
🔧 Configuration system
🔧 Argument parsing / slash command parser
🔧 Thunderbolt 4 transport

Internal Libraries

Name Description Path Lines
libsxutil 23,736
libsxnet 22,785
libsxui 3,378
libsxbridge 625
libtb4 1,043

Vendored Libraries

Name Description Path Lines
yyjson 19,556
mbedtls 208,584
stb_image 7,988

Linking Strategy

Method: cmake -static flag, CMAKE_FIND_LIBRARY_SUFFIXES=.a
Result:

Platform Support

Platform Notes