Summary

Do you have an application that needs Drupal content as a data source? Is it an offline application or do you otherwise not want to connect to Drupal every time a user needs to use your app?

The Content Packager module gives developers of applications or other offline deployments a convenient way to extract assets and content from Drupal for use as app resources. With a single click (and sufficient configuration) you'll be able to get a RESTful View or JSON:API output and all of the images related to that content all in a single directory and ready to go.

Use SCP or RSYNC on a single directory without having to worry about PHP files, CS files, compiled JS files, and Media you simply don't care about.

This module can even zip all your files for you and give you an easy download!

Usage

You are encouraged to visit the configuration page first, as that will let you avoid files you don't want such as user images or image styles you don't care about.

After everything has been configured, the Content Packager page can be found as a new tab on your Content Administration page (admin/content).

Roadmap

Known Limitations

  • Zip process and large files - Some assets will simply be too large to zip via a PHP script without encountering max_execution_time errors! You can either experiment with the value of this configuration in your PHP configuration or opt to zip the files yourself via other tools. On Linux you it would be similar to: zip -r myfiles.zip mydir.
Supporting organizations: 
Initial Concept and Beta Development

Project information

Releases