šŸš€ My Tiny Projects

Tiny Projects

The other day I was reading Hacker News and was inspired by an article written by Ben Stokes, the creator of tinyprojects.dev.

Probably like you, I'm that person who is constantly coming up with lots of little project ideas.

...

The goal of this website is to try and explore as many of these ideas as I can.

ā€” Ben Stokes

I love the idea of doing "tiny" projects. I have a list of projects ideas and websites on my phone that I never seem to get around too. The goal of this site is to help motivate me to explore and document some of those ideas. The first idea in my list is to build a blog šŸ˜.

Angular

I come from a web development background that started with AngularJS, which naturally has evolved into Angular. I do enjoy developing with a framework that just comes with so many things ready to use out of the box. Angular includes:

  • A CLI to generate components, services, pipes, modules, etc.
  • Lazy loaded modules
  • Routing
  • Guards
  • Dependency injection
  • Translations
  • Localization
  • Less/sass support
  • Typescript
  • Linting
  • And more...

In my opinion, the increased productivity gains are worth it for large application. They have to be in order to justify the mind-blowing bundle size that is angular... However, a simple blog like this is not a large, complicated application that requires any of that stuff. Or, at least, it doesn't have to be. I have started to build a blog using angular before, but I just can't stomach deploying 500KB+ of javascript for a... blog.

Enter static site generators.

Hugo

If you have ever researched building a blog, you have probably heard of Hugo. It is a very fast static site generator. It is written in Go, which is already known for being performant. The idea of a static site generator is to take in structured data (posts, pages, etc.), render them once (at build time), and output static html, which can be easily hosted (for free). Hugo seemed easy enough to install and use, so I decided to give it a try.

I chose to use the PaperMod theme, which was as simple as cloning a repo in the themes directory and adding some options to config.yml. Easy enough, right? Building this blog has been super simple (so far). I'd definitely recommend giving it a try. There is a vast collection of themes available for a variety of use cases, including blogs, portfolios, and personal sites. Check them out here.