fakie

Crates.iofakie
lib.rsfakie
version0.1.1
created_at2025-06-02 07:30:22.987552+00
updated_at2026-01-18 08:56:11.79802+00
descriptionThe flaky web proxy.
homepagehttps://github.com/tmeumann/fakie
repositoryhttps://github.com/tmeumann/fakie
max_upload_size
id1697749
size103,854
(tmeumann)

documentation

README

fakie – the flaky web proxy

An HTTP proxy for testing web apps under flaky network conditions. Can be configured to drop:

  • the first n attempts to send each request;
  • the first n attempted responses from each request; and/or
  • a percentage of requests and/or responses at random.

No automated tests were used, but also no vibes. Use at your own risk.

A moymoy.dev project.

Usage

Ensure you have Rust installed, then install fakie using cargo:

cargo install fakie

Run fakie --help for CLI usage.

TODO

  • drop first request attempt
  • configurable listen address
  • logging/stdout
  • counter reset
  • read hostname from CLI
  • read IP address from CLI
  • read TLS/no TLS from CLI
  • configurable drop rate
  • chaos mode (random drops)
  • find next available port when socket in use
  • automated tests
  • CI/CD
  • windows
  • execute sub-process and detect open port?
  • time-based filter?
  • path re-writes
Commit count: 16

cargo fmt