1) First draft of the TUI functionality

2) Added env_reader functions (env.hpp and env.cpp)
3) Program looks for a .env on startup and creates one based on user input if not found.
4) Refactored log_parsing and ip_to_geo to use the global env variables for parsing and ip lookup from the local .mmdb database
5) CMakeLists.txt is now cross platform functional
6) Added various cross platform checks for creating .env variables
This commit is contained in:
rapturate
2026-06-09 14:29:42 -04:00
parent bdaf8451a0
commit 42f50c9e9a
9 changed files with 537 additions and 62 deletions

10
README.md Normal file
View File

@@ -0,0 +1,10 @@
This TUI program is for taking in an Apache2 access log file and providing an interactive interface to check your logs.
REQUIREMENTS:
- Access to a GeoLite2-City.mmdb database file.
* The signup page is provided here:
https://dev.maxmind.com/geoip/geolite2-free-geolocation-data/
NOTES:
- The TUI will ask for the access.log file location and the GeoLite2-City.mmdb file location on startup.
* I have not tried using the GeoLite2-Country.mmdb file and do not know if it will crash the application...