Skip to content
/ dialog Public

High-performance desktop application for LOG file analysis and viewing

License

Notifications You must be signed in to change notification settings

basp1/dialog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

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.

Building from Source

Prerequisites

  • C++17 compatible compiler (GCC, Clang, MSVC)
  • Qt6 development libraries (Core, Widgets, Network)
  • CMake 3.16+

Settings

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})"
    }
  ]
}

Screenshots

image image

About

High-performance desktop application for LOG file analysis and viewing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published