eyez

package module
v0.0.0-...-bbe6363 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2022 License: BSD-2-Clause Imports: 10 Imported by: 0

README

eyeZ

HTTP proxy experiment powered by bubbletea and httransform

Features

  • Terminal UI
  • Database recording (similar to hyperfox)

Installation

TUI and proxy/recorder are different binaries. eyez is the proxy and eyez-tui is where the terminal viewer lives.

# Proxy/Recorder binary
go install github.com/rubiojr/eyez/cmd/eyez@latest

# optional TUI Viewer binary
go install github.com/rubiojr/eyez/cmd/eyez-tui@latest

Usage

Proxy:

eyez --port 1080 --db /path/to/sqlite.db

TUI Viewer

eyez-tui --db /path/to/sqlite.db

Action shots

TUI Viewer

Proxy Screen

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultLayers

func DefaultLayers(opts *ProxyOptions) ([]layers.Layer, error)

Types

type Proxy

type Proxy struct {
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, opts *ProxyOptions) (*Proxy, error)

func (*Proxy) Serve

func (p *Proxy) Serve() error

type ProxyOptions

type ProxyOptions struct {
	Port   int
	BindIP string
	Layers []layers.Layer
	CACert string
	CAKey  string
	DBPath string
}

Directories

Path Synopsis
cmd
internal
db
tui

Jump to

Keyboard shortcuts

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