Projects / WebPack

WebPack

WebPack is a shell script for automatically packing Web sites by shrinking them without affecting their functionality or appearance. It is also useful for losslessly shrinking image collections and locating corrupt files. It works by stripping unnecessary information and optimizing the compression of images, and by removing comments/whitespace from HTML, using readily-available tools.

Tags
Licenses
Operating Systems
Implementation

Recent releases

  •  04 Oct 2004 12:01

    Release Notes: Much improved sanity checking, a force overwrite option (-f), the ability to handle paths with spaces, support for HTML::Clean for HTML compression, and support for the AdvanceCOMP compression optimizer for GZ, Zip, and PNG files.

    •  15 Sep 2004 17:43

      Release Notes: This release catches (more) pngcrush failures, implements an update mode (-u), implements a force overwrite mode (-f), has more sanity checking, adds a 'readme' file, and has miscellaneous cleanups.

      •  24 Jul 2004 13:36

        No changes have been submitted for this release.

        Recent comments

        04 Sep 2005 08:22 nigelhorne

        Re: -f doesn't work on 0.6 beta
        Maybe that's what you meant it to say, but that isn't what it implies.

        The way the wording is written of the "usage" message, is that the -f option will force to ignore that. The message is open to misinterpretation, which is never a good idea for help messages ;-)

        03 Sep 2005 18:34 ezza

        Re: -f doesn't work on 0.6 beta


        > The -f option is supposed to "Force

        > overwrite of existing files", but

        > if you use it you get:

        > "ERROR - source and destination are

        > the same directory"

        Webpack was never intended to operate in-place, it is designed to create a compressed copy of your website, and this compressed version is the one you upload. What you saw is an intentional safety check to stop you compressing (and possibly corrupting) your "source" website.

        The -f option forces overwriting of existing files in the destination directory.

        28 Aug 2005 01:05 nigelhorne

        -f doesn't work on 0.6 beta
        The -f option is supposed to "Force overwrite of existing files", but if you use it you get:

        "ERROR - source and destination are the same directory"

        Obviously they're the same if you're going to overwrite existing files!

        07 Aug 2005 03:04 ezza

        Re: Is webpack dead?
        Not quite, just having issues with webhosting - mail to ezza@kludgesoft.net will work (have updated freshmeat settings).

        > The email address in the README bounces,

        > so the product may be dead:

        %

        03 Jul 2005 05:43 nigelhorne

        Is webpack dead?
        The email address in the README bounces, so the product may be dead:

        ----- Transcript of session follows -----

        ... while talking to mail.kludgesoft.com.:

        >>> DATA

        <<< 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)

        550 5.1.1 <contact@kludgesoft.com>... User unknown

        <<< 503 RCPT first (#5.5.1)

        Screenshot

        Project Spotlight

        OpenStack4j

        A Fluent OpenStack client API for Java.

        Screenshot

        Project Spotlight

        TurnKey TWiki Appliance

        A TWiki appliance that is easy to use and lightweight.