ovr

module
v0.0.0-...-6d65439 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2024 License: MIT

README

ovr

A CLI tool to pipe anything into and apply transformations with an advanced UI.

Build

go build -o ovr ./cmd/ovr

Enable geo features.

go build -tags geo -o ovr ./cmd/ovr

Features

  • Fuzzy search for block names
  • Apply actions, cancel actions using backspace
  • Parse text, chain & transform
  • Known formats (multiline, csv, json ..) filtering, transforming
  • Plot
  • Highlight known code
  • Create scripts using TUI, replay scripts with simple CLI options

Inputs Outputs

Format

  • Text
  • Lines
  • CSV
  • JSON
  • YAML
  • TOML
  • Images
  • Geometry

Values Types

  • numbers
  • durations
  • time, epoch, parse
  • bin

Transformations

  • to upper/lower
  • Title
  • CamelCase
  • encoding from/to (b64, hex ...)
  • hashes
  • count inputs
  • time parse transform, epoch
  • duration add substract
  • escape unescape
  • reformat input, prettifie
  • JWT decode
  • known payloads (AWS...), logs severity, golang stack, java stack...
  • Minify
  • sort by a column/property
  • Add/Set value
  • dedup
  • conversion (json, csv, yaml, toml)
  • Filter fields, select values
  • output to a configurable filename, xxx-%Y%m%d.txt
  • execute a shell command
  • Colors, RGBtoHex, js names to colors
  • WKB/WKT/GeoJSON (geometry)
  • Geometry: area, centroid, timezone,
  • Skip entries
  • Time timezone
  • to qrcode
  • ip address

Real workflows

  • from clipboard, unescape json, parse json, prettryfier, colorize
  • from pipe, recognize CSV, apply sort by 3rd column, display output

Libraries to consider

Code Highlight color
UI
Screen recording

Content type guess

Encode
Logs

Markdown

Transform

Inspirations

Crazy Ideas

Geography
  • display GeoJSON as a map
  • Find Centroid
  • to/from s2
  • to/from h3
Online
Unicode
  • code to unicode
  • name to unicode

Name

The name over is based on Over and Over from Hot Chip

TODO

  • add a time action, then filter by time action when the type is time
  • hex dump

Directories

Path Synopsis
cmd
ovr

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL