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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: What's your personal website's tech stack?

15 点作者 garysahota93大约 5 年前
I want to spend some time this weekend re-doing my site (www.garysahota.com) in a platform other than Google Sites. I&#x27;m learning web dev now and would love to get your thoughts on what tech I should use!<p>My requirements:<p>- Minimal cost (free via Github Pages or the like if possible)<p>- Semi-frequent blogging<p>- Static site<p>- Mobile ready

15 条评论

activatedgeek大约 5 年前
I recently migrated away from Hugo to Gatsby because I wanted more control over the Markdown content I write. I had technical debt piling up [1] from the hacks I had in Hugo to get writing completed and wanted minimal vendor lock-in.<p>My approach was to start from bare-bones Gatsby and make incremental additions. Key pieces that help me have virtually limitless control:<p>- React: I subscribe to the philosophy of component-based systems.<p>- Remark: Plugin-based approach to extending Markdown capabilities.<p>- MDX: bring component-based systems to Markdown. opens up virtually anything possible in React to be possible in Markdown.<p>- Gatsby: Builds on top of React and a plugin-based system for extensions.<p>- Netlify: Super easy deploys.<p>Key highlight: I needed BibTeX citations in Markdown. I implemented a plugin from scratch myself (effectively amounts to manipulating the Abstract Syntax Tree given by MDX) which was fairly straightforward (<a href="https:&#x2F;&#x2F;github.com&#x2F;activatedgeek&#x2F;website&#x2F;blob&#x2F;master&#x2F;src&#x2F;plugins&#x2F;gatsby-remark-bibtex&#x2F;index.js" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;activatedgeek&#x2F;website&#x2F;blob&#x2F;master&#x2F;src&#x2F;plu...</a>).<p>Website: <a href="https:&#x2F;&#x2F;www.sanyamkapoor.com" rel="nofollow">https:&#x2F;&#x2F;www.sanyamkapoor.com</a> Source: <a href="https:&#x2F;&#x2F;github.com&#x2F;activatedgeek&#x2F;website" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;activatedgeek&#x2F;website</a><p>[1]: I had a non-elegant hack to use Distill as my theme in Hugo <a href="https:&#x2F;&#x2F;github.com&#x2F;activatedgeek&#x2F;distillpub" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;activatedgeek&#x2F;distillpub</a> and had to go through some hoops to get everything coherently working (but brittle).
xueyongg大约 5 年前
I&#x27;m using NUXT.js. Interestingly, I tried NEXT.js before and I do prefer the formal framework. It has been really easy to create your own personal blog since you can build a static site out of the framework. Super elegant! Definitely mobile friendly but that will depend on the CSS styling, which there are many templates out there.<p>Since I can create static sites from NUXT.js, I practically just need a static file server like Nginx to serve my files, and my server costs like 20bucks&#x2F;year? Can&#x27;t find anything cheaper than that.<p>Here&#x27;s my site, I also write a few learnings and findings from my journey as a Software Engineer. Hope you find something useful from here! Cheers (:<p><a href="https:&#x2F;&#x2F;blog.phuaxueyong.com" rel="nofollow">https:&#x2F;&#x2F;blog.phuaxueyong.com</a>
quickthrower2大约 5 年前
Netlify + a site generated using Metalsmith.<p>I like Metalsmith because it&#x27;s a tool, more akin to Gulp or Git that is easy to reason about, uses JS and can be used to do other things, so it seems like a longer term investment than using Jekyll or Hugo.<p>With Hugo I found if I got stuck I was really stuck. It has it&#x27;s own DSL which is bad. With Metalsmith I can hack my way around any problem with JS and write my own plugins easily if I wanted to.<p>Then I used NodeJS for some interactive bits hosted on a free EC2. That NodeJS talks to a free postgres instance for storage, and uses nginx and letsencrypt.
znpy大约 5 年前
My current blog is hosted on wordpress.com. It&#x27;s good for writing but it&#x27;s quite awful for technical writing (inserting code and such).<p>I&#x27;m in the slow process of making a new blog for technical content and notes, using org-mode + html export &#x2F; publish functionality + custom css. So far I&#x27;ve got some pleasing css, gitlab-ci and now I&#x27;m working on adding some automation and templating for pages and blog entries.<p>I&#x27;m not sure whether I want to host it directly on my own hardware or host it into something like S3 or gitlab pages.
XCSme大约 5 年前
For presentational sites, I use PHP + HTML + CSS + JS. I still use PHP because it allows for cheap hosting, easy templating (can import files in other files), no compilation step, files can be edited directly on the server if necessarily and I can add at any point any extra functionality that even requires server-side processing or a database. I add CloudFlare on top with &quot;cache everything&quot; cache level, so the site is fast and server usage low.
评论 #23098649 未加载
KhoomeiK大约 5 年前
I&#x27;m just using Firebase + React, but it could&#x27;ve as easily been done in vanilla HTML&#x2F;CSS&#x2F;JS or jQuery. I built it in React partly just as practice. Firebase is great though because it provides free hosting and allows me to do analytics (although I haven&#x27;t done much of that yet).
lukaszkups大约 5 年前
I use my very own static site generator (which I&#x27;m constantly working&#x2F;upgrading to make it usable for public audience): <a href="https:&#x2F;&#x2F;lukaszkups.net" rel="nofollow">https:&#x2F;&#x2F;lukaszkups.net</a>
greatwhitenorth大约 5 年前
I&#x27;m currently building one using Next JS. It&#x27;s simple and easy. You got to write CSS to make it responsive. You can finish the Next JS docs in an hour if you already know a bit of React.
dpeck大约 5 年前
Terraform, Hugo, S3, Cloudfront.<p>It’s low maintenance, cheap, and simple. No “moving parts”, and on the off chance I ever put anything up that gets attention from HN or bigger sites it will easily handle.
nip大约 5 年前
- NEXT.js<p>- Hosted on a 5€ DigitalOcean droplet (alongside 3 other projects)<p>- Deployed via a one-liner script (ie not automatic but really easy)
potta_coffee大约 5 年前
Netlify + vanilla html &#x2F; css &#x2F; js. It&#x27;s free, easy deploy with a push to gitlab.
totony大约 5 年前
PHP&#x2F;CSS&#x2F;HTML<p>I just have php files in which i put everything, then use make to build a static version
ganadiniakshay大约 5 年前
I setup a simple static + blogging site using Ghost. Used docker to run it on a Ec2 instance.
ijustwanttovote大约 5 年前
- Linode - Ghost CMS - Cloudflare
lemoncurd大约 5 年前
github pages and only html, no css or js