Skip to content

JournalView is a lightweight, terminal-based application written in Rust that allows users to efficiently view, filter, and navigate system logs from journalctl.

Notifications You must be signed in to change notification settings

codervijo/journalview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JournalView

A lightweight, terminal-based application written in Rust for efficiently viewing, filtering, and navigating system logs from journalctl.

jview1

Features

  • Log Viewing: Access logs from journalctl logs.
  • Filtering: Powerful filtering capabilities
  • Keyboard Navigation: Intuitive hotkeys for seamless log exploration.
  • Customizable View: Adjust the display for better readability.

Installation

Prerequisites

  • Rust: Ensure Rust is installed. You can install Rust using rustup.

Clone the Repository

git clone https://github.com/codervijo/journalview.git
cd journalview

Build the Application

cargo build --release

Run the Application

./target/release/journalview

Usage

Basic Commands

  • Launch the application:

    journalview
  • Navigate logs using arrow keys or predefined hotkeys.

Filtering Logs

  • Press / to enter a search query (regex supported).
  • Use Tab to switch between different log sources.

Hotkeys

Key Action
Arrow Up Scroll up in the log list
Arrow Down Scroll down in the log list
Enter Select a log entry
/ Start a search
q Quit the application

Contributing

Contributions are welcome! Follow these steps to contribute:

  1. Fork the repository.
  2. Create a feature branch:
    git checkout -b feature-name
  3. Commit your changes:
    git commit -m "Description of changes"
  4. Push to your fork:
    git push origin feature-name
  5. Open a Pull Request.

License

This project is licensed under the MIT License.

Acknowledgments

Inspired by the functionality of journalctl and enhanced by the capabilities of Rust for high-performance, terminal-based tools.

About

JournalView is a lightweight, terminal-based application written in Rust that allows users to efficiently view, filter, and navigate system logs from journalctl.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages