The stack I use to run this blog
In this post I describe how I run my blog
- The site platform
- Where do I host the site
- The posts
- My workflow for posting an article
- Images
- The newsletter
- Books
- That’s it!
The site platform
This site is a static site built using Astro.
It was previoulsy built using Hugo and I loved it. I love creating UIs with JSX more though.
Astro, like Hugo, is very fast and generates fast pages that can be deployed on a platform like Netlify or Cloudflare Pages. That’s all I need.
Where do I host the site
I used Netlify, now I use Cloudflare Pages because they provide free unlimited bandwidth.
The posts
I write the posts using Markdown. Sometimes I use Notion or Bear or VS Code directly to write them. Markdown is a great format because it’s very portable.
My workflow for posting an article
I try to publish as much as possible.
I had a daily posting routine, although these days I’m not publishing every day I try to keep posting a lot.
I just enjoy doing it.
Sometimes I’m working on a project and in a day I have 3 post ideas, things I had to search for on Google and dig the answer.
I used to have a week or so of content ahead of time, ready for publishing, but now I just publish when I have content to publish.
I push all my content to a private GitHub repository, which is synchronized to Cloudflare Pages / Netlify thanks to their Git integration.
Every time I push to GitHub, the site is updated.
Images
I make sure all the post images are optimized using ImageOptim, to avoid useless bandwidth usage and a faster page speed.
The newsletter
I have a newsletter. Sometimes I send an email with the list of the posts I wrote, plus any new resource I create that might be interesting.
I use a self-hosted solution called Sendy and AWS SES.
Find out why you should create an email list.
Books
I wrote and distribute a number of ebooks, available on my site. You can read them online or buy them in PDF or epub, I use a tool called Honkit to generate those formats. I detail my process here: https://flaviocopes.com/how-to-create-ebooks-markdown/.
I wrote 15 book so far and I plan to make more in the future.
That’s it!
My tools and workflows are always evolving.
I try to keep this post up to date.
download all my books for free
- javascript handbook
- typescript handbook
- css handbook
- node.js handbook
- astro handbook
- html handbook
- next.js pages router handbook
- alpine.js handbook
- htmx handbook
- react handbook
- sql handbook
- git cheat sheet
- laravel handbook
- express handbook
- swift handbook
- go handbook
- php handbook
- python handbook
- cli handbook
- c handbook
subscribe to my newsletter to get them
Terms: by subscribing to the newsletter you agree the following terms and conditions and privacy policy. The aim of the newsletter is to keep you up to date about new tutorials, new book releases or courses organized by Flavio. If you wish to unsubscribe from the newsletter, you can click the unsubscribe link that's present at the bottom of each email, anytime. I will not communicate/spread/publish or otherwise give away your address. Your email address is the only personal information collected, and it's only collected for the primary purpose of keeping you informed through the newsletter. It's stored in a secure server based in the EU. You can contact Flavio by emailing [email protected]. These terms and conditions are governed by the laws in force in Italy and you unconditionally submit to the jurisdiction of the courts of Italy.