self hosted RSS/Atom aggregator
Project homepage: https://freshrss.org/
Description
Self hosted RSS/Atom aggregator, supporting multi-user and anonymous
modes. It also boasts a number of other powerful features:
- Instant push notifications from compatible sources, such as
Mastodon, Friendica, WordPress, Blogger, FeedBurner, etc.
- Basic Web scraping, based on XPath, for Web sites not providing
any RSS/Atom feeds.
- Custom tags and extensions for further tuning.
Package information
- Ports path
- www/freshrss
- Package architecture
- *
- Maintainer
- Aisha Tammy <aisha@openbsd.org>
- Categories
- www, lang/php
- Available flavors
- None listed
Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.
Direct dependencies
Runtime
- lang/php/8.3,-curl
- lang/php/8.3,-gd
- lang/php/8.3,-gmp
- lang/php/8.3,-intl
- lang/php/8.3,-pdo_sqlite
- lang/php/8.3,-zip
- lang/php/8.3 php->=8.3,<8.4
OpenBSD README
This README contains unresolved ports variables; replace them before using its commands.
+-------------------------------------------------------------------------------
| Running freshrss on OpenBSD
+-------------------------------------------------------------------------------
Exposing a webserver
====================
Sample httpd(8) configuration provided for reference:
# /etc/httpd.conf
server "localhost" {
listen on * port 80
root "/freshrss/p"
directory index "index.php"
location "/" {
directory index "index.html"
}
location "*.php" {
fastcgi socket "/run/php-fpm.sock"
}
}
and also one for nginx:
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name <server-name>;
ssl_certificate /etc/ssl/freshrss.crt;
ssl_certificate_key /etc/ssl/private/freshrss.key;
root /freshrss/p;
index index.html;
location / {
try_files $uri $uri/ /index.php$query_string;
}
location ~ ^(.*\.php)(.*)$ {
try_files $fastcgi_script_name =404;
include fastcgi_params;
fastcgi_split_path_info ^(.*\.php)(.*)$;
fastcgi_pass unix:run/php-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_buffer_size 16k;
fastcgi_buffers 4 16k;
}
}
PHP cron jobs
=============
FreshRSS needs to run periodic book-keeping tasks. These need to be
scheduled using cron(8), via the crontab for the www user.
$ crontab -l -u www
#
SHELL=/bin/sh
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
HOME=/var/www
#
#minute hour mday month wday [flags] command
* * * * * -n cd ${LOCALSTATEDIR}/www/freshrss && ${MODPHP_BIN} app/actualize_script.php