Reader Self Is Discontinued: Install Its Successor Feed on FreeBSD 15
Reader Self is no longer developed; its author replaced it with Feed. This guide installs Feed on FreeBSD 15 with Apache, MySQL 8.4 and PHP 8.4.
Reader Self, the self-hosted RSS reader built on CodeIgniter, is no longer developed. Its repository now carries a single notice that it has been replaced by a new version and points to Feed, a rewrite by the same author on the Symfony framework. Apart from that notice, the last code changes to Reader Self date from November 2017, and it was written for PHP versions that are long out of support, so there is no sound way to install Reader Self 3.5 on a current system.
This guide therefore installs its successor, Feed, on FreeBSD 15 with Apache, MySQL 8.4 and PHP 8.4. Feed keeps the same idea, a private Google Reader style reader for Atom and RSS feeds, and adds a responsive Progressive Web App interface with light and dark themes. It was still receiving commits in October 2026. Run all commands as root.
What changed between Reader Self and Feed
- Feed is a different code base. It requires PHP 8.4 or newer, Composer and MySQL 8; there is no web installer, setup is done on the command line.
- The project publishes no tagged releases. You install from the
mainbranch with Git and update by pulling it. - The upstream instructions describe no migration from a Reader Self database. Export your subscriptions as OPML from the old installation before you retire it, so you have the feed list in a portable format.
Requirements
- A FreeBSD 15 server with root access and a host name pointing at it (
feed.example.combelow). - At least 1 GB of RAM; Composer needs memory while resolving dependencies.
Install Apache, MySQL, PHP and the tools
pkg update
pkg install apache24 mysql84-server git \
php84 mod_php84 php84-composer php84-pecl-APCu \
php84-curl php84-gmp php84-iconv php84-mbstring php84-tidy php84-xml \
php84-ctype php84-dom php84-simplexml php84-xmlreader php84-xmlwriter \
php84-session php84-tokenizer php84-filter php84-intl php84-pdo_mysql \
php84-sodium php84-zip
The first line of PHP extensions is the list from Feed's own requirements (APCu, curl, gmp, iconv, mbstring, tidy, xml; JSON is built into PHP). The rest are what a Symfony application and Composer normally need on FreeBSD, where almost every extension is a separate package. If composer install later reports a missing ext-..., install the matching php84-... package and run it again.
Create a PHP configuration from the production template:
cp /usr/local/etc/php.ini-production /usr/local/etc/php.ini
Create the database
sysrc mysql_enable=YES
service mysql-server start
mysql_secure_installation
mysql -u root -p
At the MySQL prompt, create the database and a user for it:
CREATE DATABASE IF NOT EXISTS feed DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE USER 'feed'@'localhost' IDENTIFIED BY 'change-this-password';
GRANT ALL PRIVILEGES ON feed.* TO 'feed'@'localhost';
FLUSH PRIVILEGES;
EXIT;
Feed's instructions create the user with the mysql_native_password plugin. MySQL 8.4 disables that plugin by default, so the statement above uses the server's default authentication instead, which PHP 8.4 supports.
Download and configure Feed
git clone https://github.com/stephanediondev/feed.git /usr/local/www/feed
cd /usr/local/www/feed
cp .env.dist .env
Edit .env and set two values. APP_SECRET should be a random string; generate one with openssl rand -hex 16. DATABASE_URL takes the credentials you just created and your MySQL server version as printed by mysqld --version:
APP_SECRET=paste-the-random-string-here
DATABASE_URL="mysql://feed:change-this-password@127.0.0.1:3306/feed?serverVersion=8.4.0&charset=utf8mb4"
Generate the key pair the application uses to sign login tokens, then install the PHP dependencies and initialise the application. These are the commands from the project's README:
mkdir config/jwt-keys
openssl genrsa -out config/jwt-keys/application.key 2048
openssl rsa -in config/jwt-keys/application.key -pubout -out config/jwt-keys/application.pub
env COMPOSER_ALLOW_SUPERUSER=1 composer install
php bin/console doctrine:schema:create
php bin/console app:setup
php bin/console app:member:create
php bin/console asset-map:compile
app:member:create creates your login. Finally, give the web server ownership of the files it has to read or write:
chown -R www:www /usr/local/www/feed/var /usr/local/www/feed/config/jwt-keys
chmod 600 /usr/local/www/feed/config/jwt-keys/application.key
chown root:www /usr/local/www/feed/.env
chmod 640 /usr/local/www/feed/.env
Configure Apache
Enable mod_rewrite by removing the # in front of this line in /usr/local/etc/apache24/httpd.conf:
LoadModule rewrite_module libexec/apache24/mod_rewrite.so
Create /usr/local/etc/apache24/Includes/feed.conf. The document root must be the public directory, not the project root:
<FilesMatch "\.php$">
SetHandler application/x-httpd-php
</FilesMatch>
<VirtualHost *:80>
ServerName feed.example.com
DocumentRoot "/usr/local/www/feed/public"
ErrorLog "/var/log/feed-error.log"
CustomLog "/var/log/feed-access.log" combined
<Directory "/usr/local/www/feed/public">
AllowOverride None
Require all granted
DirectoryIndex index.php
Options -MultiViews
RewriteEngine On
RewriteCond %{HTTP:Authorization} .+
RewriteRule ^ - [E=HTTP_AUTHORIZATION:%0]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</Directory>
</VirtualHost>
This is a shortened form of the virtual host in Feed's README: every request that is not an existing file goes to index.php, and the Authorization header is passed through to PHP. Test the configuration and start Apache:
apachectl configtest
sysrc apache24_enable=YES
service apache24 start
Open http://feed.example.com/ and sign in with the member you created. Before using it over the internet, add a TLS certificate to the virtual host; logins and the Progressive Web App features need HTTPS.
Fetch feeds on a schedule
Feed does not fetch anything while you browse. A console command collects new items, and the project runs it hourly from cron. Edit the web server user's crontab:
crontab -u www -e
0 * * * * cd /usr/local/www/feed && /usr/local/bin/php bin/console app:collection
Run the same command once by hand after adding your first subscriptions to confirm it works:
su -m www -c 'cd /usr/local/www/feed && /usr/local/bin/php bin/console app:collection'
Updating
The project's update procedure is a Git pull followed by database migrations:
cd /usr/local/www/feed
git fetch origin
git reset --hard origin/main
env COMPOSER_ALLOW_SUPERUSER=1 composer install
php bin/console doctrine:migrations:migrate -n
php bin/console asset-map:compile
chown -R www:www /usr/local/www/feed/var
git reset --hard discards local changes to tracked files; your .env and the JWT keys are not tracked and stay in place. Back up the database with mysqldump feed first. The full upstream instructions are in the Feed repository.
Frequently asked questions
Can I still run Reader Self 3.5 if I already have it?
Only on a PHP version that no longer receives security fixes, which is not something to expose to the internet. The author has stopped maintaining it and directs users to Feed, so treat an existing installation as something to migrate away from.
Does Feed work with MariaDB instead of MySQL?
The project lists MySQL 8 as its requirement and its configuration examples use a MySQL server version string. MariaDB may work with an adjusted serverVersion, but it is not what upstream documents or tests, so this guide stays with MySQL.
What are the other cron commands in the README for?
They are optional and commented out by default: app:notifications sends web push notifications once you have generated VAPID keys with app:generate-vapid, app:elasticsearch indexes items when you enable the Elasticsearch integration in .env, and app:maxmind:update refreshes a GeoIP database if you enable MaxMind. None of them is needed for basic reading.