TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Stasis, a simple static site generator with deployment to S3/CloudFront

49 pointsby czepover 4 years ago

6 comments

mekkkkkkover 4 years ago
So it&#x27;s Jekyll, but in Python, with the added benefit of... what exactly? Deploying on a CDN is a one line shell script. Maybe I&#x27;m missing something.<p>There seems to be a lot of static site generators being advertised nowadays. Is it because none of the big ones are feature complete? Or is it just a fun&#x2F;easy thing to do as a hobby project?
评论 #25604404 未加载
评论 #25604637 未加载
评论 #25606424 未加载
评论 #25605284 未加载
评论 #25605693 未加载
dceddiaover 4 years ago
The linked blog post was a good read about why the author went down this path, goals of the project, and some technical challenges along the way: <a href="https:&#x2F;&#x2F;czep.net&#x2F;20&#x2F;stasis.html" rel="nofollow">https:&#x2F;&#x2F;czep.net&#x2F;20&#x2F;stasis.html</a><p>As someone with a Jekyll blog who&#x27;s considered changing SSG&#x27;s a few times in the past, this was interesting to read. I could see myself going down a similar path.<p>Gatsby adds a lot of complexity that IMO isn&#x27;t a big benefit for a simple blog, and when I tried migrating my site to it, a lot of existing posts were broken in weird ways.<p>Eleventy is &quot;Jekyll but in JavaScript&quot; and way closer to what I want, but its flavor of Liquid is just <i>slightly</i> different from Jekyll&#x27;s to the point where I would have to update a bunch of posts, plus there&#x27;s no incremental build yet.<p>So I&#x27;m still sticking with Jekyll for now. Maybe one day I&#x27;ll break down and build my own SSG like the author...
评论 #25604535 未加载
评论 #25604647 未加载
评论 #25604739 未加载
freedombenover 4 years ago
I built something like this for one of my sites and ended up deeply regretting it when my hosting for the month hit $100 (due to bandwidth&#x2F;data fees).<p>I now pay $5 a month with nginx on Linode&#x2F;Cloudflare. If you pay for this out of your own pocket and your site doesn&#x27;t make any money, consider bandwidth&#x2F;data costs first.
评论 #25606274 未加载
评论 #25604080 未加载
评论 #25605258 未加载
alex-wallishover 4 years ago
This is pretty cool. Reminds me a bit of Cactus which hasn&#x27;t been updated in 3 years. Is there any support pretty urls?
icyover 4 years ago
I&#x27;m not sure how I feel about shelling out to pandoc when they could&#x27;ve used something like mistletoe. And pushing to a CDN needn&#x27;t be a part of the tool.<p>I too recently (re)wrote my SSG, in Go: <a href="https:&#x2F;&#x2F;github.com&#x2F;icyphox&#x2F;go-vite" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;icyphox&#x2F;go-vite</a>, ditching my old Python one.
rualcaover 4 years ago
I don&#x27;t understand the point of this project. S3 and cloudfront is already designed to deploy static sites. I mean, one of the basic S3 tutorials is to show how to deploy a pure HTML+CSS site on S3. Hell, there is even a myriad of tutorials showing how to deploy React and Angular apps to S3. All it takes is to copy the artifacts to the bucket.