-
Notifications
You must be signed in to change notification settings - Fork 124
Feature Requests #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is a very cool project, @nerdbeere. Could you put together a contribution guide with some recommendations for how to help out? |
thanks @sholladay! I have a big branch that I will merge in the next days containing big improvements for rendering requests. After that I will add tests and eslint. Then this project is at a point where others can start contributing. |
@sholladay I added tests, linting and a automated build process. Feel free to contribute. |
Fantastic, this could potentially compete very well with an internal tool my team has built on top of hoxy that only does an "OK" job at replacing Charles. Our main use case involves manipulating the script tag of our JavaScript library. So that means we need an equivalent to the Tools -> Rewrite section of Charles. |
I will look into that feature. Could you elaborate on your use case? That would be helpful. |
Sure. So our customers put a loader into their pages in a similar fashion to Google Analytics. <script data-provider="myProduct">
var myProduct = myProduct || {};
// .... configuration, etc. ...
(function () {
var script = document.createElement('script');
// ... actually load the JS library ...
}());
</script> Among other things, that loader script contains info about where to fetch the JS library from, which is different for production vs development and when in development, which git branch to use, etc. (we deploy all of them). Sometimes we need to strip off the loader on a customer's live site and replace it with a loader configured for development (to test an upcoming version for regressions, etc). That's the main use case. Charles lets us do this with a GUI via its Rewrite tool, but it only accepts clumsy regex operations. Hoxy allows nice, clean CSS lookups with its |
I've split this into several smaller issues so that this one can be closed. |
The text was updated successfully, but these errors were encountered: