Live data from Hacker News

Show HN: Makesite – A static site generator in 125 lines of Python

github.com

61–63 of 63 posts

Re: Show HN: Makesite – A static site generator in 125 lines of Python

#61

Hugo is still most convenient, at least for me and my workflow. I just pull it with homebrew, created my theme/template, write blogposts in Emacs org-mode (using ox-hugo), host it on GH pages for free, and use custom domain and free tier cloudflare. I am really enjoying bare essentials I got, very streamlined process that does the job for me. This looks interesting, I really like minimalist aspects of software, but w…

Alright - I like your website layout: https://defphil.com/ But to be fair, some people may want different features than the bare minimum. Also, even if Hugo is the most convenient as an org-mode user, I highly doubt it'd be the most convenient for others (who don't use org-mode lol). Also, you should write more posts!

I still haven’t wrote any posts, I just finished website few days ago. But thanks for stopping by. :)

Re: Show HN: Makesite – A static site generator in 125 lines of Python

#62
post #9

Earlier quoted context omitted.

Another free solution that may involve even less setup is Netlify's free tier, which includes 1-click HTTPS setup on a custom domain and reruns Hugo every time you push to the repo.

Moi? I love the idea of minimal. KISS is a wonderful thing. That said, anything more and a handful of pages (and especially something blog-y) needs search. Else the UX could take on too much friction. A couple weeks ago I saw something about a tool Facebook OS'ed for doing project documentation. I believe that was static and had search. I think. Unfortunately, I didn't go so far as to see if you could fake a (not for…

I'm not very (I mean, at all) conversant with Javascript. So stuff like Gulp, Grunt, etc is outside my comfort zone. But one fine day, someone posts step-by-step tutorial[1] on how to set up static site search using Fuse.js on Hugo sites without Gulp, Grunt, etc., and I am finally able to set up search[2] on my Hugo generated blog in no time.

[1]: https://discourse.gohugo.io/t/site-search-implemented-using-... [2]: https://scripter.co/search/

Re: Show HN: Makesite – A static site generator in 125 lines of Python

#63
post #46

Earlier quoted context omitted.

Do you have an good example for this, yours or someone else's? I've never thought of that as a learning-a-language project.

Conveniently there seems to be a dozen or more static site generators written for every popular language, often with varying levels of complexity to learn from. For example, Go: https://gohugo.io/ List: https://github.com/myles/awesome-static-generators

Additional resource: https://www.staticgen.com/
Post reply on HN