dialog is a high-performance desktop application for log file analysis and viewing, built with C++ and Qt6. This tool efficiently handles large utf-8 text files through memory-mapped I/O and deferred indexing, enabling fast navigation, realtime highlighting, and customizable rule-based filtering.
The application features include integrated AI analysis for contextual insights.
- C++17 compatible compiler (GCC, Clang, MSVC)
- Qt6 development libraries (Core, Widgets, Network)
- CMake 3.16+
The settings.json file should be located in the same folder as the dialog executable. Example content:
{
"font": "Consolas",
"font_size": 12,
"ai": {
"url": "http://tesla.local:9000/v1/chat/completions",
"api_key": "any",
"model": "large",
"prompts": ["Explain like I'm five", "Fix it", "Translate"]
},
"matches": [
{
"title": "Errors",
"text": "[ERR]",
"text_color": "#FF0000",
"background_color": "#FFFFFF",
"bold": true,
"group": "\\[ERR\\]\\s+(\\S+)",
"group_item": "^(\\d{2}:\\d{2}:\\d{2}).*?\\[ERR\\]\\s+\\S+\\s+(.{0,128})"
},
{
"title": "Warnings",
"text": "[WRN]",
"text_color": "#FF0000",
"background_color": "#FFFFFF",
"group": "\\[WRN\\]\\s+(\\S+)",
"group_item": "^(\\d{2}:\\d{2}:\\d{2}).*?\\[WRN\\]\\s+\\S+\\s+(.{0,128})"
}
]
}