NAME Plack::App::Libarchive - Serve an archive via libarchive as a PSGI web app VERSION version 0.02 SYNOPSIS use Plack::App::Libarchive; my $app = Plack::App::Libarchive->new( archive => 'foo.tar.tz' )->to_app; DESCRIPTION This PSGI application serves the content of an archive (any format supported by libarchive via Archive::Libarchive). A request to the root for the app will return an index of the files contained within the archive. The index is generated using Template. There is a bundled template that will list the entry files and link to their content. If you want to customize the index you can provide your own template. Here are the template variables that are available from within the template: archive A hash reference containing information about the archive archive.name The basename of the archive filename. For example: foo.tar.gz. archive.get_next_entry Get the next Archive::Libarchive::Entry object from the archive. Here is the default wrapper.html.tt: