Crates.io | http-sense |
lib.rs | http-sense |
version | 0.1.11-beta.2 |
source | src |
created_at | 2022-12-19 05:42:09.715726 |
updated_at | 2023-01-03 04:19:44.655585 |
description | HTTP Reverse Proxy with remote monitoring |
homepage | https://www.httpsense.com |
repository | |
max_upload_size | |
id | 740806 |
size | 1,717,122 |
HTTP Sense is a reverse proxy and network monitoring tool that provides comprehensive network monitoring for your backend servers and microservices. It provides a secure and high-performance gateway that can be used to monitor incoming traffic. HTTP Sense's features include real-time traffic analysis, application-level filtering, user authentication, and more.
HTTP Sense is built on Supabase and utilizes the following features:
You can use HTTP Sense for the following:
You will need cargo
in order to install and run the HTTP Sense CLI. If you do not have cargo installed on your system, please follow the below guide from the official rust-lang docs:
https://doc.rust-lang.org/cargo/getting-started/installation.html
Once you have cargo
installed, you can spin up the dev server using the following command:
cargo run -- <YOUR_SERVER_URL> --publish
Usage Example:
cargo run -- https://0caf7838-7d0a-4a56-8b04-65a9c6f5815e.mock.pstmn.io --publish
example:
https://www.httpsense.com/526a0f41-a617-4f9e-8b40-f18d40104f99/#YXN5MW9wdE1VcXVWS0E1MHY3TDdDa0hJT0RyOVZqQGV4YW1wbGUuY29tOjp1Ym56Y0FOeEliM0toajdRazU5bW4xWFgwNVBkNnE=
If you do not have cargo
installed, please refer to the above section. Once you have it instaled, proceed with the installation for HTTP Sense using the following command:
# To get the latest and greatest version
cargo install --git https://github.com/http-sense/http-sense
After installing HTTP Sense, you can run the CLI server using the commands in the next section.
Usage: http-sense [OPTIONS] <ORIGIN_URL>
TLDR:
http-sense http://localhost:8004 --publish
# use port number as short-hand for localhost servers
http-sense 8004 --publish
http-sense httpsense.com --proxy-port 6001 --publish
http-sense http://localhost:8004 --proxy-port 6001 --proxy-addr 0.0.0.0
Options:
--publish
Publish requests to supabase db, allowing you to remotely access request details
-p, --proxy-port <PROXY_PORT>
Port at which proxy server should listen
[default: 6100]
-a, --proxy-addr <PROXY_ADDR>
Address that proxy server should bind to
[default: 127.0.0.1]
--api-port <API_PORT>
Port at which api server should listen (Alpha)
[default: 6101]
--api-addr <API_ADDR>
Address that api server should bind to
[default: 127.0.0.1]
-h, --help
Print help information (use `-h` for a summary)
-V, --version
Print version information
If you're looking to contribute to HTTP Sense, please read and follow the guidelines from CONTRIBUTING.md.