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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Anyone using https://fonts.coollabs.io/?

    Off-topic
    4
    11
    259
    Loading More Posts
    • 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.
    • scooke
      scooke last edited by

      According to their page above all you need to do is change fonts.googleapis.com to api.fonts.coollabs.io in your head tags, and that's all! Well, for Wordpress sites, it doesn't seem that straight forward. In one Wordpress site of mine, I couldn't really find the fonts.googleapis.com line in the header.php nor index.php nor anywhere else really. But I was using a Google fonts plugin, so I searched throughout the files for that and did the replacement. It still seems to work. I guess I'm not using the Google Fonts API anymore, which for EU/Germany is important.

      Anyone give this a try, and if so, what are your results/solutions?

      A life lived in fear is a life half-lived

      murgero 1 Reply Last reply Reply Quote 3
      • murgero
        murgero App Dev @scooke last edited by murgero

        @scooke The fonts will be declared in the theme, not the wordpress code itself. Good work on finding and replacing the google fonts - hopefully it stays that way!

        --
        https://urgero.org
        ~ Professional Nerd. Freelance Programmer. ~
        Matrix: @murgero:urgero.org

        1 Reply Last reply Reply Quote 3
        • marcusquinn
          marcusquinn last edited by

          Nice find! The Dev's other projects look cool:

          • https://twitter.com/andrasbacsai
          • https://coolify.io/

          We're not here for a long time - but we are here for a good time :)
          Jersey/UK
          Work & Ecommerce Advice: https://brandlight.org
          Personal & Software Tips: https://marcusquinn.com

          1 Reply Last reply Reply Quote 0
          • Referenced by  girish girish 
          • marcusquinn
            marcusquinn last edited by

            Cross-posting for the related Coolify:

            • https://forum.cloudron.io/topic/7210/coolify-open-source-alternative-to-heroku-netlify-etc

            We're not here for a long time - but we are here for a good time :)
            Jersey/UK
            Work & Ecommerce Advice: https://brandlight.org
            Personal & Software Tips: https://marcusquinn.com

            1 Reply Last reply Reply Quote 0
            • marcusquinn
              marcusquinn last edited by

              @girish Perhaps this could be added as a Cloudron feature using Apache rewrite rules and a tick-box to enable it under the Security tab of Cloudron app settings?

              We're not here for a long time - but we are here for a good time :)
              Jersey/UK
              Work & Ecommerce Advice: https://brandlight.org
              Personal & Software Tips: https://marcusquinn.com

              girish 1 Reply Last reply Reply Quote 0
              • girish
                girish Staff @marcusquinn last edited by

                @marcusquinn recently, i came across http sub module - http://nginx.org/en/docs/http/ngx_http_sub_module.html which does a very primitive form of content rewriting.

                While possible, I think this is quite a complex feature because one has to parse html and rewrite it.

                marcusquinn 1 Reply Last reply Reply Quote 0
                • marcusquinn
                  marcusquinn last edited by

                  This tool they link to also looks interesting for seeing all the places your website/app traffic is pinging:

                  • https://requestmap.webperf.tools

                  Well done cloudron.io 👏

                  9628ec7c-c75b-47fd-ae40-8fd5c6ecd40c-image.png

                  We're not here for a long time - but we are here for a good time :)
                  Jersey/UK
                  Work & Ecommerce Advice: https://brandlight.org
                  Personal & Software Tips: https://marcusquinn.com

                  1 Reply Last reply Reply Quote 1
                  • marcusquinn
                    marcusquinn last edited by marcusquinn

                    And results from the new beta version:

                    • https://requestmap.pages.dev/?id=220614_BiDcCX_CGT&run=1&seed=12345

                    98bb45b1-5694-41df-ada7-ee124e66e334-image.png

                    (using VisJS, eg: https://visjs.github.io/vis-network/examples/ )

                    We're not here for a long time - but we are here for a good time :)
                    Jersey/UK
                    Work & Ecommerce Advice: https://brandlight.org
                    Personal & Software Tips: https://marcusquinn.com

                    1 Reply Last reply Reply Quote 1
                    • Referenced by  marcusquinn marcusquinn 
                    • marcusquinn
                      marcusquinn @girish last edited by

                      @girish I'm pretty sure this is fast and unintensive for resources. We did something similar for the custom translation module at brandlight.org if you want to try switching languages to see the speed of doing these things on a whole website.

                      We're not here for a long time - but we are here for a good time :)
                      Jersey/UK
                      Work & Ecommerce Advice: https://brandlight.org
                      Personal & Software Tips: https://marcusquinn.com

                      1 Reply Last reply Reply Quote 0
                      • marcusquinn
                        marcusquinn last edited by

                        https://www.nginx.com/blog/creating-nginx-rewrite-rules/

                        We're not here for a long time - but we are here for a good time :)
                        Jersey/UK
                        Work & Ecommerce Advice: https://brandlight.org
                        Personal & Software Tips: https://marcusquinn.com

                        girish 1 Reply Last reply Reply Quote 0
                        • girish
                          girish Staff @marcusquinn last edited by

                          @marcusquinn nginx rewrite rules work at the request processing level. what we need here is to rewrite the content/response.

                          1 Reply Last reply Reply Quote 0
                          • Referenced by  L LoudLemur 
                          • First post
                            Last post
                          Powered by NodeBB