A desktop utility designed for efficiently viewing multi-gigabyte HTML log files without running out of memory. Logs are loaded in pages on-demand, ensuring instant scrolling even for extremely large files.
Before running the install script, ensure you have the following software installed on your machine:
- Download the
install_biglog.shscript from the GitHub repository, or copy the script into a new file. - Make the script executable and run it:
chmod +x install_biglog.sh
./install_biglog.shThe script will:
- Install Homebrew, git, and Go if not already installed.
- Clone the repository to a temporary folder.
- Build the universal binary.
- Place the biglog binary on your Desktop.
- Download the
install_biglog.ps1script from the GitHub repository, or copy the script into a new file. - Open PowerShell as Administrator and run the following commands:
Set-ExecutionPolicy Bypass -Scope Process -Force
.\install_biglog.ps1The script will:
- Install Git and Go via winget if not already installed.
- Clone the repository to the
%TEMP%directory. - Build the
biglog.exebinary. - Move the built binary to your Desktop.
- Double-click to launch the biglog.exe application on Windows, or biglog on macOS.
- Open your browser and go to http://localhost:8844 to access the log viewer UI.
- Infinite Scrolling: Memory-safe paging for large files, ensuring smooth and instant scrolling.
- Search: Fast, real-time searching with jump-to-match functionality.
- Toggle Views: Switch between raw log text and rendered HTML.
- Cross-Platform Support: Precompiled binaries for both macOS (ARM/Intel) and Windows.
- By default, Big-Log Viewer looks for a
logsfolder in the same directory as the executable. - The location of this folder can be customized, allowing flexibility in where your log files are stored.
Once running, Big-Log Viewer operates via a command-line interface. To exit, simply press Ctrl+C to stop the process.
If you prefer to build the application yourself:
git clone https://github.com/tm-LBenson/big-log-viewer.git
cd big-log-viewer
$version = (Get-Content package.json | ConvertFrom-Json).version
go build -ldflags "-X main.appVersion=$version" -o biglog.exe ./cmd/biglogOn macOS, use -o biglog instead of -o biglog.exe.
Frontend assets are embedded in the binary; no additional files are required.