3 ms·
I just finished setting up my personal site with Hugo+S3+Lambda yesterday. Lambda runs Hugo when the S3 bucket detects a file change, takes about 5000 ms per bl
by alasano 10y ago
I just finished setting up my personal site with Hugo+S3+Lambda yesterday. Lambda runs Hugo when the S3 bucket detects a file change, takes about 5000 ms per blog post which is fractions of a penny.
Although this adds a bit of complexity compared to Disqus it sounds like a fun solution to implement, potentially with the addition of a way to moderate comments.
- jimpick 10y agoA future project for me is to see if I can render the comments out to a string at the moment when Hugo is rebuilding my blog. Then the comments would be in the DOM before the JavaScript is even loaded. I've done that with React apps before - it works great. If that was working, I could rebuild the blog after every comment even, using a system like yours.
- alasano 10y agoI think the serverless(ish) space is headed in an exciting direction overall, especially if we can drastically reduce wasted compute time. I'm watching your repo and hopefully will get inspired! Thanks for the reply Jim
- biokoda 10y agoI hate disqus for having no search option. You see traffic coming from them and there is no way to figure out where those comments are. Any information written in disqus comments is only slightly more accessible than the dark web.
- dexterdog 10y agoPlus the whole tracking issue. I assume most people with privacy blockers are blocking disqus anyway.
- james-skemp 10y agoDid you follow a tutorial by chance? Moved one of my sites over to GitHub and Hugo recently and the ease of Hugo has made me seriously consider moving as much as I can of my other stuff.