Live data from Hacker News

Ask HN: What's your blog / portfolio stack?

news.ycombinator.com

41–49 of 49 posts

Re: Ask HN: What's your blog / portfolio stack?

#44
using the Lume(https://lume.land) static site generator, which I automatically run in CI and then deploy to my VPS.

All self-hosted, no middlemen, just me, my own templates, formatting, code. I focus on design simplicity, lightweight pages, and being as accessible as I can. This means both visual accessibility(Every page is hand-checked with WAVE's browser extension(https://wave.webaim.org/) and Sa11y(https://sa11y.netlify.app/)) and technical accessibility(Low- or no-JS always, make pages as lightweight as possible).

To me, this is the ideal experience, where it's all stuff I've written, and even helped contribute to(I've been doing a lot of revising the Lume docs since the author isn't a native English speaker, been a relaxing and fun experience). Also, the entire design makes sense to me, and I haven't had that in the past with any other blog stack, so this feels like an end-game blog setup.

Re: Ask HN: What's your blog / portfolio stack?

#47
I built my own CMS system which places WYSIWYG content editor in a sandboxed iframe to avoid XSS. The advantage of this approach is that I can edit HTML directly using the browser's developer console in case the WYSIWYG editor does not support what I want. After all, raw HTML/CSS codes are behind what we see on a website, so I prefer to work with them directly rather than using Markdown. Whatever CMS you use, just make sure it supports changing theme/template and allows custom content to be inserted at different sections on a web page or preferably multiple pages (i.e global content widget). I found these 2 features crucial and make my work a lot easier.

Re: Ask HN: What's your blog / portfolio stack?

#48
My blog is a set of markdown files parsed to HTML by an ASP.NET application. You can self host GitHb actions runners, so making a new post is as simple as committing a markdown file. I wrote the static site stuff myself which was probably a waste of time, but a static site created by Hugo/Jekyll/etc. hosted on your own VPS or server and deployed with GitHub actions (or another version control equivalent) is definitely the way to go.

https://github.com/eoncarlyle/portfolio-website https://iainschmitt.com/post/november-2024-grab-bag#moving-t... https://iainschmitt.com/post/new-syntax-highlighting

Re: Ask HN: What's your blog / portfolio stack?

#49
If I were ever to build a blog from scratch, I'd follow the guidelines based on what features I prefer over others.

I built shedtheshade.com few years ago, and learnt a few things about blogs along the way.

Here are my takeaways:

- Substack is great for starters

- Mailing should be always included with blog config for best results

- If a blog is updated, best way is to make sure changes are reflected in real-time as it can do a lot of damage.

- People(and crawlers) don't tend to wait for a lot of time, make sure it is fast for at least first paragraph loading in few seconds

- Understanding about Readability in modern society is important

- Media hosts should be served via CDN

- Comments should be independent to blog post db because it's the only user entered content with possiblity of getting your blog hacked

Hence the best way would be:

- Some SSG (preferably SEO optimised)

- Backend API on CF Workers

- Websockets for Blog Update

- Some DB (Preferably NoSQL for Posts and SQL for User Acc. info)

- Additional Layer of CDN

- API for Top or Suggestive Posts

- Editor.js for Editing

Post reply on HN