Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
the first web app ever that uses packager
branch: master
Failed to load latest commit information.
assets - moved the domready statement in the template.
controllers Adding charset config option.
libs Updating packager submodule.
views - moved the domready statement in the template.
.gitignore Lots of changes! Mainly adding config and compression.
.gitmodules - moved submodules in /libs
.htaccess Option to build with component list at the top.
README.md
config.yml.example Adding charset config option.
index.php Passing locale category as constant.
license.txt Whitespace cleanup, and moving CSS above JS.

README.md

Packager Web

Packager Web is a web application that uses Packager to download scripts, frameworks, plugins and the likes that follow the MooTools-like package.yml manifest and yaml headers syntax.

Installation

git clone git://github.com/kamicane/packager-web.git
git submodule init
git submodule update

Configuration

The easiest way to get started is to copy the config.yml.example to config.yml. Most of the things will work out of the box, except for the packages and possibly the compression. For he packages, just provide paths to the package.yml files, like this:

- "/Users/kamicane/Sites/mootools-core/package.yml"
- "/Users/kamicane/Sites/mootools-more/package.yml"
- "/Users/kamicane/Sites/some-plugin/package.yml"

For the compressor, you have to specify the path to the compressor, in which {FILE} will be replaced with the path to the actual temporary file. The temporary file will be created in the directory specified as tmpdir. You can leave the compressor option empty, and remove it from the buttons option to just disable it.

Keep in mind this has to be valid yaml. Use two spaces before the dash in lists, not a tab. If you get a PHP exception, it means some of the specified paths don't exist, or are not parsable by Packager.

Web Interface

Point your web browser to http://localhost/packager-web/. Select the desired components and click download. A file will be downloaded. Enjoy.

Something went wrong with that request. Please try again.