Skip to content

essentialkaos/lj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

129 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Tool for viewing JSON logs

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors