lj

command module
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

README

GitHub Actions CI Status GitHub Actions CodeQL Status

InstallationUpgradingUsageCI StatusLicense


lj is is a tool for viewing JSON logs.

Screenshots

lj preview

Installation

From source

To build the lj from scratch, make sure you have a working Go 1.23+ workspace (instructions), then:

go install github.com/essentialkaos/lj@latest

Prebuilt binaries

You can download prebuilt binaries for Linux and macOS from EK Apps Repository:

bash <(curl -fsSL https://apps.kaos.st/get) lj

Upgrading

Since version 0.3.0 you can update lj to the latest release using self-update feature:

lj --update

This command will runs a self-update in interactive mode. If you want to run a quiet update (no output), use the following command:

lj --update=quiet

[!NOTE] Please note that the self-update feature only works with binaries that are downloaded from the EK Apps Repository. Binaries from packages do not have a self-update feature and must be upgraded via the package manager.

Command-line completion

You can generate completion for bash, zsh or fish shell.

Bash:

lj --completion=bash | sudo tee /etc/bash_completion.d/lj > /dev/null

ZSH:

lj --completion=zsh | sudo tee /usr/share/zsh/site-functions/lj > /dev/null

Fish:

lj --completion=fish | sudo tee /usr/share/fish/vendor_completions.d/lj.fish > /dev/null

Man documentation

You can generate man page using next command:

lj --generate-man | sudo gzip > /usr/share/man/man1/lj.1.gz

Usage

CI Status

Branch Status
master CI
develop CI

Contributing

Before contributing to this project please read our Contributing Guidelines.

License

Apache License, Version 2.0

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL