Installation • Upgrading • Usage • CI Status • License
lj is is a tool for viewing JSON logs.
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
You can download prebuilt binaries for Linux and macOS from EK Apps Repository:
bash <(curl -fsSL https://apps.kaos.st/get) ljSince version 0.3.0 you can update lj to the latest release using self-update feature:
lj --updateThis 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=quietNote
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.
You can generate completion for bash, zsh or fish shell.
Bash:
lj --completion=bash | sudo tee /etc/bash_completion.d/lj > /dev/nullZSH:
lj --completion=zsh | sudo tee /usr/share/zsh/site-functions/lj > /dev/nullFish:
lj --completion=fish | sudo tee /usr/share/fish/vendor_completions.d/lj.fish > /dev/nullYou can generate man page using next command:
lj --generate-man | sudo gzip > /usr/share/man/man1/lj.1.gz| Branch | Status |
|---|---|
master |
|
develop |
Before contributing to this project please read our Contributing Guidelines.
