TGViewer
ITGram ITGram @itgram_channel · 390 subscribers
Post #570 731
🔧 netlify is quite cool. It's a hosting for static websites with a lot of nice features, like custom domains, automatic integration with Github (provides CI and previews), automatically renewed let's encrypt certificates, configuration-as-code. I use it for all my open-source websites (wps.orsinium.dev, orsinium.dev, svg.orsinium.dev, gweb.orsinium.dev, you got the idea), and I'm quite far from running out of quotas they provide for free accounts.

I avoided for quite a long time all static website hostings because I thought they only can serve whatever HTML you already have in the repo. No, netlify can also build the pages. For each build, it spawns an Ubuntu Docker image with a lot of stuff already installed (like Python and Go) and calls whatever custom command you've provided (which can be a shell script if you have a complex build logic). For example, in svg-playground, the netlify.toml tells to run netlify.sh which installs and runs task. And task executes Taskfile.yaml which does quite a few things, producing at the end all HTML pages and WASM binary. That could be fewer files if you want but I felt like being more verbose there.
More from @itgram_channel
  1. Jul 26, 2023taplo is a CLI tool (and a Rust library) for working with TOML. It can check TOML files fo…
  2. Jul 21, 2023Mutation testing is technique for evaluating how good your tests are. The idea is that a s…
  3. Jul 19, 2023refurb is yet another linter for Python. What makes it special is that it internally runs…
  4. Jul 18, 2023To make all my content accessible, I've provided source, website, and RSS for every projec…
  5. Jul 17, 2023A long time ago, I used to use Twitter to find out about new projects and blog posts. Late…
  6. Jul 17, 2023Channel photo updated
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →