Mobile webapp for TT RSS: ttrss-mobile

Development-related discussion, including bundled plugins
User avatar
LMAO What?
Posts: 14
Joined: 26 Apr 2013, 05:28
Location: Alabama

Re: Mobile webapp for TT RSS: ttrss-mobile

Postby MichaelTunnell » 30 Aug 2013, 11:15

this is an awesome alternative...thank you very much. I bought the native app for android but this is fantastic for many other situations too.

Bear Rating Trainee
Bear Rating Trainee
Posts: 13
Joined: 30 Jan 2017, 20:37

broken display, not working correctly ?

Postby chris777 » 04 Feb 2017, 15:56

I just install your webapp but it looks like it's not working fine for me :
screenshot.jpg (60.66 KiB) Viewed 5150 times

I installed it into the ttrss folder and set in conf.js :

Do I need to install this ?
jQuery Mobile

Am I missing some other packages on my ubuntu 16 ?

Thank you for your help.

Bear Rating Overlord
Bear Rating Overlord
Posts: 373
Joined: 20 Aug 2013, 23:13

Re: Mobile webapp for TT RSS: ttrss-mobile

Postby JustAMacUser » 04 Feb 2017, 21:24

Please don't post the same issue in multiple threads.

Unless you're doing something fancy, I think you can leave webappPath alone and just define the API path which is always your_ttrss_install/api/

Bear Rating Trainee
Bear Rating Trainee
Posts: 13
Joined: 30 Jan 2017, 20:37

Re: Mobile webapp for TT RSS: ttrss-mobile

Postby chris777 » 04 Feb 2017, 23:35

still the same issue :
ttrss installed in : /opt/ttrss
ttrss-mobile installed in /opt/ttrss/mobile

www-data:www-data is owner of /opt
ttrss works fine.


Code: Select all


  /* URL to access your Tiny Tiny RSS installation */

My server is ubuntu 16.04LTS
I installed javascript-common.
Here are all the packages for apache:

Code: Select all

 apt list installed *apache*
Listing... Done
apache2/xenial-updates,xenial-security,now 2.4.18-2ubuntu3.1 amd64 [installed]
apache2-bin/xenial-updates,xenial-security,now 2.4.18-2ubuntu3.1 amd64 [installed,automatic]
apache2-data/xenial-updates,xenial-updates,xenial-security,xenial-security,now 2.4.18-2ubuntu3.1 all [installed,automatic]
apache2-dbg/xenial-updates,xenial-security 2.4.18-2ubuntu3.1 amd64
apache2-dev/xenial-updates,xenial-security 2.4.18-2ubuntu3.1 amd64
apache2-doc/xenial-updates,xenial-updates,xenial-security,xenial-security 2.4.18-2ubuntu3.1 all
apache2-suexec-custom/xenial-updates,xenial-security 2.4.18-2ubuntu3.1 amd64
apache2-suexec-pristine/xenial-updates,xenial-security 2.4.18-2ubuntu3.1 amd64
apache2-utils/xenial-updates,xenial-security,now 2.4.18-2ubuntu3.1 amd64 [installed]
apachedex/xenial,xenial 1.6.2-1 all
apacheds/xenial,xenial 2.0.0~M15-3 all
apachetop/xenial 0.12.6-18build1 amd64
fusiondirectory-plugin-apache2/xenial,xenial all
fusiondirectory-plugin-apache2-schema/xenial,xenial all
gforge-web-apache2/xenial,xenial 6.0.3+20151023-1ubuntu1 all
golang-gopkg-eapache-go-resiliency.v1-dev/xenial,xenial 0.0~git20150213.0.6800482-1 all
golang-gopkg-eapache-queue.v1-dev/xenial,xenial 1.0.2-1 all
libapache-admin-config-perl/xenial,xenial 0.94-1.1 all
libapache-asp-perl/xenial,xenial 2.62-2 all
libapache-authenhook-perl/xenial 2.00-04+pristine-5build3 amd64
libapache-authznetldap-perl/xenial,xenial 0.07-6 all
libapache-db-perl/xenial 0.14-4build3 amd64
libapache-dbi-perl/xenial,xenial 1.12-1 all
libapache-dbilogger-perl/xenial,xenial 0.93-12 all
libapache-directory-api-java/xenial,xenial 1.0.0~M20-3 all
libapache-directory-jdbm-java/xenial,xenial 2.0.0~M2-1 all
libapache-gallery-perl/xenial,xenial 1.0.2-4.1 all
libapache-htgroup-perl/xenial,xenial 1.23-1 all
libapache-htpasswd-perl/xenial,xenial 1.8-1.1 all
libapache-logformat-compiler-perl/xenial,xenial 0.33-1 all
libapache-mime4j-java/xenial,xenial 0.7.2-4 all
libapache-mime4j-java-doc/xenial,xenial 0.7.2-4 all
libapache-mod-jk-doc/xenial,xenial 1:1.2.41-1 all
libapache-poi-java/xenial,xenial 3.10.1-2 all
libapache-poi-java-doc/xenial,xenial 3.10.1-2 all
libapache-pom-java/xenial,xenial 10-2build1 all
libapache-session-browseable-perl/xenial,xenial 1.1-1 all
libapache-session-ldap-perl/xenial,xenial 0.4-1 all
libapache-session-memcached-perl/xenial,xenial 0.03-1 all
libapache-session-perl/xenial,xenial 1.93-2ubuntu1 all
libapache-session-wrapper-perl/xenial,xenial 0.34-2 all
libapache-sessionx-perl/xenial,xenial 2.01-4 all
libapache-singleton-perl/xenial,xenial 0.16-1 all
libapache-ssllookup-perl/xenial 2.00-04-1build1 amd64
libapache2-authcassimple-perl/xenial,xenial 0.10-3 all
libapache2-authcookie-perl/xenial,xenial 3.24-1 all
libapache2-authenntlm-perl/xenial 0.02-8build1 amd64
libapache2-mod-apparmor/xenial-updates 2.10.95-0ubuntu2.5 amd64
libapache2-mod-apreq2/xenial 2.13-4ubuntu2 amd64
libapache2-mod-auth-cas/xenial amd64
libapache2-mod-auth-gssapi/xenial 1.3.2-1 amd64
libapache2-mod-auth-kerb/xenial 5.4-2.2 amd64
libapache2-mod-auth-mellon/xenial 0.12.0-1 amd64
libapache2-mod-auth-memcookie/xenial 1.0.2-8 amd64
libapache2-mod-auth-ntlm-winbind/xenial 0.0.0.lorikeet+svn+801-4 amd64
libapache2-mod-auth-openid/xenial 0.8-1build1 amd64
libapache2-mod-auth-openidc/xenial 1.8.5-1 amd64
libapache2-mod-auth-pgsql/xenial 2.0.3-6.1 amd64
libapache2-mod-auth-plain/xenial 2.0.52 amd64
libapache2-mod-auth-pubtkt/xenial 0.8-4 amd64
libapache2-mod-auth-radius/xenial 1.5.8-1.3 amd64
libapache2-mod-auth-tkt/xenial 2.1.0+dfsg-1 amd64
libapache2-mod-authn-sasl/xenial 1.2-2 amd64
libapache2-mod-authn-webid/xenial 0~20110301-4 amd64
libapache2-mod-authn-yubikey/xenial 1.0-1.1 amd64
libapache2-mod-authnz-external/xenial 3.3.2-0.1 amd64
libapache2-mod-authnz-pam/xenial 1.0.1-1 amd64
libapache2-mod-authnz-persona/xenial 0.8.1-1 amd64
libapache2-mod-authz-securepass/xenial 0~20150105.gitda462d3-1 amd64
libapache2-mod-authz-unixgroup/xenial 1.1.0-0.1 amd64
libapache2-mod-bw/xenial 0.92-11 amd64
libapache2-mod-dacs/xenial 1.4.28b-3ubuntu2 amd64
libapache2-mod-defensible/xenial 1.4-3.1ubuntu2 amd64
libapache2-mod-dnssd/xenial 0.6-3.1 amd64
libapache2-mod-encoding/xenial 20040616-5.2 amd64
libapache2-mod-evasive/xenial 1.10.1-3 amd64
libapache2-mod-fastcgi/xenial 2.4.7~0910052141-1.2 amd64
libapache2-mod-fcgid/xenial 1:2.3.9-1 amd64
libapache2-mod-fcgid-dbg/xenial 1:2.3.9-1 amd64
libapache2-mod-form/xenial 0~svn146-1 amd64
libapache2-mod-form-dev/xenial,xenial 0~svn146-1 all
libapache2-mod-geoip/xenial 1.2.10-1 amd64
libapache2-mod-gnutls/xenial 0.7.3-0ubuntu1 amd64
libapache2-mod-intercept-form-submit/xenial 0.9.8-1 amd64
libapache2-mod-jk/xenial 1:1.2.41-1 amd64
libapache2-mod-ldap-userdir/xenial 1.1.19-2.1 amd64
libapache2-mod-ldap-userdir-dbg/xenial 1.1.19-2.1 amd64
libapache2-mod-lisp/xenial 1.3.1-1.3 amd64
libapache2-mod-log-slow/xenial 1.0.8-3 amd64
libapache2-mod-log-sql/xenial 1.100-16.2build1 amd64
libapache2-mod-log-sql-dbi/xenial 1.100-16.2build1 amd64
libapache2-mod-log-sql-mysql/xenial 1.100-16.2build1 amd64
libapache2-mod-log-sql-ssl/xenial 1.100-16.2build1 amd64
libapache2-mod-lookup-identity/xenial 0.9.3-1 amd64
libapache2-mod-mapcache/xenial 1.4.0-4 amd64
libapache2-mod-mime-xattr/xenial 0.4-6 amd64
libapache2-mod-mono/xenial 3.8-3 amd64
libapache2-mod-musicindex/xenial 1.4.1-1build1 amd64
libapache2-mod-neko/xenial,xenial 2.0.0-4build1 all
libapache2-mod-netcgi-apache/xenial 4.0.4-1build3 amd64
libapache2-mod-nss/xenial 1.0.12-2 amd64
libapache2-mod-parser3/xenial 3.4.3-6 amd64
libapache2-mod-passenger/xenial 5.0.27-2 amd64
libapache2-mod-perl2/xenial 2.0.9-4ubuntu1 amd64
libapache2-mod-perl2-dev/xenial,xenial 2.0.9-4ubuntu1 all
libapache2-mod-perl2-doc/xenial,xenial 2.0.9-4ubuntu1 all
libapache2-mod-php/xenial,xenial 1:7.0+35ubuntu6 all
libapache2-mod-php7.0/xenial-updates,now 7.0.13-0ubuntu0.16.04.1 amd64 [installed]
libapache2-mod-proxy-msrpc/xenial 0.6-1 amd64
libapache2-mod-proxy-uwsgi/xenial 2.0.12-5ubuntu3 amd64
libapache2-mod-proxy-uwsgi-dbg/xenial 2.0.12-5ubuntu3 amd64
libapache2-mod-python/xenial 3.3.1-11ubuntu2 amd64
libapache2-mod-python-doc/xenial,xenial 3.3.1-11ubuntu2 all
libapache2-mod-qos/xenial 11.21-1 amd64
libapache2-mod-r-base/xenial 1.2.7-1 amd64
libapache2-mod-removeip/xenial 1.0b-5.1 amd64
libapache2-mod-rivet/xenial 2.2.4-1 amd64
libapache2-mod-rivet-doc/xenial,xenial 2.2.4-1 all
libapache2-mod-rpaf/xenial 0.6-13 amd64
libapache2-mod-ruid2/xenial 0.9.8-3 amd64
libapache2-mod-ruwsgi/xenial 2.0.12-5ubuntu3 amd64
libapache2-mod-ruwsgi-dbg/xenial 2.0.12-5ubuntu3 amd64
libapache2-mod-scgi/xenial 1.13-1.1build1 amd64
libapache2-mod-security2/xenial 2.9.0-1 amd64
libapache2-mod-shib2/xenial 2.5.3+dfsg-2.1build1 amd64
libapache2-mod-spamhaus/xenial 0.7-1.1 amd64
libapache2-mod-svn/xenial 1.9.3-2ubuntu1 amd64
libapache2-mod-upload-progress/xenial 0.2-2 amd64
libapache2-mod-uwsgi/xenial 2.0.12-5ubuntu3 amd64
libapache2-mod-uwsgi-dbg/xenial 2.0.12-5ubuntu3 amd64
libapache2-mod-vhost-ldap/xenial 2.4.0-1 amd64
libapache2-mod-watchcat/xenial 1.1.2-1 amd64
libapache2-mod-webauth/xenial 4.7.0-3build1 amd64
libapache2-mod-webauthldap/xenial 4.7.0-3build1 amd64
libapache2-mod-webkdc/xenial 4.7.0-3build1 amd64
libapache2-mod-wsgi/xenial 4.3.0-1.1build1 amd64
libapache2-mod-wsgi-py3/xenial 4.3.0-1.1build1 amd64
libapache2-mod-xforward/xenial 0.6-1 amd64
libapache2-mod-xsendfile/xenial 0.12-2 amd64
libapache2-modsecurity/xenial,xenial 2.9.0-1 all
libapache2-mpm-itk/xenial 2.4.7-04-1 amd64
libapache2-reload-perl/xenial,xenial 0.13-1 all
libapache2-request-perl/xenial 2.13-4ubuntu2 amd64
libapache2-sitecontrol-perl/xenial,xenial 1.05-1 all
libapache2-svn/xenial,xenial 1.9.3-2ubuntu1 all
libapache2-webauth/xenial,xenial 4.7.0-3build1 all
libapache2-webkdc/xenial,xenial 4.7.0-3build1 all
libapache2.2-mod-security/generic 1.9.4-1izzy2 i386
libapacheds-i18n-java/xenial,xenial 2.0.0~M15-3 all
libapacheds-java/xenial,xenial 2.0.0~M15-3 all
libapacheds-kerberos-codec-java/xenial,xenial 2.0.0~M15-3 all
libcatalyst-engine-apache-perl/xenial,xenial 1.16-1 all
libconfig-apacheformat-perl/xenial,xenial 1.2-4 all
libmasonx-request-withapachesession-perl/xenial,xenial 0.31-1 all
mono-apache-server/xenial,xenial 4.2-2build1 all
mono-apache-server4/xenial,xenial 4.2-2build1 all
puppet-module-puppetlabs-apache/xenial,xenial 1.6.0-1 all
python-apache-openid/xenial,xenial 2.0.1-0ubuntu3 all
python-letsencrypt-apache/xenial,xenial 0.4.1-1 all
python-letsencrypt-apache-doc/xenial,xenial 0.4.1-1 all
rt4-apache2/xenial,xenial 4.2.12-5 all

Bear Rating Overlord
Bear Rating Overlord
Posts: 373
Joined: 20 Aug 2013, 23:13

Re: Mobile webapp for TT RSS: ttrss-mobile

Postby JustAMacUser » 04 Feb 2017, 23:50

This is not a package issue. The mobile app is entirely client-side.

What is your document root? I mean, if:

ttrss installed in : /opt/ttrss

But to use TT-RSS you visit:

... then the mobile plugin should be set to "/ttrss/mobile/", but as I said, I'm pretty sure you can leave it as its default.

Also, did you not read the part of the ReadMe that says:

You should not put this webapp in a subdir of your Tiny Tiny RSS install.

Furthermore, as I mentioned, you really only need to set the API path. I mean, the ReadMe actually says:

In the scripts dir, copy conf.js-dist to conf.js and set the variable window.apiPath pointing to your Tiny Tiny RSS installation.


Code: Select all

window.apiPath = '/ttrss/'

The way it works is: is your main installation and is the mobile one. Separate directories but on the same domain.

Bear Rating Trainee
Bear Rating Trainee
Posts: 13
Joined: 30 Jan 2017, 20:37

Re: Mobile webapp for TT RSS: ttrss-mobile

Postby chris777 » 05 Feb 2017, 14:10

Well I change a bit my configuration since apache pointed directly to ttrss.
Now I have to add /ttrss or /mobile.
API is enabled.
but result is the same.
/opt/mobile/index.html is displayed (screenshot sent earlier). But it seems whatever I put in scripts/conf.js even wrong path it doesn't change anything.

Code: Select all

more /etc/apache2/sites-available/

<VirtualHost *:80>
  DocumentRoot  /var/www

  <Directory /var/www/>
    Options FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    allow from all

  ErrorLog  /var/log/apache2/ttrss_error.log
  CustomLog /var/log/apache2/ttrss_access.log combined


Code: Select all

sudo ln -s /opt/ttrss /var/www/
sudo ln -s /opt/mobile /var/www/

Code: Select all

more /opt/mobile/scripts/conf.js

/* Copy conf.js-dist to conf.js
   and set it up for your environment.



  /* URL to access your Tiny Tiny RSS installation */

User avatar
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia

Re: Mobile webapp for TT RSS: ttrss-mobile

Postby fox » 05 Feb 2017, 15:01

i like how the config file says not to use filesystem paths and then you're doing exactly that

Bear Rating Trainee
Bear Rating Trainee
Posts: 13
Joined: 30 Jan 2017, 20:37

Re: Mobile webapp for TT RSS: ttrss-mobile

Postby chris777 » 05 Feb 2017, 15:17

fox wrote:i like how the config file says not to use filesystem paths and then you're doing exactly that

you are right, but whatever I wrote even relative path it doesn't change anything.

../ttrss/ fails
../ttrss/api/ fails
In case it's relative to the scripts folder :
../../ttrss/ fails
../../ttrss/api/ fails

/ttrss/ fails
/ttrss/api/ fails

Bear Rating Trainee
Bear Rating Trainee
Posts: 13
Joined: 30 Jan 2017, 20:37

Re: Mobile webapp for TT RSS: ttrss-mobile

Postby chris777 » 05 Feb 2017, 19:22

syntax was wrong.

apiPath: "/ttrss/"

It looks like it has changed over time and I read the old posts where syntax used to be apiPath="/ttrss/"; And copied pasted it.
Sorry about that. Thank you for helping.

Return to “Development”

Who is online

Users browsing this forum: No registered users and 1 guest