My personal site (version 1.0)

My personal site (version 1.0)

ยท

3 min read

Reflecting on building my personal site from scratch, in my spare time, over the past couple of months.

๐Ÿ”” This article was originally posted on my site, MihaiBojin.com. ๐Ÿ””

A couple of months ago, I set out on a journey to build a personal site from scratch. If youโ€™re curious, I wrote about my motivation at the start.

One of my goals was to build and host my site for free (well, mostly free anyway).

I initially wanted to use a hosted service such as Medium or Substack, but I was swayed by listening to many other creators; owning your content is the way to go!

Here are the necessary components, in my opinion, for a developer blog (in 2021):

  • Web domain

  • ๐Ÿ•ธ in my case, MihaiBojin.com โ€” cost: ~$12/year

  • Fast frontend, e.g., GatsbyJS

  • ๐Ÿš€ JAMstack has become the de-facto choice for content websites

  • โ™บ support for SSG

  • โฌ‡ content rendering with Markdown

  • ๐Ÿ”Ž good out-of-the-box SEO

  • ๐Ÿ’ผ RSS feed generation

  • ๐Ÿ—บ sitemap generation

  • โšก๏ธ Accelerated Mobile Pages support (via plugins)

  • Cloud hosting solution

  • I chose Gatsby Cloud โ€” cost: ๐Ÿ†“

  • (but Netlify or Vercel are viable alternatives)

  • Decent UI

  • โ›ต๏ธ Iโ€™m not a designer, so I settled for buying TailwindUI โ€” cost: 250โ‚ฌ (lifetime purchase)

  • CI/CD pipeline

  • ๐Ÿšข Iโ€™m hosting my code on GitHub

  • ๐Ÿช and triggering builds using a webhook that sends events to gatsbyjs.com

  • Ability to send newsletters

  • ๐Ÿ“ง I integrated ConvertKit โ€” cost ๐Ÿ†“ for up to 1,000 subscribers

  • Analytics and SEO

  • ๐Ÿง I set up Google Analytics โ€” cost: ๐Ÿ†“

  • ๐Ÿ” Google Search Console โ€” cost: ๐Ÿ†“

  • ๐Ÿฆ and Ilo.so for Twitter โ€” cost: $15.00/month

  • Content syndication

  • ๐Ÿ”‰ I cross-post to Medium using Zapier โ€” cost: ๐Ÿ†“

  • ๐Ÿ“ฌ I cross-post to Dev.to (using RSS)

  • Social posts

  • ๐Ÿ“ฑ I schedule social posts using Missinglettr โ€” cost: $19.00/month

Total monthly cost: $35.00/month.

It took me a few months of working in my spare time to get here. Itโ€™s not perfect, but itโ€™s a good start that enables me to write and publish content that I own 100%.

My initial plan was to write about Software Engineering. However, I started having fun while learning GatsbyJS, GraphQL, and refreshing my Javascript/React skills.

So I took a slight detour and wrote about building my site, building in public.

While I like what I achieved with Gatsby, I found myself fighting it while trying to achieve various outcomes. Also, some of the promises it makes are downright false; one such example is support for โšก๏ธ AMP. This should be achievable through a third-party plugin, but in my experience, that plugin is challenging to work with.

This leads me to my โ€œnextโ€ adventure (pun intended) โ€” the second version of my site!

I have been looking with great interest at NextJS 11. Friends tell me itโ€™s โ€œthe wayโ€ to do React nowadays. It has all of Gatsbyโ€™s capabilities and more. But most importantly โ€” it relies much more on vanilla JS/TS instead of custom (and mostly unmaintained) GatsbyJS plugins.

I donโ€™t know when Iโ€™ll have time to start this project; I expect it wonโ€™t be any time soon.

For now, my current stack works and allows me to focus on what really matters โ€” my content. But I canโ€™t shake the feeling that my code is getting messier by the dayโ€ฆ

If you liked this article and want to read more like it, please subscribe to my newsletter; I send one out every few weeks!

ย