https://github.com/k1low/filt
filt is a interactive/realtime stream filter ( also known as "trial-and-error pipe" ).
https://github.com/k1low/filt
interactive pipes realtime stream-filter trial-and-error
Last synced: 6 months ago
JSON representation
filt is a interactive/realtime stream filter ( also known as "trial-and-error pipe" ).
- Host: GitHub
- URL: https://github.com/k1low/filt
- Owner: k1LoW
- License: mit
- Created: 2019-07-07T12:15:02.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-04-29T11:26:45.000Z (over 1 year ago)
- Last Synced: 2025-03-25T16:51:25.167Z (7 months ago)
- Topics: interactive, pipes, realtime, stream-filter, trial-and-error
- Language: Go
- Homepage:
- Size: 245 KB
- Stars: 74
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# filt [](https://github.com/k1LoW/filt/actions) [](https://github.com/k1LoW/filt/releases)   
`filt` is a interactive/realtime stream filter ( also known as _"trial-and-error pipe"_ ).

## Usage
``` console
$ tail -F /var/log/nginx/access.log | filt
```and enter `Ctrl+C`.
### How to filter files by trial and error
You can use `--buffered` ( `-b` ) option
``` console
$ cat /var/log/nginx/access.log | filt -b
```and enter `Ctrl+C`.
### How to exit from filt prompt
Input "exit" to prompt or enter `Ctrl+C`.
### Enable or Disable saving history
**Enable:**
``` console
$ filt config history.enable true
```**Disable:**
``` console
$ filt config history.enable false
```## Install
**homebrew tap:**
```console
$ brew install k1LoW/tap/filt
```**manually:**
Download binany from [releases page](https://github.com/k1LoW/filt/releases)
**go install:**
```console
$ go install github.com/k1LoW/filt@latest
```## Alternatives
- [up](https://github.com/akavel/up): up is the Ultimate Plumber, a tool for writing Linux pipes in a terminal-based UI interactively, with instant live preview of command results.