TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

How I Built My Blog

62 点作者 soheilpro8 个月前

18 条评论

pxtail8 个月前
For homepage I got frozen page and: page is not responsive / page is slowing down browser message from both Firefox and Chrome - I guess all that cutting-edge tech for displaying the blog really loves giving my CPU a workout.
评论 #41646598 未加载
评论 #41653098 未加载
dzonga8 个月前
this is the self-destructive behaviour that&#x27;s prevalent in the JS ecosystem.<p>say a newbie wants to develop a website or web app and they run into this. The amount of tools listed is overwhelming, even for me who&#x27;s been doing JS for over 7 years.<p>and the sad thing is JS can be pretty productive, without the merchants of complexity shilling their tools.<p>Express.js v5 just got released. Thanks doug &amp; other maintainers. Yet the API has been stable for over 10 years. Vue.js even with the new composition Api - the api has been stable for a long time. &amp; other useful node libraries like &#x27;pg&#x27; etc.<p>The only recent useful thing is tailwind.<p>Next.js &#x2F; Nest.js etc are all complex tools that are completely unnecessary and shilled by dev-tools companies
评论 #41647044 未加载
评论 #41649238 未加载
评论 #41647597 未加载
blenderob8 个月前
I appreciate the author sharing technical details about how they build their blog. I do.<p>However I&#x27;d like ask the HN community here to share some examples of really simple blogs? Those that do not take building Rube Goldberg machines to publish the blogs. Perhaps those where the posts are just simple HTMLs. I&#x27;ll take slapping a header and footer with some scripting or SSIs. But that&#x27;s about it. Do you know any such simple examples of blogs? I think such blogs are under-appreciated and should be highlighted more often on HN.
评论 #41646843 未加载
评论 #41647391 未加载
评论 #41647523 未加载
评论 #41647875 未加载
评论 #41647208 未加载
评论 #41646731 未加载
keybits8 个月前
&gt; Over the years, my blog has become a surprisingly complex application. It’s over 100,000 lines of code, not counting the content.<p>When I read this my reaction was &quot;that&#x27;s ridiculous!&quot; But the author is a skilled and experienced web developer. The rich educational interactivity on their site shows that achieving that level of presentational finesse doesn&#x27;t come easily.
评论 #41646333 未加载
评论 #41646224 未加载
评论 #41646501 未加载
评论 #41646631 未加载
alin238 个月前
Something in the runtime JS is really slowing down the page.<p>Here&#x27;s a demo video with scrolling after the page has loaded (really choppy) and scrolling after stopping the JS with Firefox&#x27;s slow-script-detection-thingy (smooth): <a href="https:&#x2F;&#x2F;files.alinpanaitiu.com&#x2F;joshwcomeau-slow-scroll_2.mp4" rel="nofollow">https:&#x2F;&#x2F;files.alinpanaitiu.com&#x2F;joshwcomeau-slow-scroll_2.mp4</a><p>The code seems to enter a tight loop here whenever I&#x27;m scrolling: <a href="https:&#x2F;&#x2F;files.alinpanaitiu.com&#x2F;joshwcomeau-debug-script.png" rel="nofollow">https:&#x2F;&#x2F;files.alinpanaitiu.com&#x2F;joshwcomeau-debug-script.png</a>
michaelfm12118 个月前
No one needs 100,000 LOC for a blog. A while back I wrote a blog generator for myself that took one markdown file per post and a template and turned it into a directory of static HTML files. The whole thing is 46 lines of shell script. The only dependency is a markdown parser.
评论 #41647506 未加载
todotask8 个月前
I wanted to say, the OP home page hang my Firefox browser, probably due to issues with JavaScript regexp or React code.
indigodaddy8 个月前
Slow as molasses on my extremely aging iPhone 7, but I guess that’s to be expected
评论 #41646538 未加载
jrhey8 个月前
Scrolling down from the top of homepage is pretty choppy on my M3 Max in Safari
paranoidxprod8 个月前
Josh has some really cool content on his site. The demos inlined within his posts are always top notch. His flexbox&#x2F;grid articles are the most intuitive explanations of those layouts I&#x27;ve seen.
bestest8 个月前
Josh really does have a lot of nice and shiny stuff. But Josh should also learn to optimise. Downloading 7MB of stuff for minimally interactive above-the-fold content is overkill.
mazzystar8 个月前
Keep blog simple will make it&#x27;s easier to generate raw idea.<p>I just made a new opensource project named TinyMind: <a href="https:&#x2F;&#x2F;github.com&#x2F;mazzzystar&#x2F;tinymind">https:&#x2F;&#x2F;github.com&#x2F;mazzzystar&#x2F;tinymind</a><p>Which allows you to create your blog page in 1 minutes and share to anyone.<p>It&#x27;s non-profitable, just for hobby and helping most people who don&#x27;t want stuck in Hexo&#x2F;Hugo or code.
meiraleal8 个月前
I&#x27;m going to follow this thread just to know how successful &quot;I built my own blog&quot; posts still do in HN. I expect it to not attract that much attention anymore?
评论 #41647445 未加载
ClaraForm8 个月前
Crashed on scrolling for me on latest Librewolf stable&#x2F;Fedora 40. I usually love Josh&#x27;s work, but this isn&#x27;t it.
koririn8 个月前
This was a lovely blogpost. I think as software engineers we&#x27;ve lost a lot of the enthusiasm that used to be prevalent amongst the profession 5-10 years back. He mentions it himself you don&#x27;t necessarily need all of this for a blog. I still enjoyed the tour. It&#x27;s a nice blog and his content is usually well written and easy to follow.
ploum8 个月前
When I read the blog was 10.000 lines of code and there was a long list of busswordesques technologies implied, I thought this was a parody.<p>Reading that it crashes or eat the CPU for some people, I still believe it somewhat is. It also displays very badly on my own Firefox (with very recent computer).<p>And I could not find a list of all posts.<p>I mean… My own blog is a 500 lines python script without any external dependency. It has 42 lines of CSS. And it is all contained, content included, in one git repository. It has a list of all the blog posts you can quickly scroll through. It displays the same on every single computer&#x2F;browser&#x2F;smartphone, even very slow connection on old hardware. (sources are here : <a href="https:&#x2F;&#x2F;sr.ht&#x2F;~lioploum&#x2F;ploum.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;sr.ht&#x2F;~lioploum&#x2F;ploum.net&#x2F;</a> )<p>But I’m not an experienced web dev.
thomas_moon8 个月前
I find this post a bit misleading. It seems like he didn&#x27;t build a blog. He built a website with real requirements, then added a blog to it.<p>The title* feels a bit rage baity to be honest.
ploum8 个月前
That guys made it to the top of the Bell Curve…<p><a href="https:&#x2F;&#x2F;mamot.fr&#x2F;@ploum&#x2F;113044736819173509" rel="nofollow">https:&#x2F;&#x2F;mamot.fr&#x2F;@ploum&#x2F;113044736819173509</a>