From long time now I been using getPocket on daily basis – it main straight been big compatibility with IFTTT (if this then that) service which main purpose was automation of some things to make using web more attractive.
I stopped using IFTTT some time ago and I use Pocket just to store urls and sync them with other devices. That functionality now is embedded inside most common web browsers like Firefox and other known one. But I wanted to have full control over what url I want to store and I don’t need to know what are ‘popular’ links other stores.
Let us download needed package:
wget http://wllbg.org/latest-v2-package
Extract it to /opt/wallabag
tar zxvf latest-v2-package mv wallabag/* /opt/wallabag
Configure vhost for apache:
<VirtualHost *:80>
ServerName domain.tld
ServerAlias www.domain.tld
DocumentRoot /opt/wallabag/web
<Directory /opt/wallabag/web>
AllowOverride None
Order Allow,Deny
Allow from All
<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ app.php [QSA,L]
</IfModule>
</Directory>
# optionally disable the RewriteEngine for the asset directories
# which will allow apache to simply reply with a 404 when files are
# not found instead of passing the request into the full symfony stack
<Directory /opt/wallabag/web/bundles>
<IfModule mod_rewrite.c>
RewriteEngine Off
</IfModule>
</Directory>
ErrorLog /var/log/apache2/wallabag_error.log
CustomLog /var/log/apache2/wallabag_access.log combined
</VirtualHost>
From /opt/wallabag directory run:
php bin/console wallabag:install --env=prod
To test wallabag we can start it from embedded web server that is inside wallabag:
php bin/console server:run --env=prod` for using wallabag: http://localhost:8000
Of course that command will start server on port 8000 on localhost, so we can access it only from that host – as security measure.
Version 2.0.0 had it release at 04/03/2016 so the android app don’t support the newest version, but the system works great anyway.
Edit 07/04/2016:
- firefox plugin – https://addons.mozilla.org/firefox/addon/wallabag-v2/