Live data from Hacker News

Ask HN: What's the easiest way to write a blog without dealing with front-end

news.ycombinator.com

1–10 of 18 posts

Ask HN: What's the easiest way to write a blog without dealing with front-end

#1
Software engineer here. I really love making small, random projects that take a few days to explore and then forget about (not in a bad way, I just think of a problem, spend a few days solving it until I'm satisfied). I always wanted to make a blog so that I can publish these little snippets to my friends etc but I'm always get bored at dealing with frontend. Currently they're in my computer waiting there rotting, I regularly delete them because there is nothing to do with them really... I tried github+jekyll but it still felt like I had to do some HTML/YAML development to get something working. It looks it's gonna work out of the box, but once you need something slightly niche, you have to dive into this rabbit. I'm more than happy to dive into rabbit holes, but I'd rather not spend time on frontend.

So my questions is, is there something that just works out-of-the-box? Maybe a paid option? I just want something as simple as "take this Jupyter Notebook and make a blog page goddamit". Features I need: syntax highlighting, normal text, showing graphs, matrices, images etc. Uh I even wish if it could support LaTeX too, but I understand that that might be asking too much. Any thoughts?

Re: Ask HN: What's the easiest way to write a blog without dealing with front-end

#4
I'm making https://epiphany.pub , a mixture of medium.com and jupyter notebook. The idea is adding programmability to blog.

It's at an early stage, but I will appreciate some feedback.

=============

syntax highlighting, (yes, highlight.js based)

normal text (I don't understand what this means, epiphany is markdown based)

showing graphs (yes, you can write js or python, matplotlib is supported)

matrices (half , there is no official api, but since you can write programs on it, this should be doable),

images .

support LaTeX too, (it supports equations in latex.)

Re: Ask HN: What's the easiest way to write a blog without dealing with front-end

#5
I use Hugo and GitHub pages. Here's my workflow:

- Make a new markdown file with the hugo command line ("hugo new posts/my-work-flow.md")

- Writing, writing, writing

- Run the server locally with drafts ("hugo serve -D")

- Check out the post, read through, more writing process

- Update the post to not be a draft and build the blog ("hugo")

- git add, commit, and push to origin

- Check my site in 5 minutes to see it updated

I try to keep it as easy as possible because writing is hard enough as it is. I find it's also very easy to spend time on the things around writing instead of writing, which isn't the point. I've done around three custom lines of CSS to style things differently from the premade theme, but I keep it to a minimum. I do CSS things for my day job and the last thing I want to do when coming home is debugging some custom styles I thought would be slick.

Not sure how you're planning to show graphs and matrices, but syntax highlighting, text, and images are very straightforward in the markdown.

Re: Ask HN: What's the easiest way to write a blog without dealing with front-end

#6
If you want to have Jupyter Notebook support then I suggest using Pelican. There's a plugin specifically for parsing Jupyter Notebooks, and you can also write simple md files. It's a bit more complicated to start with than Jekyll (meaning 2 afternoons instead of 1 :)) but it really works for me.

Source: I've been using Pelican with the said plugin for my personal website for the past few months.

Post reply on HN