Bismillah.
This is an unofficial Linux/macOS front-end for Vaktija.ba. It relies on the data provided by this service and presents it on the command-line interface.
Vactija uses libcurl to access API data and therefore also requires a working internet connection (at least once per day).
To parse JSON data, it depends on jsmn which is a header library included in the program's source code.
You will need a C compiler, make and libcurl to install Vactija:
- Run
git clone https://github.com/Salihbasic/vactija cd vactijacp config.def.h config.h(and edit the config according to your preferences)- Optionally edit
Makefilefor extra configuration - Run
sudo make install cleanto install vactija
You might also wish to use make release or make testrel which will create a new directory within the vactija directory (either release or testrel). The testing release can be passed to GDB for debugging. Regular release is the binary like the one used by install except it is not installed to any directory.
If you wish to reconfigure the application, simply edit config.h and run sudo make install clean (or any other appropriate option) again.
INSTALLDIR holds the directory used by make install, it defaults to /usr/local/bin/.
TERMCOLORS allows you to decide whether you want to use ANSI colour codes (enabled by default) for coloured output (raw output is unaffected). If you wish to disable it, simply remove -DUSE_ANSI_COLOR and leave it empty.
