0xack13 / logss

A simple cli for logs splitting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


logss

logs splitter

A simple command line tool that helps you visualize an input stream of text.

screenshot

Key FeaturesUsageScreenshotsDownloadRoadmapLicense

Key Features

  • Select render/stream speed
  • Automatic color assigned to each string match
  • Vertical and Horizontal view
  • Pause and continue stream
  • Scroll Up/Down
  • Delete containers on runtime
  • Add new containers on runtime
  • Dedicated container for raw stream
  • Toggle line wraping
  • Zoom into a specific container

Usage

$ logss -h
Simple cli command to show logs in a friendly way

Usage: logss [OPTIONS]

Options:
  -c, --contains <CONTAINERS>  Finds the substring
  -r, --render <RENDER>        Defines render speed in milliseconds [default: 100]
  -h, --help                   Print help
  -V, --version                Print version

$ cat shakespeare.txt | logss -c to -c be -c or

Screenshots

Zooms

Pause

Vertical toggle

Dynamic input and removal

Download

Pre compiled binaries for several platforms can be downloaded from the release section.

Roadmap

This is just a personal project intended to learn Rust, so things move slowly. Currently it is a Alpha release because there are several things missing but it works and can be useful for someone.

This is a list of things I plan to do:

  • Add documentation (the rust way)
  • Refactoring (as I learn more Rust things)
  • Tests
  • Container hide/show
  • Accept regexp
  • Configuration file (to start with a predefined state)
  • Smart timestamp highlights
  • ... whatever I can think of when I am using it

License

MIT

About

A simple cli for logs splitting

License:MIT License


Languages

Language:Rust 100.0%