Usage flow:
- run node hackproxy.js
- visit 127.0.0.1:8080
- type 'http://github.com' in the input field, hit the button
- in hackproxy's dir/stored/github.com/ you'll have static files
downloaded - edit them however you want.
- switch back to your browser, hit f5, watch your changes
applied on the real site
- ...
- profit
... or it won't work. hackproxy is nowhere near ready yet,
and it doesn't support many things.
TODO:
- parse @import rules, css rules, all possible rules
- decide what to do with .html (store? parameter maybe?)
- fix regexp's cause they suck now
- fix other things that suck now
important: include protocol! (http://www.foo.com = good, www.foo.com = bad)