nicosomb/wallabag-camo-bundle

Add an http proxy to route images through SSL for your wallabag instance.

1.0.0-alpha.0 2017-03-07 12:02 UTC

This package is auto-updated.

Last update: 2024-11-04 22:11:20 UTC


README

This bundle allows you to add a proxy for your wallabag images thanks to camo.

Requirements

  • wallabag >= 2.2.2

Installation

Download the bundle

composer require nicosomb/wallabag-camo-bundle

Enable the bundle

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...

            new Nicosomb\WallabagCamoBundle\NicosombWallabagCamoBundle(),
        );

        // ...
    }

    // ...
}

Configure your application

# app/config/config.yml

nicosomb_wallabag_camo:
    key: YOUR_CAMO_KEY
    domain: your-wallabag.herokuapp.com

Setting camo_images_enabled

You need to create a new setting, camo_images_enabled.

INSERT INTO `wallabag_internal_setting` (`name`, `value`, `section`) VALUES ('camo_images_enabled', 1, 'misc');