Hi community!
I need some feedback on a tool I hacked together this weekend.
Link: https://forwarding.app
What it does/how it works:
- It gives you a rule management interface where you can configure redirects based on any request parameter.
- Once redirect rules are created, and you hit ‘Preview Worker’, it bundles the rules together with a prebuilt/minified worker that matches rules with a rule engine.
- Previewing the worker will open the Workers playground where you can test and preview your new worker.
- If you are satisfied with the results, you can deploy it to a domain (read disclaimer below)
The goal is basically to provide a tool that gives more flexibility compared to what Page Rules currently offers.
Under the hood it uses json-rules-engine
, which I found to be a very powerful way of routing incoming requests. I am planning to make the source available as boilerplate for new projects.
Any feedback appreciated!
Disclaimer: be cautious when you decide to use this. It is still in beta! Only deploy generated workers in test environments