wangwindlong / ttrss

tiny tiny rss fdroid version fork from gitlab

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tiny Tiny RSS

Web-based news feed aggregator, designed to allow you to read news from any location, while feeling as close to a real desktop application as possible.

http://tt-rss.org

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Copyright (c) 2005 Andrew Dolgov (unless explicitly stated otherwise).

source deploy https://tt-rss.org/wiki/InstallationNotesHost

Other Reference

个人部署笔记

ttrss android

部署

cp config.php-dist config.php 参考

putenv('TTRSS_DB_TYPE=mysql');
putenv('TTRSS_DB_PORT=3306');
putenv('TTRSS_DB_HOST=dbhost');
putenv('TTRSS_DB_NAME=dbname');
putenv('TTRSS_DB_USER=dbuser');
putenv('TTRSS_DB_PASS=dbpassword');
putenv('TTRSS_SELF_URL_PATH=https://example.com/tt-rss');
putenv('TTRSS_SIMPLE_UPDATE_MODE=true');
putenv('TTRSS_SESSION_COOKIE_LIFETIME='.(86400*30));

php ./update.php --update-schema

https://example.com/tt-rss admin | password

#配置 + 插件 参考

#自动更新文章 参考

一、以systemd方式运行

vi /etc/systemd/system/ttrss_backend.service

[Unit]
Description=ttrss_backend
#mysql.service #postgresql.service
After=network.target mysql.service

[Service]
User=www-data
ExecStart=/var/www/html/ttrss/update_daemon2.php

[Install]
WantedBy=multi-user.target
  • sudo systemctl enable ttrss_backend
  • sudo systemctl start ttrss_backend
  • sudo systemctl status ttrss_backend
  • sudo journalctl -u ttrss_backend

二、以crontab方式运行

sudo crontab -u www-data -e */30 * * * * /usr/bin/php /var/www/html/ttrss/update.php --feeds --quiet

三、每次打开web页面时加载

config.php中增加配置 putenv('TTRSS_SIMPLE_UPDATE_MODE=true');

其他信息

接口:api.php

About

tiny tiny rss fdroid version fork from gitlab

License:GNU General Public License v3.0


Languages

Language:PHP 36.0%Language:Java 21.5%Language:JavaScript 17.2%Language:CSS 13.0%Language:Less 7.1%Language:PLpgSQL 3.9%Language:HTML 1.1%Language:Shell 0.1%