https://github.com/Adrosar/rtmor
Real-time Modification of Requests. Alternative to Requestly.
https://github.com/Adrosar/rtmor
http-redirect https-redirect man-in-the-middle mitm mitm-server mitmproxy modify-response proxy proxy-http proxy-https proxy-server redirect redirect-urls requestly rtmor
Last synced: about 2 months ago
JSON representation
Real-time Modification of Requests. Alternative to Requestly.
- Host: GitHub
- URL: https://github.com/Adrosar/rtmor
- Owner: Adrosar
- License: bsd-3-clause
- Created: 2021-02-21T23:49:23.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-02-16T00:09:10.000Z (over 2 years ago)
- Last Synced: 2025-03-06T22:04:50.651Z (3 months ago)
- Topics: http-redirect, https-redirect, man-in-the-middle, mitm, mitm-server, mitmproxy, modify-response, proxy, proxy-http, proxy-https, proxy-server, redirect, redirect-urls, requestly, rtmor
- Language: Go
- Homepage:
- Size: 2.82 MB
- Stars: 21
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RtMoR
_Real-time Modification of Requests_
- [github.com/Adrosar/rtmor](https://github.com/Adrosar/rtmor)**RtMoR** is alternative to **Requestly**
- [requestly.io](https://requestly.io) _(new website)_
- [www.requestly.in](https://www.requestly.in) _(old website)_## Why do I need RtMoR?
If you are working on an application in **React**, **Angular**, **VueJS**, you will definitely appreciate **RtMoR**. See the problem below that **RtMoR** is solving.
### Issue (story):
You need to debug your JavaScript application in production. Unfortunately, you cannot make a copy of such an environment and nor can you access JS scripts on the server.
Thanks to **RtMoR**, you can redirect the selected resource request to the local server.

So you can **safely work** in the **production** environment.
## Examples (Linux, bash)
Remember to build a project!
```bash
./scripts/dist.sh
```
_( ↑ Script `dist.sh` uses the **GO** compiler - recommended version: **1.17**/**1.18** )_Show help:
```bash
./build/linux-amd64/rtmor -help
```Run proxy server that is listening on all network interfaces:
```bash
./build/linux-amd64/rtmor -start -listen 0.0.0.0:8888 -log BMW
```Run with a configuration containing sample rules:
```bash
./build/linux-amd64/rtmor -start -listen 0.0.0.0:8888 -cfg ./configs/sample.yaml -log BMW
```### Configuration file
The configuration file contains examples of using **RtMoR** → `./configs/sample.yaml`
## Examples (Windows, cmd)
Remember to build a project!
```
scripts\dist.cmd
```
_( ↑ Script `dist.cmd` uses the **GO** compiler - recommended version: **1.17**/**1.18** )_Run with a configuration containing sample rules:
```
build\windows-amd64\rtmor.exe -start -listen 0.0.0.0:8888 -cfg configs\sample.yaml -log BMW
```## HTTPS and Certificate
For HTTPS redirection to work, install the certificate on the device.
### CA Root
- `./assets/ca-root/ca.crt`
- `./assets/ca-root/ca.pem`The certificate comes from [elazarl/goproxy](https://github.com/elazarl/goproxy/blob/master/ca.pem)
> How do install a **root certificate** in Linux _(Ubuntu, Linux Mint)_
> https://askubuntu.com/questions/73287/how-do-i-install-a-root-certificate
> ( [screenshot](docs/images/ubuntu-install-ca.png) )## Runnable binaries
Download **binaries** ready to run.
- [Mirror ONE](https://github.com/Adrosar/rtmor/releases)
- [Mirror TWO](https://drive.google.com/drive/folders/1K4XvLZYB10pQ1iTYsRh0FlLP_PzwhNp4?usp=sharing)Extra download [RtMoR 0.7.4 + Firefox Portable](https://drive.google.com/file/d/1TOh9BoATK0rA81w9bt_uwCi8XhiM-a5y/view?usp=sharing)
Password: `2RstVAKVAub5`## License
I put the software temporarily under the Go-compatible **BSD** license. If this prevents someone from using the software, do let me know and I'll consider changing it.The software uses repositories:
- [github.com/elazarl/goproxy](https://github.com/elazarl/goproxy) _(Go-compatible BSD license)_
- [github.com/go-yaml/yaml](https://github.com/go-yaml/yaml) _(Apache License 2.0)_
- [github.com/fatih/color](https://github.com/fatih/color) _(MIT License)_## Early stage
The software was created for personal use and is in the **early stages** of development, so **CLI** is subject to change.
## Author
Adrian Gargula | [github.com/Adrosar](https://github.com/Adrosar) | [bitbucket.org/Adrosar](https://bitbucket.org/Adrosar)