coollabsio / fonts

A privacy-friendly drop-in replacement for Google Fonts
https://fonts.coollabs.io
Apache License 2.0
405 stars 14 forks source link

[q&a] self-hosting questions #2

Open spencerflagg opened 2 years ago

spencerflagg commented 2 years ago
  1. Would you recommend self-hosting this server on a VPS?
  2. Would self-hosting from the same server as the website that consumes the font be a speed benefit? What if both Cool Fonts and the website that consumes it were hosted on the same Coolify instance?
  3. Am I correct in assuming that, to self-host this, I could pull it down to my own Gitlab and deploy it from there via my Coolify instance?

Regardless - love this project! I was looking for something like this exactly when you were writing it, it seems. :)

andrasbacsai commented 2 years ago
  1. Yes, you can self-host it, but you will not have CDN by default. I'm giving it to everyone for free.
  2. Unfortunately no, because it mostly depends on the client's location, not where coolLabs Fonts hosted.
  3. Yes, you only need to set the DOMAIN env variable. I will make a docs about self-hosting it. (Added to my to-do list. 😃 )
thirstycode commented 3 months ago

@andrasbacsai do you have a guide on how to self host this?