Metadata-Version: 2.4
Name: dismew
Version: 0.2.1
Summary: Debugger tool for Logstash's Grok parsing language.
Keywords: Grok,Debugger,Textualize,TUI,Logging
Author: spuzkov
Author-email: spuzkov <spuzkov@tuta.com>
License-Expression: GPL-3.0-or-later
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Environment :: Console
Classifier: Topic :: Software Development :: Debuggers
Requires-Dist: textual>=8.2.8
Requires-Dist: textual-dev>=1.8.0
Maintainer: spuzkov
Maintainer-email: spuzkov <spuzkov@tuta.com>
Requires-Python: >=3.12
Project-URL: Documentation, https://codeberg.org/spuzkov/dismew#readme
Project-URL: Issues, https://codeberg.org/spuzkov/dismew/issues
Project-URL: Source, https://codeberg.org/spuzkov/dismew
Description-Content-Type: text/markdown

# Dismew

A TUI debugger for Logstash's Grok Processor. Supports all ecs-v1 patterns (AWS, Java, Firewalls, etc.) listed [here](https://github.com/logstash-plugins/logstash-patterns-core/tree/main/patterns/ecs-v1).

> [!Important]
> All of patterns in the pattern directory are licensed under Apache 2.0.

## Usage

### Try without installing

```bash
uvx dismew
```

### Isolated Install

```bash
uv tool install dismew
```

```bash
pipx install dismew
```

## Things I that need completion before V1 can be released

- [ ] Add pattern suggestions

- [ ] Faster everything

- [ ] Highlighting for matches

- [x] Support both full matching and partial

- [x] Display hints on how to fix broken pattern

## Develop

Project management is with [Hatch](https://hatch.pypa.io/1.12/).

Clone this repository

```bash
git clone https://codeberg.org/spuzkov/dismew.git
cd dismew
```

Create an environment

```bash
uv venv
```

```bash
uv sync
```

```bash
source .venv/bin/activate
```

Attach to the environment

Open new terminal window/pane/tab for debugging, and run

```bash
textual console
```

And then run in dev mode

```bash
textual run --dev /src/dismew/app.py
```

## Contributing

All contributions are welcome (except those that have been made with LLMs).
Please respect this request of **not** contributing generated code.
