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.

Open-Source Static Site Generators

97 pointsby hihatalmost 11 years ago

21 comments

rogerbinnsalmost 11 years ago
I use Nikola. On the tech side the developer decided to model it as a series of tasks such as render photos, render posts, build rss etc. Those tasks are also implemented to run incrementally. For example if you add a new post then only that new post gets rendered to the output directory.<p>While this sounds fine in principle, it soon gets messy. A configuration change may require everything to be rebuilt. But if you rename or delete a source file it didn&#x27;t track how that ended up in the output directory so you end up with a slow accumulation of crud. It turns out to be fairly easy to confuse all the incremental logic and end up with messy builds. Add poor decisions like using the datestamp of items in the output directory to build the sitemap (they don&#x27;t set output directory datestamp to that of the input items) and you get important failings.<p>In my opinion, incremental builds should give the same results as full clean builds or you have a fragile non-repeatable build - something that is very undesirable. I wrote a bit more at <a href="http://www.rogerbinns.com/blog/on-nikola.html" rel="nofollow">http:&#x2F;&#x2F;www.rogerbinns.com&#x2F;blog&#x2F;on-nikola.html</a>
评论 #7778908 未加载
评论 #7780811 未加载
TillEalmost 11 years ago
It would be nice to have a more detailed feature comparison to get some idea of why I should choose one over the other.<p>I&#x27;m currently trying out Pelican just because I&#x27;m comfortable with Python and Jinja2 already, but I really have no idea if it&#x27;s actually the best choice for the kind of site I&#x27;m trying to build.
nnessalmost 11 years ago
I&#x27;ve been involved in some incredibly large front-end development projects and Middleman was core to our FED workflow. Its a fantastic tool.
评论 #7778614 未加载
评论 #7778271 未加载
synternalmost 11 years ago
Is there a static site generator with support for multiple authors and multiple languages?<p>e.g. with archive pages like &#x2F;&lt;author&gt;&#x2F;&lt;lang&gt;&#x2F;&lt;yyyy&gt;&#x2F;&lt;mm&gt;&#x2F; and category pages like &#x2F;&lt;lang&gt;&#x2F;&lt;cat&gt;&#x2F;&lt;subcat&gt;&#x2F;<p>I fail to see any. I&#x27;ve tried to configure many of the available generators, but no one seem to have the same itch I have.
评论 #7780462 未加载
评论 #7780014 未加载
评论 #7779217 未加载
评论 #7786235 未加载
评论 #7782369 未加载
frikalmost 11 years ago
In 2004, RosCMS was one of the first open source static site generators with an web CMS.<p>The ReactOS.org website survived several Slashdot effects with a 500 MHz web server, back 2005 til 2013 (though old server was replaced in ~2007). The website has been translated into more than 27 languages.<p><a href="http://old.reactos.org/en/roscms.html" rel="nofollow">http:&#x2F;&#x2F;old.reactos.org&#x2F;en&#x2F;roscms.html</a><p>Screenshots &amp; video tutorials: <a href="http://old.reactos.org/en/tutorial_roscms.html" rel="nofollow">http:&#x2F;&#x2F;old.reactos.org&#x2F;en&#x2F;tutorial_roscms.html</a><p>Source: <a href="http://svn.reactos.org/svn/web/tags/RosCMS-3_LastVersion/web/" rel="nofollow">http:&#x2F;&#x2F;svn.reactos.org&#x2F;svn&#x2F;web&#x2F;tags&#x2F;RosCMS-3_LastVersion&#x2F;web...</a> (2009)<p>RosCMS interface was one of the first AJAX websites back in 2005 - back then GMail still used hidden iFrames to emulate AJAX.<p>(historical information)
currysausagealmost 11 years ago
Seriously, who came up with the idea that you should have to scroll down at least one full screen page in order to see just the tiniest bit of actual content?<p>On the home page - okay, if you need to do so. But why, just <i>why</i> on content subpages? Do you really believe that your purple banner with Roboto is <i>that</i> incredibly beautiful that I want to just stare at it for a minute before scrolling down to the meat, each single time that I click on a link?<p>&quot;The computer industry is the only industry that&#x27;s more fashion-driven than women&#x27;s fashion.&quot; Damn, Ellison was so right about that.<p>Don&#x27;t get me wrong, I am actually a typographer, and I am the last person on earth who wouldn&#x27;t value appropriate white space. But ... seriously, find the right balance!
tekahsalmost 11 years ago
What&#x27;s the difference with <a href="http://staticsitegenerators.net" rel="nofollow">http:&#x2F;&#x2F;staticsitegenerators.net</a> ? Why another one ?
评论 #7778597 未加载
评论 #7778741 未加载
评论 #7778577 未加载
itchyouchalmost 11 years ago
It&#x27;s kind of a relief to see this. At my work, I don&#x27;t have html files to build, but thousands of config files to build and the solution has been a home grown configuration generator. For us, cluster configuration is a simple binary blob + config, so it&#x27;s a relief to see that the path I&#x27;ve gone down doesn&#x27;t appear to be too crazy.
Arkadiralmost 11 years ago
&quot;... on GitHub.&quot;
yaddayaddaalmost 11 years ago
Metalsmith (metalsmith.io) actually uses consolidate.js as a template manager. consolidate.js supports 24 separate template engines (<a href="https://github.com/visionmedia/consolidate.js" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;visionmedia&#x2F;consolidate.js</a>). So Metalsmith&#x27;s &quot;templates&quot; entry that only lists &quot;Handlebars&quot; is extremely misleading.<p>I suspect there are other generators on staticgen.com that also use consolidate.js and suffer the same misrepresentation. (I just don&#x27;t know the other generators well enough to know off the top of my head which ones use consolidate.js.)<p>Of course, an error such as this makes me doubt all the other information presented on staticgen.com
评论 #7778888 未加载
vram22almost 11 years ago
PySiteCreator is a small tool I wrote a while ago. It lets you create a web site by writing it in Python.<p>It&#x27;s not meant to be a full-fledged static site generator, and has only a few features. I first wrote it as a tool to create wikis programmatically (and hence called it DSLWiki), but then realized that it can be used to create general web sites, so renamed it to PySiteCreator.<p>Blog post about it:<p><a href="http://jugad2.blogspot.in/2009/11/early-release-of-pysitecreator-v01.html" rel="nofollow">http:&#x2F;&#x2F;jugad2.blogspot.in&#x2F;2009&#x2F;11&#x2F;early-release-of-pysitecre...</a><p>PySiteCreator on Bitbucket:<p><a href="https://bitbucket.org/vasudevram/pysitecreator" rel="nofollow">https:&#x2F;&#x2F;bitbucket.org&#x2F;vasudevram&#x2F;pysitecreator</a>
erikanoalmost 11 years ago
I noticed the list didn&#x27;t include any static site generators written in PHP, so I googled and found a couple:<p>* <a href="https://sculpin.io/" rel="nofollow">https:&#x2F;&#x2F;sculpin.io&#x2F;</a><p>* <a href="http://phrozn.info/" rel="nofollow">http:&#x2F;&#x2F;phrozn.info&#x2F;</a>
dstrootalmost 11 years ago
Octopress is a &quot;built out&quot; blogging example built on top of Jekyll. Showing Jekyll (a static site generator) and Octopress (a good example of how to build stuff on top of Jekyll) is a little misleading&#x2F;confusing.<p>Splitting hairs maybe...
rwhitmanalmost 11 years ago
I&#x27;ve found a lot of these tend to be blog-centric, which seems odd to me considering the primary use case I&#x27;ve found with static site generators (Punch in my case) has been creating one-off content sites for clients in scenarios where we don&#x27;t need a CMS. Folks seem to be really fixated on building these as blog engines, which I find baffling
评论 #7781414 未加载
rsalmost 11 years ago
Using Pelican for almost everything under <a href="http://exentriquesolutions.com" rel="nofollow">http:&#x2F;&#x2F;exentriquesolutions.com</a> - have tried Jekyll, but somehow Pelican seems much more pluggable.<p>Can&#x27;t recommend Pelican enough - if you&#x27;re still looking for one, do give Pelican a try: theme support, Jinja templating, plugins and much more.
josephlordalmost 11 years ago
As I was doing some Rails work anyway I used Rails plus a little bash script and wget to crawl the site which I then deploy. It has it&#x27;s limitations but I was able to get it all built quite quickly and didn&#x27;t need to learn any new syntax (I&#x27;ve got the hang of Markdown since so I might do it differently if I did it again).
Toddalmost 11 years ago
I don&#x27;t see any option for C# site generators. Maybe they don&#x27;t make it into the Top N.<p>(Disclaimer: I&#x27;m biased, I wrote one).
评论 #7779254 未加载
评论 #7779517 未加载
robobroalmost 11 years ago
I recommend Blosxom whole-heartedly.
cheshire137almost 11 years ago
I told my friend he should list his, Zodiac, on there. <a href="https://github.com/nuex/zodiac" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;nuex&#x2F;zodiac</a>
pnathanalmost 11 years ago
Heh, I was working on a SSG early last summer for my own stuff in Common Lisp. It&#x27;s easy to make a bad and overcomplicated one. I know - I did it. :)
cauterizealmost 11 years ago
I love this. However, it would be interesting to see if you could add other metrics, age of repository, average mailing list posts per week, etc.