Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. App Wishlist
  3. RSS-Bridge - a good complement to Fresh RSS

RSS-Bridge - a good complement to Fresh RSS

Scheduled Pinned Locked Moved Solved App Wishlist
30 Posts 8 Posters 10.5k Views 10 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • girishG girish

    @marcusquinn I think because the app is password protected, the healthcheck route will now not return a 200 and will return 401/403. This is why Cloudron thinks it is not responding.

    Can you try something like this - https://cloudron.io/documentation/apps/lamp/#health-check

    marcusquinnM Offline
    marcusquinnM Offline
    marcusquinn
    wrote on last edited by
    #8

    @girish Thanks! Opted for the .htaccess solution from the link so it survives updates without accidental overwriting. Restarting the app now shows as "Running" in the Cloudron Dashboard.

    My Twitter Bridge issue remains though. Anyone else having any luck with this? I'm guessing it's using CURL on an open port so not a firewall issue but that's just a guess.

    Would be super handy to get this running for social media monitoring key accounts and keywords since a lot of marketing nowadays is being a good quick responder to mentions and related chat.

    Web Design https://www.evergreen.je
    Development https://brandlight.org
    Life https://marcusquinn.com

    1 Reply Last reply
    1
    • marcusquinnM Offline
      marcusquinnM Offline
      marcusquinn
      wrote on last edited by
      #9

      @girish seems I might have found the problem and it seems like it might be a Cloudron config issue?

      • https://github.com/RSS-Bridge/rss-bridge/issues/954

      The full error I get:

      Bridge returned error 0! (18480)
      2020-08-06T02:25:12+00:00
      
      Twitter @marcuswquinn was unable to receive or process the remote website's content!
      Error message: `The requested resource cannot be found!
      Please make sure your input parameters are correct!
      cUrl error: malformed (3)
      PHP error: Undefined offset: 0`
      Query string: `action=display&bridge=Twitter&context=By+username&u=marcuswquinn&_cache_timeout=300&format=Html`
      Version: `dev.2020-02-26`
      

      Web Design https://www.evergreen.je
      Development https://brandlight.org
      Life https://marcusquinn.com

      1 Reply Last reply
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #10

        @marcusquinn said in RSS-Bridge - a good complement to Fresh RSS:

        PHP error: Undefined offset: 0`

        This seems to imply that something in the config file wants an array (offset 0) but maybe you gave a string? Could it be?

        marcusquinnM 1 Reply Last reply
        0
        • girishG girish

          @marcusquinn said in RSS-Bridge - a good complement to Fresh RSS:

          PHP error: Undefined offset: 0`

          This seems to imply that something in the config file wants an array (offset 0) but maybe you gave a string? Could it be?

          marcusquinnM Offline
          marcusquinnM Offline
          marcusquinn
          wrote on last edited by marcusquinn
          #11

          @girish I can't see anything to do with offset in the config but here's the config.default.ini.php. I wonder if it needs something for the [proxy] settings?

          ; <?php exit; ?> DO NOT REMOVE THIS LINE
          
          ; This file contains the default settings for RSS-Bridge. Do not change this
          ; file, it will be replaced on the next update of RSS-Bridge! You can specify
          ; your own configuration in 'config.ini.php' (copy this file).
          
          [system]
          
          ; Defines the timezone used by RSS-Bridge
          ; Find a list of supported timezones at
          ; https://www.php.net/manual/en/timezones.php
          ; timezone = "UTC" (default)
          timezone = "UTC"
          
          [cache]
          
          ; Defines the cache type used by RSS-Bridge
          ; "file" = FileCache (default)
          type = "file"
          
          ; Allow users to specify custom timeout for specific requests.
          ; true  = enabled
          ; false = disabled (default)
          custom_timeout = false
          
          [admin]
          ; Advertise an email address where people can reach the administrator.
          ; This address is displayed on the main page, visible to everyone!
          ; ""    = Disabled (default)
          email = ""
          
          [proxy]
          
          ; Sets the proxy url (i.e. "tcp://192.168.0.0:32")
          ; ""    = Proxy disabled (default)
          url = ""
          
          ; Sets the proxy name that is shown on the bridge instead of the proxy url.
          ; ""    = Show proxy url
          name = "Hidden proxy name"
          
          ; Allow users to disable proxy usage for specific requests.
          ; true  = enabled
          ; false = disabled (default)
          by_bridge = false
          
          [authentication]
          
          ; Enables authentication for all requests to this RSS-Bridge instance.
          ;
          ; Warning: You'll have to upgrade existing feeds after enabling this option!
          ;
          ; true  = enabled
          ; false = disabled (default)
          enable = false
          
          ; The username for authentication. Insert this name when prompted for login.
          username = ""
          
          ; The password for authentication. Insert this password when prompted for login.
          ; Use a strong password to prevent others from guessing your login!
          password = ""
          
          [error]
          
          ; Defines how error messages are returned by RSS-Bridge
          ;
          ; "feed" = As part of the feed (default)
          ; "http" = As HTTP error message
          ; "none" = No errors are reported
          output = "feed"
          
          ; Defines how often an error must occur before it is reported to the user
          report_limit = 1
          
          ; --- Cache specific configuration ---------------------------------------------
          
          [SQLiteCache]
          file = "cache.sqlite"
          
          [MemcachedCache]
          host = "localhost"
          port = 11211
          
          

          Web Design https://www.evergreen.je
          Development https://brandlight.org
          Life https://marcusquinn.com

          1 Reply Last reply
          0
          • marcusquinnM Offline
            marcusquinnM Offline
            marcusquinn
            wrote on last edited by marcusquinn
            #12

            Hallelujah! Fixed in the latest version:

            • https://github.com/RSS-Bridge/rss-bridge
            • https://github.com/RSS-Bridge/rss-bridge/archive/master.zip

            Here's what the results in Thunderbird look like for this interesting dude:

            • https://twitter.com/dvassallo

            55832f16-1dc5-4b2a-83bc-2991fa87a284-image.png

            d99fe32e-fb97-443d-8833-a2f462611169-image.png

            The whole point of this is to reduce all social media following to being RSS feeds. Zero distraction, just what you need to follow and nothing else.

            Workaround for the same issue with Instagram usernames too for interest:

            • https://github.com/RSS-Bridge/rss-bridge/issues/1617#issuecomment-646679996

            Basically, rss-bridge works on Cloudron - although not every bridge always works completely as there's a cat & mouse game with some sites changing things.

            Worth packaging as an App IMHO, and probably an easy enough one for anyone more experienced that I at that since there's no DB to think about. Definitely pull the code from the latest master stream on GitHub.

            Lastly, if you have any issues, delete the contents of /cache because it's very cache-happy and that would need emptying to truly re-test any changes. Mostly should be set & forget though.

            Web Design https://www.evergreen.je
            Development https://brandlight.org
            Life https://marcusquinn.com

            1 Reply Last reply
            1
            • yusfY Offline
              yusfY Offline
              yusf
              wrote on last edited by
              #13

              Anyone up for packaging this?

              1 Reply Last reply
              1
              • marcusquinnM Offline
                marcusquinnM Offline
                marcusquinn
                wrote on last edited by
                #14

                I couldn't, day (and night) job keeps me too busy - but I do think it would be a very easy one for anyone that can since it's just file-based.

                Web Design https://www.evergreen.je
                Development https://brandlight.org
                Life https://marcusquinn.com

                1 Reply Last reply
                1
                • T Offline
                  T Offline
                  thetomester13
                  App Dev
                  wrote on last edited by
                  #15

                  I started packaging this up the other day and so far it seems to be working great! See repo here.

                  The one thing I want to play around with a bit right now is access. Part of me wants to put this app behind proxyAuth, but that might mean that any RSS feeds would need to be authenticated. I was hoping RSS feeds could be put on a path, i.e. /rss/?activity=... which could be allow-listed for proxyAuth, but since it's on the root URL I don't know if that would work. Any thoughts welcome!

                  girishG 1 Reply Last reply
                  3
                  • T thetomester13

                    I started packaging this up the other day and so far it seems to be working great! See repo here.

                    The one thing I want to play around with a bit right now is access. Part of me wants to put this app behind proxyAuth, but that might mean that any RSS feeds would need to be authenticated. I was hoping RSS feeds could be put on a path, i.e. /rss/?activity=... which could be allow-listed for proxyAuth, but since it's on the root URL I don't know if that would work. Any thoughts welcome!

                    girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #16

                    @thetomester13 how about enabling https://github.com/RSS-Bridge/rss-bridge/wiki/Authentication#rss-bridge-authentication instead? I prefer using upstream auth when available and leave it to the user if they want auth or not. Generally speak, you don't want to throw around Cloudron username/password inside apps (for example, inside your rss reader/aggregator).

                    T 2 Replies Last reply
                    3
                    • girishG girish

                      @thetomester13 how about enabling https://github.com/RSS-Bridge/rss-bridge/wiki/Authentication#rss-bridge-authentication instead? I prefer using upstream auth when available and leave it to the user if they want auth or not. Generally speak, you don't want to throw around Cloudron username/password inside apps (for example, inside your rss reader/aggregator).

                      T Offline
                      T Offline
                      thetomester13
                      App Dev
                      wrote on last edited by
                      #17

                      @girish that's a great idea! I like the proxyAuth because it limits the number of credentials one needs to access their apps, but you're right in the way that it ends being less secure since you might end up using it in other places that might not be as secure.

                      I'll play around with the built-in auth!

                      1 Reply Last reply
                      2
                      • girishG girish

                        @thetomester13 how about enabling https://github.com/RSS-Bridge/rss-bridge/wiki/Authentication#rss-bridge-authentication instead? I prefer using upstream auth when available and leave it to the user if they want auth or not. Generally speak, you don't want to throw around Cloudron username/password inside apps (for example, inside your rss reader/aggregator).

                        T Offline
                        T Offline
                        thetomester13
                        App Dev
                        wrote on last edited by
                        #18

                        @girish just added some authentication to the package in an easy-to-use config file that can be updated via the File Manager. Again the repo is here for anyone to play around with.

                        Is there any interest in creating tests for this and to eventually deploy to the Cloudron App Store?

                        necrevistonnezrN girishG 2 Replies Last reply
                        3
                        • T thetomester13

                          @girish just added some authentication to the package in an easy-to-use config file that can be updated via the File Manager. Again the repo is here for anyone to play around with.

                          Is there any interest in creating tests for this and to eventually deploy to the Cloudron App Store?

                          necrevistonnezrN Offline
                          necrevistonnezrN Offline
                          necrevistonnezr
                          wrote on last edited by
                          #19

                          @thetomester13 said in RSS-Bridge - a good complement to Fresh RSS:

                          @girish just added some authentication to the package in an easy-to-use config file that can be updated via the File Manager. Again the repo is here for anyone to play around with.

                          Is there any interest in creating tests for this and to eventually deploy to the Cloudron App Store?

                          For sure!

                          1 Reply Last reply
                          1
                          • T thetomester13

                            @girish just added some authentication to the package in an easy-to-use config file that can be updated via the File Manager. Again the repo is here for anyone to play around with.

                            Is there any interest in creating tests for this and to eventually deploy to the Cloudron App Store?

                            girishG Offline
                            girishG Offline
                            girish
                            Staff
                            wrote on last edited by
                            #20

                            @thetomester13 awesome, if it's useful, I don't see why not have it published. Does it work well?

                            T 2 Replies Last reply
                            1
                            • girishG girish

                              @thetomester13 awesome, if it's useful, I don't see why not have it published. Does it work well?

                              T Offline
                              T Offline
                              thetomester13
                              App Dev
                              wrote on last edited by
                              #21

                              @girish I've been using a Twitter feed with it with no hiccups at all! Haven't worked with many of the other 'bridges' but I'm assuming they should work well. I'll get some tests going soon and update this thread when they're ready!

                              1 Reply Last reply
                              3
                              • girishG girish

                                @thetomester13 awesome, if it's useful, I don't see why not have it published. Does it work well?

                                T Offline
                                T Offline
                                thetomester13
                                App Dev
                                wrote on last edited by
                                #22

                                @girish just pushed up some tests to the repo here. It currently simply checks for a simple JSON URL of a Twitter feed - I feel like that's enough to prove that the app is up and running, but open to adding a few others if you think it'll be beneficial. Only thing to note is that the update test needs to be updated when a version does get onto the App Store.

                                Let me know if you're able to push this through!

                                girishG 1 Reply Last reply
                                1
                                • T thetomester13

                                  @girish just pushed up some tests to the repo here. It currently simply checks for a simple JSON URL of a Twitter feed - I feel like that's enough to prove that the app is up and running, but open to adding a few others if you think it'll be beneficial. Only thing to note is that the update test needs to be updated when a version does get onto the App Store.

                                  Let me know if you're able to push this through!

                                  girishG Offline
                                  girishG Offline
                                  girish
                                  Staff
                                  wrote on last edited by
                                  #23

                                  @thetomester13 thanks you so much! excellent work, the tests worked just like that as well. I moved the repo to https://git.cloudron.io/cloudron/rss-bridge-app, you should already have permissions.

                                  It's also published as unstable now.

                                  T 1 Reply Last reply
                                  1
                                  • girishG girish

                                    @thetomester13 thanks you so much! excellent work, the tests worked just like that as well. I moved the repo to https://git.cloudron.io/cloudron/rss-bridge-app, you should already have permissions.

                                    It's also published as unstable now.

                                    T Offline
                                    T Offline
                                    thetomester13
                                    App Dev
                                    wrote on last edited by
                                    #24

                                    @girish thanks! Happy to help 🙂

                                    1 Reply Last reply
                                    1
                                    • robiR Offline
                                      robiR Offline
                                      robi
                                      wrote on last edited by
                                      #25

                                      Can dark mode be added please?

                                      Already done here:
                                      https://github.com/RSS-Bridge/rss-bridge/issues/2011

                                      Conscious tech

                                      T 1 Reply Last reply
                                      0
                                      • robiR robi

                                        Can dark mode be added please?

                                        Already done here:
                                        https://github.com/RSS-Bridge/rss-bridge/issues/2011

                                        T Offline
                                        T Offline
                                        thetomester13
                                        App Dev
                                        wrote on last edited by
                                        #26

                                        @robi The link you posted is for someone who has implemented it on their end, but it isn't yet merged into the master branch. We should wait until this PR gets merged in, and when that's done and a new release is shipped we can update the Cloudron package to pull it in.

                                        In the meantime, if you really want dark mode, you can download a browser extension to apply custom styles on certain domains. I like Stylus (Firefox), and then you can copy the CSS linked to from the issue you shared to display on your RSS Bridge instance.

                                        Hope that makes sense!

                                        robiR 1 Reply Last reply
                                        0
                                        • T thetomester13

                                          @robi The link you posted is for someone who has implemented it on their end, but it isn't yet merged into the master branch. We should wait until this PR gets merged in, and when that's done and a new release is shipped we can update the Cloudron package to pull it in.

                                          In the meantime, if you really want dark mode, you can download a browser extension to apply custom styles on certain domains. I like Stylus (Firefox), and then you can copy the CSS linked to from the issue you shared to display on your RSS Bridge instance.

                                          Hope that makes sense!

                                          robiR Offline
                                          robiR Offline
                                          robi
                                          wrote on last edited by
                                          #27

                                          @thetomester13 nice you found the PR.

                                          Did you see the comment that modified the CSS to grab the system preference?

                                          Conscious tech

                                          T 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Bookmarks
                                          • Search