Crates.io | arxy |
lib.rs | arxy |
version | 0.0.1 |
source | src |
created_at | 2020-07-29 11:26:02.127434 |
updated_at | 2020-07-29 11:26:02.127434 |
description | Arbitrary forward proxy |
homepage | https://github.com/synbod/arxy |
repository | https://github.com/synbod/arxy |
max_upload_size | |
id | 270900 |
size | 48,850 |
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.
cargo install 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>
-p, --port
Listen port. Default to `8080`
-f, --config-file
Path to config file. Default to `./arxy.config.json`
A JSON file to configure both server and forwarded routes. see arxy.config.json.example
for an example config.