Web Reel Automated Publishing: it’s a W.R.A.P

Last Commit 0304473 (August 30, 2025 12:00 am)
Repository https://github.com/magicoli/wrap
License GNU AFFERO GENERAL PUBLIC LICENSE

Wrap is a basic CMS, aimed to display mostly galleries of images or videos. The idea is to allow the website maintainer to push media in subfolders. The structure of the websites and the menus is detected automatically.

It is not intended to be a full-featured CMS. Instead, it allows to automatically publish videos and pictures playlists.

It is designed for fast, efficient media transmission. Although it is possible to make a pretty beautiful website with this system (and I did), it’s not the goal.

It is poorly documented, but it works now with PHP7 (and probably 8).

Installation

  • VERY IMPORTANT: Put this project outside your web directory. It contains unprotected scripts and tools aimed to alter your disk content
  • bin/ tools are not needed for web publishing. They are used to manipulate video files. If you only need to publish ready to use files, you can safely (and should) remove bin/ folder
  • In your apache config, add alias, rules and wrap.php as DirectoryIndex:
    
    Alias /wrap/ /opt/wrap/
    DirectoryIndex index.php index.html /wrap/wrap.php

<Directory /opt/wrap/> <IfVersion < 2.3> Order allow,deny Allow from all

= 2.3> Require all granted
AllowOverride All


* you can place wrap.css and wrap.html in your web root folder to customize layout
* use themes/bootstrap/page-template.html as base for wrap.html and be sure to
  include all needed shortcodes
* More on this later...

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

To respond on your own website, enter the URL of your response which should contain a link to this post’s permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post’s URL again. (Find out more about Webmentions.)