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. Off-topic
  3. Anyone using https://fonts.coollabs.io/?

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

Scheduled Pinned Locked Moved Off-topic
11 Posts 4 Posters 1.4k Views 4 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.
  • scookeS Offline
    scookeS Offline
    scooke
    wrote on last edited by
    #1

    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

    murgeroM 1 Reply Last reply
    3
    • scookeS scooke

      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?

      murgeroM Offline
      murgeroM Offline
      murgero
      App Dev
      wrote on last edited by murgero
      #2

      @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. ~

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

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

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

        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
          #4

          Cross-posting for the related Coolify:

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

          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
            #5

            @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?

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

            girishG 1 Reply Last reply
            0
            • marcusquinnM marcusquinn

              @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?

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

              @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.

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

                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

                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 marcusquinn
                  #8

                  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/ )

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

                  1 Reply Last reply
                  1
                  • girishG girish referenced this topic on
                  • girishG girish

                    @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.

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

                    @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.

                    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
                      #10

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

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

                      girishG 1 Reply Last reply
                      0
                      • marcusquinnM marcusquinn

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

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

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

                        1 Reply Last reply
                        0
                        • marcusquinnM marcusquinn referenced this topic on
                        • L LoudLemur referenced this topic on
                        • necrevistonnezrN necrevistonnezr referenced this topic on
                        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