8 ms·
Ask HN: How to build a light weight personal blog?
I've been running my personal blog for a while using WordPress, but I find it too buggy and loads slow.
I was thinking of redesigning and redeveloping my blog into a light static website. What are some alternatives to Wordpress that are fast and small? I don't really need a CMS as I write all my blog posts in markdown. I'm currently thinking of using Hugo or use some framework like Skeleton. Any other suggestions?
My current site: https://rishikeshs.com/ https://rishikeshs.com/
- Igor_Wiwi 5y agoI am using and self hosting Ghost, highly recommend this engine
- gitgud 5y ago[1] Hexo is pretty good, just simple static hosting. [1] https://hexo.io/ https://hexo.io/
- cyberge99 5y agoAnother vote for hexo. Here[1] is a shameless plug of my cut at it. I was able to achieve a 100 on pagespeed insights with it and a few tweaks: [1] https://chrisbergeron.com https://chrisbergeron.com
- pxllh 5y agoI really like 11ty for this sort of thing. It uses nunjucks templating but the starter is enough to just build a blog and add your own css. Works with most hosts as it has a build script you can run and serve the output folder. https://www.11ty.dev/ https://www.11ty.dev/ Edit: typo (css, not cms)
- dusted 5y agoI write my blog in plain text files (because it's primarily intended for gopher), and then wrote a little node+express service that watches those text-files and applies a bit of regex to it to make links be links, and otherwise just formats it as html. Here's how it looks http://dusted.dk/pages/phlog/2021-12-14.txt http://dusted.dk/pages/phlog/2021-12-14.txt and http://dusted.dk/pages/phlog/2021-12-14.txt?raw http://dusted.dk/pages/phlog/2021-12-14.txt?raw to inline an image, i just refer to the name, so lol.png becomes an <img src="lol.png"> in the html. My main compromise is that if it makes the plaintext less pretty, it can't go in, no tags. My inline code blocks is made by matching for a language or file name ending with: and if the next line is indented, it is considered code. Look at http://dusted.dk/pages/phlog/2019-12-20.txt http://dusted.dk/pages/phlog/2019-12-20.txt and the raw text http://dusted.dk/pages/phlog/2019-12-20.txt?raw http://dusted.dk/pages/phlog/2019-12-20.txt?raw
- lloydatkinson 5y agoI used Astro with markdown files, with some Vue components for interactivity and search.
- deleted 5y ago[deleted]
- jabej 5y agoIf you find it too slow you may want to try a cache plugin. I think automattic (the creators of Wordpress) have one.
- pjc50 5y agoThis is one of those things where it's almost quicker to write a new SSG than to search through the thousands that are already out there. Depends which language(s) you prefer and are most comfortable with.
- krapp 5y agoI use Lektor and publish by Git[0], or at least I would if I ever updated my blog. Any static blog framework is probably adequate, though. [0]https://neurobin.org/docs/web/using-git-to-manage-a-website https://neurobin.org/docs/web/using-git-to-manage-a-website
- nikivi 5y agoI am evaluating these options now: - https://github.com/alaq/adrien.sh https://github.com/alaq/adrien.sh for NextJS - https://github.com/sw-yx/swyxkit https://github.com/sw-yx/swyxkit or Svelte - https://github.com/SimeonGriggs/simeonGriggs https://github.com/SimeonGriggs/simeonGriggs for Remix All have designs I like. I am only familiar with NextJS and find it a pleasure to work with.
- southerntofu 5y agoWhy all the JS/TS though? Part of what's great about a static site is serving simple HTML/CSS pages that look great, degrade gracefully, and don't hog users CPU/RAM like JS applets do.
- nikivi 5y agoWith Next/Svelte/Remix you can only ship HTML/CSS if you want. Reason to use those frameworks is that I find their mental model to fit nicely for progressive enhancement. For my blog, I plan to have interactive content via MDX or something similar so there will always be optional JS involved.
- southerntofu 5y agoThanks for the clear answer. I've previously heard of server-side rendering for JS frameworks but i was certainly not aware that several frameworks supported it, and that some people like you actually cared :)
- gitgud 5y agoTake a look at nextjs it serves plain HTML and CSS then hydrates it with JavaScript interactive-ness
- frankwiles 5y agoI rebuilt my personal site using Hugo a couple years ago and it’s been great. Super easy to write new posts in Markdown, flexible enough I could do anything I might need, but easy enough to build out just the features I need and no pressure to update anything for security reasons.
- gbuk2013 5y agoI use https://www.metalsmith.io/ https://www.metalsmith.io/ for my site and it works great, but any static site generator will do the same. No comment functionality but that’s fine by me. Static sites are cheap and easy to host. :)
- abdullahkhalids 5y agoI am very happy with Pelican, with isso for self-hosted comments.
- petargyurov 5y agoJekyll + GitHub Pages = Static blog with free hosting You could substitute Jekyll for other supported frameworks. Pros: * Markdown (so super flexible) * Git as the backbone (free CRM, free history) * Customisable (if you know how to code) * Free templates Cons: * Jekyll is a bit of a pain on Windows but should be fine on Linux/Mac * Images might not load super quick from GitHub's servers * You need to know basic Git
- southerntofu 5y agoAnother con: you depend on Microsoft's good will to serve your blog, as they own Github. That kind of workflow is amazing but you should probably consider going with a non-profit software forge that runs on donations and will protect (y)our interests (like codeberg.org for example).
- sofixa 5y agoAnd there's so much competition in that space ( static site hosting) it's actually difficult to choose a provider, so if GitHub does something bad, you can switch in no time ( pending DNS propagation).
- rcarmo 5y agoGitHub sites were in place long before the acquisition. (I'm an MS FTE now, but have been using GitHub since the beginning and am a bit weirded out by this perception that corporate ownership is a taint of some kind.)
- southerntofu 5y agoIn my personal views, corporate ownership is mostly a bad thing. Although i can see how some corporations are very user-friendly and will go to great length to service their users. But i can't say Microsoft, who's always been engaged in very user-hostile practices, has a good track record. Microsoft famously tried to outcompete the Internet via their existing monopoly on Windows with MSN (not just the messenger) back in the day, and have always been super hostile to free-software. They have also, like any corporation, stopped to maintain several services over the years and the fact that beyond their public image they don't have any incentive to keep Github Pages going doesn't inspire me confidence. The fact that Github Pages were up and running before Microsoft's acquisition of Github is a reason to be worried. There's no money flowing in from that service and it probably costs a fair amount. Despite their "we love open source" statements, i've yet to see Microsoft open-sourcing any significant product (including Github) and specifying/standardizing existing stuff like Github Actions.
- yellowapple 5y agoI personally use Jekyll for all my static website needs (including my homepage); probably better options out there (certainly newer ones), but I like that it's a first-class citizen for GitHub Pages (not relevant for my own homepage, which runs off a VPS in Iceland, but certainly relevant for the couple of FOSS projects of mine that have their own websites) and if it ain't broke, why fix it? Any similar static site generator should be right up your alley - Hugo included. It's been a dream of mine to someday do everything via Emacs' Org Mode, but I haven't yet felt motivated enough to take the plunge.
- coffeecheque 5y agoThis sounds like a job for Hugo, GitHub and Netlify. Simple. Easy. Free. You can even set up a form and get comments into your email. (Then just manually copy/paste into the markdown and commit it again and force a rebuild). I use that setup and I love it.
- yunohn 5y ago> just manually I would find this tedious for any number of comments. Is there a better way?
- coffeecheque 5y agoI’ve thought about writing a AWS Lambda that you POST the comment form to which then adds a file to the git repo that then Hugo can grab when Netlify is building the site, but that seems rather complex and I think it’d take me a lot more time than just doing it manually. But I haven’t found a good, lightweight, privacy focussed way to solve this yet.
- southerntofu 5y agoI'm also interested in this (although not AWS): what would be interesting would be a protocol-first approach where we can come up with several interoperable implementations. i personally would go with a simple PHP script, but i can see reasons for which someone would use another tech that's closer to the rest of their stack.
- krapp 5y agoDon't host comments. The day when comments tended to have any value on the web passed ages ago. No one blogs anymore, and no one reads blogs anymore, so most of the traffic you get is just going to be bots or cancerous trolls anyway - if you're lucky enough to get any actual human readers at all in the latter case. Or use a hosted service like Disqus or an alternative if you want comments, but the better solution is not to bother.
- 5y ago
- throwaway81523 5y agoOrg mode and html export. If you want to be fancier, there is this: http://ahungry.com/blog/2013-04-01-blogging-with-org-mode.html http://ahungry.com/blog/2013-04-01-blogging-with-org-mode.ht... There might be other stuff like that as well. I just use org directly, though I guess in a "blog-like" manner rather than as a true blog.
- rvieira 5y agoIf anyone already has a Hugo setup, I really recommend org-mode -> ox-hugo[0] -> Hugo. Works great. [0] - https://ox-hugo.scripter.co/ https://ox-hugo.scripter.co/
- cushychicken 5y agoJekyll, all the way. Easy and free to get going on GitHub Pages.
- Borkdude 5y agoReplaced my Octopress blog with 200 lines of babashka (Clojure) and blogged about it here: - https://blog.michielborkent.nl/migrating-octopress-to-babashka.html https://blog.michielborkent.nl/migrating-octopress-to-babash... - https://blog.michielborkent.nl/better-clojure-highlighting.html https://blog.michielborkent.nl/better-clojure-highlighting.h... - https://blog.michielborkent.nl/markdown-clj-babashka-compatible.html https://blog.michielborkent.nl/markdown-clj-babashka-compati...
- blunte 5y ago> "Figwheel keep Om turning!" Love the musical word play. Nicely done :)
- soapdog 5y agoA key take away from many years of running a blog as a static website is that may add friction to your process. Unless you have some sort of CI/CD going on, the chances are that one can only post from their own computer, while using something like Wordpress allows them to post from anywhere — including their mobile devices — which leads to a ton of serendipity. You might want to evaluate if posting from multiple devices is important to you, and if you're willing to setup some process to do it with a static website. I'm not saying that it can be done, I'm just highlighting that it is not something you can automatically take for granted. An option that you might want to consider is GravCMS[1] which is PHP based. It has an interactive app for admin and posting, but once you post it generates static files. So from the point of view of the server and your readers, your website is static. You can still post from anywhere though. I'm sure there are other similar solutions, and that someone has a SaaS to solve this which they think it will be the next unicorn. Anyway, just another thing for you to consider. [1]: https://getgrav.org/ https://getgrav.org/
- mooreds 5y agoYes, it depends on what you want to achieve. If you are looking to get an understanding of deployment models, gitops, hosting solutions, CSS, HTML, and maybe do some writing, choose the static hosting option. If you are looking to write, choose wordpress, preferably hosted.
- pxllh 5y agoI think the rise of static site generators has pretty much gotten rid of this as a problem. Regarding posting only from your computer, you can just use a git repo that triggers builds on push. You can see many options for them here https://jamstack.org/generators/ https://jamstack.org/generators/
- southerntofu 5y agoCI/CD pipelines is not exactly complicated, but how do you handle multi-user permissions on a git repository? You sure can with git hooks if you run your own git server, but with an integrated solution like Github it's simply impossible. Some apps like Netlify (are there others?) presented solutions but are unfortunately to my knowledge not selfhostable.
- fer 5y agoI use Pelican mainly because if I ever need a plug-in to do something very particular, I'd rather use something I'm extremely familiar with (Python). I host in Netlify with my own domain name. Link in profile if interested.
- sandreas 5y agoI use hugo[1] for pilabor.com, heres my personal tutorial, how to build a blog from the scratch: https://pilabor.com/blog/2021/05/building-a-blog-with-hugo/ https://pilabor.com/blog/2021/05/building-a-blog-with-hugo/ Benefits: - Write MarkDown for blog posts - Integrate custom HTML, JS and CSS snippets - Site search via JavaScript and JSON index file - Integrate data files (like auto replace affiliate links, content table building or dynamic image resizing) - Very fast site generation - Image Processing features - HTML, CSS and JS minification - One single binary that runs nearly everywhere (e.g. on Raspberry PI) [1] https://gohugo.io/ https://gohugo.io/
- cube2222 5y agoI recommend using Hugo for the site generation (there's lots of themes, it's customizable, you can write in markdown, it has WordPress import and it's very easy to get started) and hosting the files on GitHub pages.
- XorNot 5y agoI switched to Nikola recently: https://getnikola.com/ https://getnikola.com/ Reads every kind of plaintext format, but will also just publish a Jupyter notebook which means you can do drag and drop image and graph inlining which makes everything so much simpler (and thus makes me more likely to keep it up). Also single command GitHub pages publishing.
- Moru 5y agoI use Material for MkDocs [1]. It even has javascript search built in. I'm sure there are other templates fitting a blog better but I use it for a recipe collection on github pages. [1] https://squidfunk.github.io/mkdocs-material/ https://squidfunk.github.io/mkdocs-material/
- bondant 5y agoWrite the post in markdown then convert them to HTML with pandoc. Write a bash script which walk into every directory to convert and you have a minimalist blog engine.
- photonios 5y agoThis is what I do. Pandoc to convert the markdown files into standalone HTML files. I use a custom HTML template to style the page a bit and add meta tags etc.
- 300 5y agoI use Hugo. Lots of free themes here: https://themes.gohugo.io/ https://themes.gohugo.io/ You can write your content in Markdown, keep everything in a repo, and only push static files to the hosting of your preference.
- approxim8ion 5y agoI use Zola[1]. Single binary, simple structure, minimal frontmatter. 1. https://getzola.org https://getzola.org
- southerntofu 5y agozola is great! Some caveats: full translations still require workarounds, and nested macros are not a thing. But it's making great progress and certainly tera templates (jinja-like) are much easier to deal with than go templates.
- jart 5y agoI write some of the most popular content on Hacker News. My HTML pages have an similarly austere style to what you might expect from Dan Luu or Fabrice Bellard. However I make an effort to give them a slightly more distinctive modern feel, while loading just about equally fast. Here's how I do it. Example: https://justine.lol/sectorlisp2/ https://justine.lol/sectorlisp2/ First, I like Roboto. It's overused but it deserves to be. It's the Helvetica of our age. The problem is custom fonts go slow. The trick I use is to use a data: uri for the latin1 character ranges in an inline <style> tag at the very top of the page, so that the top portion of the article can start rendering immediately. <style> @font-face{font-family:'Roboto';src:url(data:font/woff2;base64,d09GMgABAAA... html{font-family:Roboto,sans-serif;font-size:14pt}body{max-width:960px,... </style> The only tools you need to do stuff like this are really uglifycss and uglifyjs. Plus maybe a shell script that runs files through `openssl base64`. To save on bandwidth fees, I've learned to defer autoplay videos until they scroll into the viewport. See http://justine.lol/sectorlisp2/video.js http://justine.lol/sectorlisp2/video.js to learn how. When copying to google cloud storage cdn it's a good idea to use the `-z` flag so content can be delivered with gzip encoding. gsutil -m -h Cache-Control:public,max-age=31536000 cp -a public-read -z com,dbg,css,html,a,h,lds,o,js,ttf *.js *.css gs://justine/sectorlisp2/ It's nice to not force people to use https. Dan Luu talks about the reasons why on his blog. Be sure to use tools like https://pagespeed.web.dev/ https://pagespeed.web.dev/ which will help you with the rest. Another good tool is https://favicon.io/favicon-generator/ https://favicon.io/favicon-generator/ for generating favicons. I'm very happy with it. I'm also a huge fan of https://excalidraw.com/ https://excalidraw.com/ and graphviz https://dreampuf.github.io/GraphvizOnline/ https://dreampuf.github.io/GraphvizOnline/ Also I'd give a shoutout to the optipng and pngcrush commands. PNG-8 is fabulous. So is Photoshop. Finally, for something like a blog, consider just writing HTML. Your time is better spent learning how to be really efficient at using an editor like Emacs that lets you be a monster with manual refactorings than you would with a static site generator framework, which are usually heavyweight and frequently change in ways that causes breakages and have lots of weird dependencies. I don't think they're the sorts of things that can be counted on if you need to go back ten years later.
- the-dude 5y agoI am really interested in the 'buggy'ness of WP. Especially when you basically would be served with a static website, I do wonder which 'bugs' in WP are annoying you so much.
- jonwinstanley 5y agoAgreed, if you stick to basic WP I can't imagine you'd see many bugs due to the huge audience that use the platform. If you'd said WP is unpleasant to extend, or written using dated PHP techniques I'd have agreed whole-heartedly.
- achairapart 5y agoNot OP, but maybe the new over-designed/over-engineered Gutenberg UI may feel slow, overkill and may only brings loads of unnecessary complexity, especially for someone who want to keep a simple blog, or is used to write his posts in simple markdown.
- the-dude 5y agoThe old UI is still available and there are plugins which hide the whole of Gutenberg. I don't use Gutenberg but I don't think it is over-engineered, I think a block-based approach is a sensible way forward.
- rishikeshs 5y agoMay be I stated it wrong. But here are some of the problems I face in WP: 1. Sometimes the backend is quite slow. Can be an issue with the hosting. 2. I think there are too many options for me. I want something simple like Hugo! 3. In the past, I have ran wordpress sites and they tend to become slow over time. May be this can be solved with better plugins and hosting! The point is there are too many things in wordpress that I don't want!
- apricot13 5y agoyour WP concerns sound similar to mine. I ran a WP site for years locked it down server ran fine but upgrades and maintenance required setting up a local dev environment etc not always possible when I don't always have a personal machine to work on. I found the perfect solution in something like WPEngine you literally just worry about the wp-content folder and thats it - but it comes at a cost and a cost I'm not willing to pay for a personal site that is updated once every few months and visited even less! I ended up moving from wordpress to static (eleventy) on netlify and now I'm looking to go back to wordpress! I tried the blogging from markdown files on my phone/tablet but I miss a good old (non gutenberg) CMS! (plus shortcodes are super handy and theres plugins and code for everything!)
- indrora 5y agoI personally use Hugo + GitHub actions to do the build for a major project of mine that benefits from hugo's taxonomy system. I did this after porting my blog over to Hugo as well. I personally have avoided Jekyll for the primary reason of "Ruby is a non-starter". Downside to Hugo is that the Go templating language is... interesting, to say the least.
- dinamic 5y agoYou can use GitHub pages with Jekyll. Easy to setup and run, there are a lot of custom Jekyll blog themes available online. Custom domain with private repo costs few dollars per month.
- parsimo2010 5y agoSeconded. OP, this is the way to do it unless you want to build your own thing. Setting up a custom domain is easy and GitHub has a guide. You can use a public repo if you don’t have GitHub premium. The website is public anyway so there isn’t much reason you would need to keep the markdown files private. Backups are easy, you’ll have a local copy of the repo and an online copy with a fairly reliable provider.
- MrDresden 5y agoStatic site using either Jekyll or Hugo (having tried both over years I'd recommend Hugo) and deploy to github/gitlab pages with custom domain.
- surfer7837 5y agoI made a minimal Jekyll theme. No advanced CSS or extra JS, and super light weight so any page loads quickly https://github.com/lewisrobbins/sebasic https://github.com/lewisrobbins/sebasic
- feffe 5y agoI wrote my own a while back. https://github.com/johan-bolmsjo/blog_of_markdown https://github.com/johan-bolmsjo/blog_of_markdown It's built using make, small bash scripts and two Go support programs. I think there are tons of similar generators out there as writing one is pretty easy. Probably more sensible to look into using something like Hugo. For me it was easier to write the minimal generator than figuring out how to configure Hugo as I like it.
- sircastor 5y agoI have tried to travel tot’s road a number of times, and I am a WordPress user too. I’ve given up and stick with WP. I find it reliable. I have of course added cache plugins and contemplated using a static plugin to output to straight html. I’m curious what kind of bugs you’re running into with Wordpress? I wish you luck. Lots of pile have had success with Jekyll. I was leaning towards Pelican or Hugo.
- yogsototh 5y agoI use a single Makefile with pandoc. https://her.esy.fun/posts/0018-makefile-as-static-site-builder-follow-up/index.html https://her.esy.fun/posts/0018-makefile-as-static-site-build... I use org-mode instead of markdown. But this system is agnostic of your source. Low maintenance, and will probably still work in a long time in the future. The most fragile part of it is pandoc, which I think will be retro compatible for a long time.
- jonpalmisc 5y agoMy site [0] uses Jekyll. Jekyll it stable, mature, and easy to work with. It has solutions to common needs, e.g. layouts, components, Markdown. I’d suggest starting with the barebones option and making a theme yourself if you’re comfortable with CSS; it will yield a lighter site and also be easier to maintain than using some big pre-made Jekyll theme. [0] https://jonpalmisc.com/ https://jonpalmisc.com/
- phoboslab 5y agoA while ago I published pagenode[1] which powers my own blog[2] and some of my other sites. It sits somewhere in between a CMS-"library" and a static site generator, with all content stored in markdown files. It comes in as single .php file. Note that pagenode is not a ready made blog system, but rather a library to build a blog, portfolio site or anything else that does not have user-generated content. [1] https://pagenode.org https://pagenode.org [2] https://phoboslab.org https://phoboslab.org
- louiechristie 5y agoUse Alexandra Spalato‘s (@alexadark) Free Gatsby WordPress theme. See this 1 hour tutorial video: https://www.learnwithjason.dev/gatsby-wordpress-themes https://www.learnwithjason.dev/gatsby-wordpress-themes
- foxhop 5y ago
- dorwi 5y agoIf your goal is to just put something out there, and not worry much about anything or learning fancy stuff, I suggest Hugo+Github+Netlify. Easy to set up, tons of blog posts out there, and all the goodies (CI, SSL, basic theme) come free. Mine is created like that as well: dorwi.com
- kotnik 5y agoA while ago I saw Linux kernel people[0] using Writefreely[1] so I tried it and I've been using it ever since. It's a bit clunky, initial Docker based deployment is not straightforward, but I like it. It's using Markdown, supports ActivityPub out of the box, and has static blog feeling even though it's not. [0] https://people.kernel.org/ https://people.kernel.org/ [1] https://writefreely.org/ https://writefreely.org/
- jonwinstanley 5y agoDevii is an interesting project I contributed to after looking for a solution to the exact same problem a while back. The owner of the repo seems like a great person and is open for contributions if you want to get involved. https://devii.dev/ https://devii.dev/ It's based on Next.js, so React/TypeScript, your blog posts are in Markdown and it generates an RSS feed of your posts. Could be a way to get off the ground quickly?
- d82nsjk9 5y agoThe browser is very forgiving at parsing HTML. If you want you can write reaaaally minimal "markdown-like" HTML. Writing a blog post can be as simple as $ vim hello.html <link rel="stylesheet" href="sakura.css"> <h1>Hello World <p>Lorem ipsum
- peter_retief 5y agoI have started using vite, quick example of what I built - this is really just a document site but uses markdown and can be far more complex if needed - it is static though https://pioneer.mymailbox.site/ https://pioneer.mymailbox.site/ Link to vite https://vitepress.vuejs.org/ https://vitepress.vuejs.org/ The deployment can be as simple as one command, in my case npm run docs:build && scp -r docs/.vitepress/dist/* dev://var/www/pioneer.mymailbox.site/web
- beshrkayali 5y agoI used multiple static site generators and in 2021 I stumbled upon Zola [1] (written in Rust) and it worked really nicely. One neat little feature I like is that you could have the theme separated or as part of your site. For the theme I made a very simple html template that relies on default browser styling as much as possible. Feel free to check it out [2] 1: https://www.getzola.org/ https://www.getzola.org/ 2: https://log.beshr.com/thelog/ https://log.beshr.com/thelog/
- asicsp 5y agoI use Zola as well, but used an existing theme. The best I like is the single binary (which I can keep using without having to worry about future changes). And it builds fast.
- southerntofu 5y agoI've written my own theme for getzola.org SSG based on water.css. It doesn't have all the widgets you can think of (though it could be extended easily), but it's got fair documentation [0] and is flexible enough to provide for my personal blog (staticadventures.netlib.re) and two collective sites (fr.tild3.org, joinjabber.org). I'm not exactly recommending to use it as i make no guarantees (yet) about keeping a proper changelog and maintaining backwards-compatibility, but if someone's feeling hacky i would certainly love for other people to try it and expand it or just give feedback. [0] https://tildegit.org/southerntofu/zola-water https://tildegit.org/southerntofu/zola-water
- cpach 5y agoI also use water.css for my blogs. Incredibly convenient.
- drakonka 5y agoI've gone through quite a few frameworks since I started blogging and have settled on Hugo, which I've been running for several years. I have the source in a private GitLab repo with a CI setup to autodeploy to an S3 bucket. Hugo isn't some super special framework with a ton of flashy features: it is simple, and it works. That makes it perfect for my use case.
- fileeditview 5y agoShameless plug incoming. A good while ago I created my own "system" Glyph: https://github.com/dbriemann/glyph https://github.com/dbriemann/glyph It's a static site generator utilizing Github issues and Github pages. If you are interested in how it works see: https://github.com/dbriemann/glyph-zero https://github.com/dbriemann/glyph-zero As an example you can see a raw blog entry here: https://github.com/dbriemann/blog/issues/7 https://github.com/dbriemann/blog/issues/7 which results in https://dbriemann.github.io/blog/7-making-a-game-with-go-and-pixel-2-procedural-content-generation-pcg.html https://dbriemann.github.io/blog/7-making-a-game-with-go-and... when "compiled". You basically write your blog posts as github issues and the tool converts them to html which is then published via Github pages. WARNING: this is not really maintained anymore because I rarely blog. Also it never had an official release .. so it is kinda experimental (but it should work, because it's simple). EDIT: I submitted this to HN when it was new: https://news.ycombinator.com/item?id=16776047 https://news.ycombinator.com/item?id=16776047
- jlelse 5y agoI can recommend my own blogging software GoBlog. Website: https://goblog.app/ https://goblog.app/ Docs (WIP): https://docs.goblog.app/ https://docs.goblog.app/
- karanbhangui 5y agoHugo + netlify
- fidla 5y agoUse startpage or linktree
- jamjamjamjamjam 5y agoHugo, no js theme, github actions publish to github pages. Completley free and is what I did. I made my own theme with html css only
- machiaweliczny 5y agoNext.js + MDX
- motyar 5y agoI am working on a simple CMS. - Double Click to edit - Press Esc to preview - You have to enter a secret code to update it on the server. - Powered by markdown. Check https://motyar.info/ https://motyar.info/
- hrishi 5y agoDepends on what functionality you'd like to add as you go. I recently built my site from scratch (with no prior experience) using NextJS, MDX and mdx-bundler [1]. Having the ability to add custom components, or statically generate a related posts matrix are all super useful. 1: https://github.com/kentcdodds/mdx-bundler https://github.com/kentcdodds/mdx-bundler https://olickel.com https://olickel.com
- taubek 5y agoDid you consider github pages (https://pages.github.com/ https://pages.github.com/)? I was looking for some hosted solutions that use Markdown and I came across https://hashnode.com/ https://hashnode.com/ but I didn't test it yet.
- no-dr-onboard 5y agoS3 has a static site hosting function. Throw your files up on a bucket via a git repo and you’re in business. Hosting+static site generation all in one. https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteHosting.html https://docs.aws.amazon.com/AmazonS3/latest/userguide/Websit...
- cpach 5y agoAWS Amplify is even better, IMO. Here’s an example how to use Amplify with Hugo: https://gohugo.io/hosting-and-deployment/hosting-on-aws-amplify/ https://gohugo.io/hosting-and-deployment/hosting-on-aws-ampl...
- idinnoaname 5y agoI feel like there are two camps of SSG’ers. One camp who chooses an SSG to offset their reliance on big tech, and the other who see big tech reliance as an acceptable means of publishing. Not sure which is right, but my personal inclination is to steer away from this reliance.
- joshcanhelp 5y agoI have found Eleventy lovely to use after being one WordPress for a decade. It can be as simple as you need it to be and grows with you. I’ve been able to accomplish everything I need with it. Currently replying from GitHub to Netlify automatically but could just as easily build locally and rsync or FTP somewhere. https://www.joshcanhelp.com/taking-wordpress-to-eleventy/ https://www.joshcanhelp.com/taking-wordpress-to-eleventy/
- oaf357 5y agoI look at it from the deployment solution backwards. I’ve run some pretty intense (for a blog) CI/CD pipelines in the past. But now there are Netlify, Vercel, and others that support a few static site generators. I use Netlify (paying customer) for all my sites now and my SSG of choice is Hugo because it is a single binary that cranks out a full blown static site in less than a second.
- hffft 5y agoUse a static site generator like Hugo and a VPS found at https://www.lowendstock.com/ https://www.lowendstock.com/... or Web3.
- taigi100 5y agoIt depends on how lightweight you want it. I'm hosting mine as an S3 static website, with CloudFront as a CDN and for the domain name linking. Works pretty well. I also have some sort of CI/CD, what I mean is that all my code is on GitHub and whenever there's new code to main, a GitHub action is fired that syncs the branch with the S3 bucket. I've even managed to remove all the JavaScript from the site :D Works neatly! Let me know if you (or anyone) wants more info ^_^ Edit: Forgot to mention, it's also almost free! I'm paying for the domain names and around 0.1$ / month to AWS.
- asdf_snar 5y agoI just wanted to give an A+ for Hugo's quickstart. This HN post was coincidentally exactly what I had been wondering about. From the wealth of replies, I narrowed down my choices to Jekyll and Hugo. Both require a little bit of work to render LaTeX, but Hugo seemed more tailored to newbies like myself. I finally got around to trying it and used Hugo's quick-start guide: https://gohugo.io/getting-started/quick-start/ https://gohugo.io/getting-started/quick-start/. I've never been able to breeze through a quick-start so seamlessly. Everything worked as advertised and with no prior knowledge I was able to see a post on my local machine in < 2 minutes. I'm amazed that the local server command `hugo server -D` works so seamlessly. I've yet to add LaTeX but the quickstart makes me very optimistic. Thanks again to the creators of Hugo for such a friendly quick-start.