Skip to content

Comment on Poll: What's your favorite static site generator?

Comments

bash and wget.

Simple example:

    for f in `ls *.php`; do  wget http://myexample.com/$f -O $f.html; done;
    rename 's/\.php\.html/.html/' *
    sed -i 's/\.php/.html/g' *.html

Bash, markdown and hope.

Sample...

http://sohcahtoa.org.uk/pages/publish-a-web-site-with-bash-s...

it is horrid, but it works for me.

Seriously, how about a voting option for something like 'homebrew'?

Kinda.

When I need a 'static' site I just use whichever CMS/framework is best and wget --mirror the output.

That sounds horrible. All of the added complexity of a heavyweight framework without any of the advantages. Most frameworks have an option to cache the output if you want to go that route, then you'll get the performance of a static site without losing the flexibility.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.