arxy

Crates.ioarxy
lib.rsarxy
version0.0.1
sourcesrc
created_at2020-07-29 11:26:02.127434
updated_at2020-07-29 11:26:02.127434
descriptionArbitrary forward proxy
homepagehttps://github.com/synbod/arxy
repositoryhttps://github.com/synbod/arxy
max_upload_size
id270900
size48,850
Chris Chou (chhschou)

documentation

README

Arxy

Arxy is a forward proxy to help with making API calls to 3rd party services. It is not a gateway to aggregate multiple 3rd party services, although it isn't hard to add a GraphQL front end using something like Juniper (https://github.com/graphql-rust/juniper).

Arxy is built with Actix-web but it is simple enough to potentially be built with a low level http library.

Getting started

  1. Install via cargo
cargo install arxy
  1. Start arxy
# start with defaults, just echos what was passed through
arxy

# common command line options, please see section on configuration below
arxy -p <port>
arxy -f <path to config>

Configuration

Command line options

  -p, --port
    Listen port. Default to `8080`

  -f, --config-file
    Path to config file. Default to `./arxy.config.json`

Configuration file

A JSON file to configure both server and forwarded routes. see arxy.config.json.example for an example config.

Commit count: 5

cargo fmt