Why reinvent the wheel? Use Wordpress/Ghost etc
The ideal tech stack for a personal developer blog in 2020
181–190 of 275 posts
Re: The ideal tech stack for a personal developer blog in 2020
#182This setup is going to lose its sheen really quickly when every attempt at writing a blog post also accompanies three hours of npm package bumps
Re: The ideal tech stack for a personal developer blog in 2020
#183Apart from the questionable complexity of the tech-stack, it's not even performant. According to WebBloatScore¹, the bloat score is 2.21. The webpage size is 491kb, makes 18 requests. In comparison, HN frontpage score is 0.175. [1] https://www.webbloatscore.com/
I'm still bloated, but performance is a lot better. Thanks for the link!
Re: The ideal tech stack for a personal developer blog in 2020
#184Maybe I'm getting "too old for the shit" but, why is he using all that latest "web app" tech to build a series of web pages?
More concretely: I try to address that in my list of criteria section under "React + TypeScript". I couldn't shake the feeling that doing anything complex in the future was going to be even more complicated if I have to fight against an SSG framework to do it. I also address the fact that currently this is wildly overengineered currently :D
Re: The ideal tech stack for a personal developer blog in 2020
#185Re: The ideal tech stack for a personal developer blog in 2020
#186Scans to see how he is dealing with native comments... Realises the issue remains unsolved, along with 99% of ’CMS’ solutions... Continues with Wordpress.
Re: The ideal tech stack for a personal developer blog in 2020
#187Earning my daily bread with writing React with TypeScript and using next.js, this is exactly what I would use for my personal blog. Sorry for the many negative comments. I'm not sure if many people here do websites for a living, but I can't imagine doing stuff any other way anymore. It's just so convinient from a developer standpoint. Is it overkill for some websites? Maybe, but in the end you are dead on with your s…
Re: The ideal tech stack for a personal developer blog in 2020
#188Earlier quoted context omitted.
I use Jekyll too. It just works and I'd happily use it on future projects. Even with ~300 posts and ~100 drafts it only takes 2 seconds to see auto-reloaded updates when I'm actively writing. That's within WSL 1 too (room for speed improvements are there with WSL 2). It also has nice plugins to process SCSS and bundle your CSS / JS, along with md5 tagging all static files for cache busting without having to use Webpa…
You lost me at "plugins" I'm afraid. I looked into ways to mix in React + TypeScript into both Hugo and Jekyll and it just seemed like an uphill battle. Based on my criteria (which I'm realizing aren't very popular on HN!) the best approach is to build everything "React-first" with Markdown mixed in, instead of the other way around.
Plugins are optional. If you used Webpack directly to manage your static files you could just tell Jekyll to load them from whatever directory Webpack outputs them to and then you can build your SPA to render blog posts however you see fit.
If you're using React you would want to use a native Webpack config right? This way it works anywhere, and isn't tied into any specific static site generator.
Re: The ideal tech stack for a personal developer blog in 2020
#189Apart from the questionable complexity of the tech-stack, it's not even performant. According to WebBloatScore¹, the bloat score is 2.21. The webpage size is 491kb, makes 18 requests. In comparison, HN frontpage score is 0.175. [1] https://www.webbloatscore.com/
Re: The ideal tech stack for a personal developer blog in 2020
#190This is front end only so not really a complete stack.
I do think the term "tech stack" has come to be used more broadly than your definition.