9

I'm currently building a static website template and I need a site generator to generate the templates HTML files (I don't want to copy and paste the common parts but rather have them only at one place)

Is there a good static website generator for Windows / .NET developers? (analog to Pelican, Jekyll, etc.)

I've found Pretzel by Code52 but the Github page seems rather abandoned (last change 1 year ago).

Is there any alternative for Windows? Preferably .NET based and using the Razor engine?

Thanks.

6 Answers 6

14

I know this is an old question, but for completeness I'll add http://wyam.io (open source - code at https://github.com/Wyamio/Wyam). It satisfies the .NET and Razor requirements (it actually uses a modified version of the Razor engine from ASP.NET v5) and is built on a modular "pipeline" concept (similar to the excellent Metalsmith JS generator).

Full disclosure - I am the developer of Wyam.

2
  • 3
    There is no problem in answering old questions, if you are going to add useful information. People stop at old answers all the time. In fact, StackOverflow is not a place to solve your problem and go away, is more like an enourmous database of tutorials on how to do small tasks or solve small problems.
    – fiatjaf
    Sep 10, 2015 at 2:09
  • 1
    Just to add an update, wyam has been archived on github and the successor is now called Statiq statiq.dev/web
    – Chris
    Apr 18, 2020 at 14:08
6

pretzel and graze are the only two I know of:

http://mikaelkoskinen.net/graze-static-site-generator-using-razor/

1
  • 1
    Thx, I ended up using Pretzel after all, since it is pretty much Jekyll for .NET and I plan to switch to Linux as a working environment. Sep 12, 2013 at 12:00
3

I'm looking at using champ for a project that has similar requirements:

https://github.com/lukevenediger/champ

3
  • No commits after April 2014 - probably discontinued
    – griti
    Apr 5, 2017 at 6:19
  • I'm not sure "discontinued" is the right word (e.g. as used to describe the problem with mixture.io). It's open source; the code's still available and someone could always fork it.
    – hillsy
    Apr 5, 2017 at 9:42
  • I agree, its not maintained by the original author, there is a fork with some changes: github.com/tysonmatanich/champ
    – griti
    Apr 5, 2017 at 13:06
3

Haven't tried it, but Mixture seems the best one for me.

UPDATE: Mixture is now discontinued.

5
  • This seems to be discontinued now.
    – Animesh
    Jul 9, 2015 at 18:10
  • Yes. What should I do? Delete the answer?
    – fiatjaf
    Jul 9, 2015 at 20:08
  • Nope, the edit is fine. I was on the lookout for one last night and going through all the links and mixture seemed great from what I learnt about it. Sad it's not there any more. In such cases, I feel it would help to notify the future users/lurkers.
    – Animesh
    Jul 10, 2015 at 18:33
  • Thank you for telling me and everybody, Nanda. You could have edited my answer yourself, I wouldn't be offended by it.
    – fiatjaf
    Jul 10, 2015 at 18:35
  • It's unfortunate they closed the project and didn't choose to open source it near the end.
    – John K
    Sep 9, 2015 at 19:58
1

Yet another static site generator can be found here: http://www.hilbert.dk/thomas/pub/dev/StaticSiteGenerator/

Code located here: https://bitbucket.org/hilbert/staticsitegenerator/

0

Take a look at Lektor: https://www.getlektor.com

Web based gui like WordPress to write content. Good to setup for someone who is not a developer but enough customizability under the hood for a developer to configure

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.