Live data from Hacker News

The ideal tech stack for a personal developer blog in 2020

vriad.com

111–120 of 275 posts

Re: The ideal tech stack for a personal developer blog in 2020

#111

Another aspect is that your blog should make you want to blog. The tech stack therefore mirrors your interests. It feels great to use tools built by _yourself_ for _yourself_. Doubly so if the stack is janky (rust / org-mode for me). The feeling that you've made something makes you want to invest more into it. To make sure the tools were worth making in the first place.

I'd love to see a blog post on how your rust/org-mode blog works.

Re: The ideal tech stack for a personal developer blog in 2020

#112
Jumping in on this one. I built a very basic server in Go (learning project) that parses posts from markdown and folder structure and lists them in a terribly arbitrary order and otherwise serves static html with some js enhancements that degrade without killing the site. Sits behind an nginx proxy.

Everything is quite outdated, mind.

https://github.com/robertfairley/rf-19-go/

Re: The ideal tech stack for a personal developer blog in 2020

#113
post #105

Authors first requirement is “I want to build the site in React and TypeScript. I love them both wholeheartedly, I use them for my day job, and they're gonna be around for a long time. Plus writing untyped JS makes me feel dirty.” That preference is not true for others and I feel like that makes the article’s title misleading.

>they're gonna be around for a long time

how many months does that translate to in frontend dev time?

Re: The ideal tech stack for a personal developer blog in 2020

#114
post #57

> Devii is powered by Next.js. We chose Next.js because it's the simplest, most elegant way to generate a static version of a React-based website. There's nothing simple about this crapton of dependencies. Sure, it may be easy to build things this way, but let's not conflate the two terms.

Regardless of the dependencies, the point that it is the 'simplest, most elegant way to generate a static version of a React-based website' applies. Next.js is ridiculously simple to get up and running with - even for JS rookies.

Re: The ideal tech stack for a personal developer blog in 2020

#115

The other day I started an HTML document from scratch, in VSCode. I kinda blacked out and came to 5 seconds later, and thanks to autocomplete and muscle memory, the whole skeleton of a document was there. HTML and Head and title and body and all that. It was so fast & fluid. I'm ashamed to say I'd kinda forgotten how easy it is to just write fucking HTML . It's even got me reconsidering things like Markdown—I mean, f…

This! I wrote my personal website [1] a few days ago (after it was blank for years) and went for concrete css [2] and plain HTML together with some Go code to serve the files. I set up a server on Hetzner Cloud [3] and my site was up within minutes using Traefik to get a SSL certificate from Letsencrypt. All in all it took me about 2 hours. If you start to play around with a CMS it can take you days if not weeks. Just write plain HTML, boring but sometimes very efficent.

[1] https://marvinblum.de/

[2] https://concrete.style/

[3] https://www.hetzner.com/

Edit: Bonus! I did the same for my brothers website: https://schnittfest.gmbh/ Just if you're curious.

Re: The ideal tech stack for a personal developer blog in 2020

#116

The other day I started an HTML document from scratch, in VSCode. I kinda blacked out and came to 5 seconds later, and thanks to autocomplete and muscle memory, the whole skeleton of a document was there. HTML and Head and title and body and all that. It was so fast & fluid. I'm ashamed to say I'd kinda forgotten how easy it is to just write fucking HTML . It's even got me reconsidering things like Markdown—I mean, f…

The primary advantage of markdown is that it is more readable in plaintext.

Re: The ideal tech stack for a personal developer blog in 2020

#117
post #105

Authors first requirement is “I want to build the site in React and TypeScript. I love them both wholeheartedly, I use them for my day job, and they're gonna be around for a long time. Plus writing untyped JS makes me feel dirty.” That preference is not true for others and I feel like that makes the article’s title misleading.

>they're gonna be around for a long time how many months does that translate to in frontend dev time?

This meme is tedious.

Typescript is here to stay. No question.

React has been a thing now for what, six years? And it feels like 80% of FE job opening require React. And no major shift on the horizon.

Re: The ideal tech stack for a personal developer blog in 2020

#118
post #6

Here's my stack: I write .html files in GNU Nano, and serve them with Apache. I've done that for about 20 years (with varying editors and servers), and I don't see why it needs to be any more complicated putting words on the internet. Yes yes, old man yells at cloud etc, but I'm a strong believer in "less is more".

It becomes more complicated as soon as a you have a sidebar with "Last articles" in which case you would need to edit each single HTML files to edit the sidebar consistently. Even with a single archives page you need to think about updating the archive for each new article. Also Markdown is definitely more author-friendly than HTML, but that's more like an extra.

    cat header > index.html
    cat page >> index.html
    cat footer >> index.html

Re: The ideal tech stack for a personal developer blog in 2020

#119
post #6

Here's my stack: I write .html files in GNU Nano, and serve them with Apache. I've done that for about 20 years (with varying editors and servers), and I don't see why it needs to be any more complicated putting words on the internet. Yes yes, old man yells at cloud etc, but I'm a strong believer in "less is more".

I think that personal sites are usually the ideal grounds for exploring a new technology or learning a new language/framework/cloud/fill-in-the-blank. That's why a lot of them run on often-times ridiculously over-engineered tech. If you have a site that is working for you - great! Could every developer's blog be a set of HTML files and a script? Sure. But many developers prefer to tinker and build on new technologies, and their personal site or blog is a great place for that tinkering.

Re: The ideal tech stack for a personal developer blog in 2020

#120

Another aspect is that your blog should make you want to blog. The tech stack therefore mirrors your interests. It feels great to use tools built by _yourself_ for _yourself_. Doubly so if the stack is janky (rust / org-mode for me). The feeling that you've made something makes you want to invest more into it. To make sure the tools were worth making in the first place.

I'd love to see a blog post on how your rust/org-mode blog works.

I wrote an article about that here: https://dpbriggs.ca/blog/making-a-blog-with-rust-and-orgmode

The main changes since that article is I use systemd services to manage caddy / webserver instead of tmux sessions.

The short of it is: rocket + tera + org-mode html export + some amount of parsing. There didn't exist high quality org-mode parsing crates when I made the blog.

You can learn more about the org-mode parts from the source code: https://github.com/dpbriggs/dpbriggs-blog/blob/f4936fa2dafea...

Post reply on HN