html-compressor
                                
                                 html-compressor copied to clipboard
                                
                                    html-compressor copied to clipboard
                            
                            
                            
                        Web Service Ideas?
I'd like to explore the possibility of introducing a web service that runs the HTML Compressor. Some ideas might include...
- An online form that would compress the contents of any URL input by a user.
- A similar form that might accept a web address and output the entire site in a compressed/static form; i.e. a crawler that would serve as a static site generator.
- A REST API (if we can find a way to make it useful).
- ... I'll come back to this if I think of anything else more specific.
Of course we'd need to find a way to make this a good investment also.
I added these thoughts in HipChat; copying them here for reference:
I like the idea of turning it into a separate WordPress plugin (and plugin for other CMSes). The web service idea also intrigues me. It would be super cool to have a web service where we could provide the URL to a site and it would attempt to crawl the entire site, compress the output, then return the archive so it could be used as an offline/static archive. Or even a web service that allows for quickly compressing a CSS/JS file that could be integrated into a development environment to minify files before distribution (a client-side component would be needed to interface with the web service, but initially this could be a simple BASH or Python script).
@jaswsinc I noticed you closed this issue but didn't leave a comment/reason why. Was this a mistake?
Same thing... I remember closing this. I don't really know why I did though. I was just cleaning things up. I'll open it back up until we can really say this is closed.