This software is considered to be alpha quality and isn't recommended for regular usage.
WWW::Flatten is a web crawling tool for freezing pages into standalone. I believe this works better than wget or "Saving as, complete" in browsers.
- Covers assets beyond CSSs.
- Publish-ready name of files.
$ cpanm WWW::Flatten
wwwflatten command is available. You can brows out directory localy or upload it to web servers as is.
$ wwwflatten --basedir ./out/ http://github.com/
Or the following example generates mojolicious app at once.
$ wwwflatten --mojo-app --basedir ./out/ http://github.com/
$ ./out/myapp.pl daemon
Then you can see the archive in browser with port 3000
http://127.0.0.1:3000/
The app is also portable so it can be deployed to app servers.
See also Command line API
This tool is powerd by a class based perl module included in the repository. With the module, you can easily make a custom ruling crawler for your demand.
See also WWW::Flatten API
https://github.com/jamadam/WWW-Flatten
https://github.com/jamadam/WWW-Crawler-Mojo
Copyright (c) jamadam
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.