Results 1 to 4 of 4

Thread: [How-To] Tiny Tiny RSS (Google Reader)

  1. #1

    Lightbulb [How-To] Tiny Tiny RSS (Google Reader)

    [How-To] Get "Google Reader" working right on router

    As you might know, Google Reader is to shutdown on summer. The goal of this How-To is to install Google Reader replacement
    right to router - a Tiny Tiny RSS which Looks like Google Reader, Feels like Google Reader and so on Check out my video clip.


    The positive side effect is a privacy — no one can see what feeds you are reading.

    Pre-requirements: asuswrt-merlin firmware on board and a USB drive with Entware installation.

    Download and unpack preconfigured TT-RSS
    Code:
    cd /opt
    wget http://files.ryzhov-al.ru/Routers/tt-rss/tt-rss_1.7.5.tgz
    tar -xvzf ./tt-rss_1.7.5.tgz
    rm ./tt-rss_1.7.5.tgz
    Install necessary packages
    Code:
    opkg install \
    dtach \
    lighttpd-mod-fastcgi \
    mc \
    mysql-server \
    php5-cgi \
    php5-cli \
    php5-mod-ctype \
    php5-mod-curl \
    php5-mod-dom \
    php5-mod-hash \
    php5-mod-iconv \
    php5-mod-json \
    php5-mod-mbstring \
    php5-mod-mysql \
    php5-mod-session \
    php5-mod-simplexml \
    php5-mod-xml \
    wget
    Start it!
    Code:
    /opt/etc/init.d/S70mysqld start
    /opt/etc/init.d/S80lighttpd start
    /opt/etc/init.d/S81ttrss-update start
    All necessary stuff will be started automatically on reboot.

    Point a browser to
    Code:
    http://192.168.1.1:81/tt-rss/
    where 192.168.1.1 is an ip address of router, enter default credentials "admin"/"password" and enjoy using Tiny Tiny RSS.

    That's an easy way of installing TT-RSS. If you want to know technical detail about it, see third post.
    Last edited by ryzhov_al; 09-08-2013 at 07:55.

  2. #2

    Question How to import my Google Reader RSS feeds to Tiny Tiny RSS?

    First, export Google Reader subscription with help of Google Takeout.

    • Select Services > Reader > Create Archive > Download.
    • Unpack reader/subscriptions.xml from downloaded archive.

    Now, import subscriptions to Tiny Tiny RSS.

    • Open TT-RSS web interface and go to Actions > Preferencies > Feeds > OPML.
    • Select subscriptions.xml file and press "Import my OPML" button.
    • Ignore warning message, just press "Close > Exit Preferencies".

    That it! All your subscription from Google Reader is here!

  3. #3

    Smile Installing TT-RSS, True Linux Geek Way™

    Well, I've simplified TT-RSS installation in the first post to make it easier to use.

    But my archive may get's older with time, so you may use this way to adopt a
    fresh TT-RSS version, or if you trying to understand deeper installation process.

    Pre-requirements: asuswrt-merlin firmware on board and a USB drive with Entware installation.

    Install necessary packages
    Code:
    opkg install \
    dtach \
    lighttpd-mod-fastcgi \
    mc \
    mysql-server \
    php5-cgi \
    php5-cli \
    php5-mod-ctype \
    php5-mod-curl \
    php5-mod-dom \
    php5-mod-hash \
    php5-mod-iconv \
    php5-mod-json \
    php5-mod-mbstring \
    php5-mod-mysql \
    php5-mod-session \
    php5-mod-simplexml \
    php5-mod-xml \
    wget
    Donwload and unpack TT-RSS sources
    Code:
    cd /opt/share/www/
    /opt/bin/wget --no-check-certificate https://github.com/gothfox/Tiny-Tiny-RSS/archive/1.7.5.tar.gz
    tar -xvzf ./1.7.5.tar.gz
    mkdir ./tt-rss
    mv ./Tiny-Tiny-RSS-1.7.5/* ./tt-rss/
    rm -fr ./Tiny-Tiny-RSS-1.7.5/
    rm ./1.7.5.tar.gz
    Configure MySQL server
    Enter:
    Code:
    mcedit /opt/etc/my.cnf
    and fix few strings, I'll show only those one, which need to be fixed:
    Code:
    datadir = /opt/var/mysql/
    user = admin
    Save changes by "F2", "Esc". Now initialize MySQL server by:
    Code:
    mysql_install_db --force
    /opt/etc/init.d/S70mysqld start
    mysqladmin -u root password 'P@ssw0rd'
    Where P@ssw0rd is a new MySQL administrator's password. Enter to MySQL server by:
    Code:
    mysql -u root -p
    type new password and execute this SQL-script:
    Code:
    create database ttrss;
    use ttrss;
    source /opt/share/www/tt-rss/schema/ttrss_schema_mysql.sql;
    quit;
    Configure web server
    Code:
    mcedit /opt/etc/lighttpd/lighttpd.conf
    Fix this lines:
    Code:
    index-file.names = ( "index.html", "default.html", "index.htm", "default.htm", "index.php" )
    ... 
    server.port = 81
    and add this ones to the end:
    Code:
    server.modules += ( "mod_fastcgi" )
    
    fastcgi.server = (
      ".php" =>
        ( "localhost" =>
          ( "socket" => "/tmp/php-fcgi.sock",
            "bin-path" => "/opt/bin/php-fcgi",
            "max-procs" => 1,
            "bin-environment" =>
              ( "PHP_FCGI_CHILDREN" => "2",
                "PHP_FCGI_MAX_REQUESTS" => "1000"
              )
            )
         )
       )
    Configure Tiny Tiny RSS
    Copy default configuration file…
    Code:
    cp /opt/share/www/tt-rss/config.php-dist /opt/share/www/tt-rss/config.php
    mcedit /opt/share/www/tt-rss/config.php
    …and edit following lines:
    Code:
    define('DB_TYPE', "mysql"); // or mysql
    define('DB_HOST', "127.0.0.1");
    define('DB_USER', "root");
    define('DB_NAME', "ttrss");
    define('DB_PASS', "P@ssw0rd");
    ...
    define('SELF_URL_PATH', 'http://www.asusnetwork.net/tt-rss/');
    ...
    define('PHP_EXECUTABLE', '/opt/bin/php-fcgi');
    Also, you need to replace "0" to "-1" in…
    Code:
    mcedit /opt/share/www/tt-rss/include/sanity_check.php
    Code:
    if (function_exists('posix_getuid') && posix_getuid() == -1) {
    …to enable running TT-RSS with root priveleges.
    Create start script for feeds update daemon
    Code:
    cp /opt/etc/init.d/S80lighttpd /opt/etc/init.d/S81ttrss-update
    mcedit /opt/etc/init.d/S81ttrss-update
    Edit this lines:
    Code:
    PROCS=php-cli
    ARGS="/opt/share/www/tt-rss/update.php --daemon"
    PREARGS="dtach -n /opt/var/ttrss_update.sock"
    and start web server and feed updater:
    Code:
    /opt/etc/init.d/S80lighttpd start
    /opt/etc/init.d/S81ttrss-update start
    Command line exercises is finished

    We've done all necessary steps to start all stuff automatically on boot.
    Point a browser to
    Code:
    http://192.168.1.1:81/tt-rss/
    where 192.168.1.1 is an ip address of router, enter default credentials admin"/"password" and enjoy using Tiny Tiny RSS.

  4. #4
    thank you for that great How-To and showing an alternative to the google reader.
    Last edited by !gm; 29-03-2013 at 13:55.
    RT-N66U TomatoUSB 1.28.0000 MIPSR2-135 K26AC USB AIO-64K running Entware-NG
    pyload 0.4.9
    minidlna 1.1.2
    samba 3.6.5
    openvpn 2.3.10
    ̶W̶L̶5̶0̶0̶g̶P̶ ̶1̶.̶9̶.̶2̶.̶7̶-̶r̶t̶n̶-̶r̶4̶7̶5̶0 retired

Similar Threads

  1. Установка и настройка 3proxy/tinyproxy server на роутере
    By n0isy in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 144
    Last Post: 19-04-2015, 21:46
  2. Отправка SMS-оповещений при помощи Google
    By gaur in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 104
    Last Post: 26-12-2014, 10:16
  3. Cloud Print от Google на роутере
    By brightred in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 15
    Last Post: 16-11-2013, 08:48
  4. [How-To] Tiny Tiny RSS (Google Reader)
    By ryzhov_al in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 13
    Last Post: 29-03-2013, 10:51
  5. Скрипт для скачивания подкастов Python + Google Reader
    By 1ac3124 in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 4
    Last Post: 18-08-2010, 12:36

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •